Altera_Forum
Honored Contributor
11 years agoif
pressBoth : process(b0,b1)
variable resetslv: std_logic_vector(3 downto 0); begin if ((b0 ="0000") and (b1 ="0000")) then <<<<* This is line 85* counter0 <='0'; counter1 <='0'; end if; resetslv := std_logic_vector(counter1 and counter0); sseg2 <= ssegCode(resetslv); end process; Im getting the error : Error (10327): VHDL error at buttons.vhd(85): can't determine definition of operator ""="" -- found 0 possible definitions i basically want to press two buttons b0 and b1 and when they are both pressed for the counters to be reset back to 0, i already have each button incrementing seperately. Not sure what's going on here .. Any help appreciated.