Altera_Forum
Honored Contributor
10 years agoProcess Statement must contain only one Wait Statement : More WAIT
Hi,
I try to use a code but there are more WAIT. How can i change it ???? I change "wait until" to wait until Clk'event ????
StartTx <= '0';
DataToTx_M <= "0101010101010101";
DataToTx_S <= "1010101010101010";
--wait until Clk = '1';
wait until Clk'event and Clk='1';
reset <= '0';
--wait until Clk = '1';
wait until Clk'event and Clk='1';
StartTx <= '1';
wait until Clk = '1';
StartTx <= '0';
The error is Error (10398): VHDL Process Statement error at simpleSPI_M_S_tb.vhd(100): Process Statement must contain only one Wait Statement Thanks for your help Jennifer