IMO, . , . , :
`timescale 1ns / 1ns
real period;
reg clk;
initial begin
period = 5.0;
clk = 1'b0;
forever begin
end
end
period, , period 0.0.
, period / 2 . , period = 1.0, period / 2 0,5, 1ns, 0, . , , ( , ...).
...
half_period_ns = period_ns / 2.0;
if( half_period_ns == 0 )
half_period_ns = 1;
...
- Ctrl-C, , , ( , , Incisive it where, ), . , , .