Altera_Forum
Honored Contributor
13 years agoThe wait function
Hello, I was wondering, can I use the wait function in Verilog? It seems like it simply doesn't work My syntax is wait (event) begin ... end Thanks a lot
Be careful with
always wait(for_expression_to_be_true) begin ... end You will get a simulation hang once for_expression_to_be_true becomes true, unless the code inside the begin/end does something to make for_expression_to_be_true become false.