L
[LinuxFc4]GaLaKtIkUs
Guest
Hi!
can some one give me a clear explanation of the wait statement.
Why trying to execute an instance of this module is wrong ? the
simulator stops at the first positive clock edge.
module level_sens_latch (q, d, clock);
output reg q;
input d,clock;
always wait (clock) q = d;
endmodule // level_sens_latch
Thanks for help.
can some one give me a clear explanation of the wait statement.
Why trying to execute an instance of this module is wrong ? the
simulator stops at the first positive clock edge.
module level_sens_latch (q, d, clock);
output reg q;
input d,clock;
always wait (clock) q = d;
endmodule // level_sens_latch
Thanks for help.