Forum Discussion
Altera_Forum
Honored Contributor
17 years agoProcess Wait Statement
Please help me!!! I use Process Statement for my project, but have error: In Process Statement, we just have only one Wait untill??? It is wrong or right??? please help me. Thanhks a lot. pro...
Altera_Forum
Honored Contributor
17 years agoThis is the difference between synthesisable code and compilable behavioural code.
The code you have posted is perfectly legal VHDL and should compile in a simulator fine. You could, for example, use this in a testbench. However, synthesisable code is a much smaller subset of the VHDL language and includes only code that corresponds exactly to gates and registers. Your book isn't necessarily giving you code that is synthesisable! Quartus is giving an error because it is trying to synthesise your code. This site is a good introduction to VHDL: http://www.doulos.com/knowhow/vhdl_designers_guide/