--- Quote Start ---
Hello sir
I have aproblem when i tested (the both two codes)
--- Quote End ---
Are we supposed to guess correctly about what 'both two codes' is supposed to be referring to?
--- Quote Start ---
by run analysis &elaboration process's i recieved : ( Process Statement must contain only one Wait Statement) ,also i modified the code but with each run i got same of errors about the WAIT statement.
--- Quote End ---
Since it is totally unclear what code you're talking about but this thread is about your testbench, then I'm guessing that you're trying to compile the testbench in Quartus...that won't work. Quartus is used to synthesize logic and produce bitstream that can be loaded into a device which then implements the logic that was described.
A testbench on the other hand is NOT supposed to be synthesized, it is not to be implemented at all, therefore you would not use Quartus with such code. A testbench is a model of the system in which your design will ultimately live. It is meant to be interpreted by a simulator (like Modelsim, Aldec, GHDL).
--- Quote Start ---
How can to test the design whith out using the WAIT case inside the code?
--- Quote End ---
See above...you use a simulator with your testbench and your design...not Quartus. But again, I'm just guessing since you're not referencing just what code it is you're getting the error.
Kevin Jennings