Altera_Forum
Honored Contributor
17 years agoVHDL IF Statement
hie all
im trying to write an If STATEMENT in VHDL but i get an error i dont understand....Please help: if( c(2 DOWNTO 0) = "0 1 0") THEN F(6 DOWNTO 0) = "0 0 0 0 0 1 1"; error i get is: Error (10500): VHDL syntax error at lab1part4.vhd(29) near text "if"; expecting "end", or "(", or an identifier ("if" is a reserved keyword), or a concurrent statement cheers