0
votes

I am new to Specman, and try to use Temporal expression for event which have to trigger every 16 cycle of specific clock.

Can I do the following

event f_clk is 6*clk?

If not , how can I do it?

1

1 Answers

1
votes

a * 16 will lead to having clk_16 emitted every cycle, starting from the 16th cycle. to avoid this behavior, you can write this:

event clk_16 is {[16] * not @clk_16} @clk;