Forum Discussion
Altera_Forum
Honored Contributor
13 years agoHow to define a variable and assign a variable
want to define and assign variable, however got error when use variable Error (10500): VHDL syntax error at LabT1.vhd(31) near text "variable"; expecting "end", or "(", or an identifier ("variable"...
Altera_Forum
Honored Contributor
13 years agoReviewing some of your posts, I get the impression that you are missing a good VHDL text book.
Various VHDL syntax errors in your text: - double begin in the architecture - declaration of regular variables outside a process or function - variable declaration without a type specification - using Verilog operators and comment syntax in VHDL - broken case construct