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.
process constant MAX:integer := 10; variable x, y1: integer; begin y1 := 0; wait until (clk'event and clk = '1'); while (y1 < MAX) loop wait until (clk'event and clk = '1'); x := y1 ; y1 := y1 + 1; end loop; end process; Error (10398): VHDL Process Statement error at ex_or.vhd(19): Process Statement must contain only one Wait Statement Error: Can't elaborate top-level user hierarchy Error: Quartus II Analysis & Synthesis was unsuccessful. 2 errors, 1 warning Error: Peak virtual memory: 176 megabytes Error: Processing ended: Mon Jan 19 21:36:24 2009 Error: Elapsed time: 00:00:02 Error: Total CPU time (on all processors): 00:00:02 Error: Quartus II Full Compilation was unsuccessful. 4 errors, 1 warning