Altera_Forum
Honored Contributor
14 years agoif statment issue
hello i am a newbie at vhdl as well as say programming. I am facing issue which is very minor for u all to decide
consider i have a std_logic_vector 35 bits long and i want to check whether its 33 and 32 bits are 00 or 01 and so on... how do i check it? like this? if (din0(33 downto 32) = "00") then bla bla bla... right? if this is so i am getting an error for that :( why so help me out guys... i kknow its pretty simple but i cant do it...