For Verilog 2005, when writing the test bench, is it possible to create a lookup table of delay values, and then assign a certain value in it to be the delay of some procedural block?
For example:
reg clk;
reg [9:0] delay [0:15]; //suppose delay[i] = 10'di;
always #delay[i]
begin
clk <= ~clk;
end
and I somehow change i to read out a certain delay value.
Moreover, is it possible to make a lookup table of delays with floating point values?