Altera_Forum
Honored Contributor
15 years agoerror:Subprogram Body cannot contain Wait Statement
Hello everyone.
I'm studying VHDL in university. I got an error when tried to write description of d-flip-flop with using procedure in QuartusII. "Error (10532): Subprogram Body cannot contain Wait Statement" I used help and found out two things: 1. VHDL is completely integrated into the Quartus II system. 2. Action to correct error - Remove the Wait Statement from the Subprogram Body, or place the Wait Statement outside the Subprogram Body. (there is link on Sections 2.2 and 8.1 of the IEEE Std 1076-1993) But in section 8.1 of IEEE Std is written "The wait statement causes the suspension of a process statement or a procedure." So I think this error conflicts with VHDL Standart. Can anyone comment this? P.S. Sorry for my english, I don't know it very well :D.