Need to Use Variable in Assertions ## Delay

In reply to ben@SystemVerilog.us:

In reply to muneebullashariff:
Parameters work because they are static after elaboration.
I am not trying to stop you from asking questions, but one good advice that was given to me was to test certain theories or problems to better understand the legality of code.
You your specific question on parameters, see my example at
Edit code - EDA Playground
Thanks for being a “fan”
:)
Ben Cohen
http://www.systemverilog.us/ ben@systemverilog.us


Hey Ben,

Many thanks for your reply. I ran the code on edaplayground and got a good feel of the problem. However, I do have a question:

In what scenarios do we need to use parameterized delays and when do we need to use this variable delay (workaround)?

Thank you,

Regards,
Muneeb Ulla Shariff