Forum Discussion
frank2597
New Contributor
3 years agoVerilog: Attempting to make a signal high for 5 clock cycles and then remain low
Hello, I am trying to make the signal called ld_tx_data_scope a value of 1 after the first 5 positive edges and remain high for 5 positive edges and then have it go low and stay low. However, simula...
- 3 years ago
Hi,
Because you haven't initialize the reg ld_tx_toggle. If you had initialized like this reg ld_tx_toggle = 1'b0; You'll get correct simulation like pic below:
Thanks,
Best regards,
Sheng
p/s: If any answer from the community or Intel Support are helpful, please feel free to give best answer.
_AK6DN_
Frequent Contributor
3 years agoIndeed. Asking your questions in this online forum ...
https://www.eevblog.com/forum/fpga/
... might get you much better results.