A
Andy Botterill
Guest
I am trying to find out what separation between two pulses causes a
circuit to fail. When I try to reduce the clock low time the time
defined seems only to change in integral units e.g. 100ns , 200ns etc. I
have adjusted the `timescale such that it should be able to be
programmed with a high resolution. What have I missed? TIA for your
help.
There is only one `timescale in the whole file.
`timescale 10ps / 10ps
The period is equivalent to 100ns.
`define PERIOD 10000.0
This variable defines part of the time the clock is low.
real hightime;
initial
begin
hightime = 3.5;
#`PERIOD I_IN_CLOCK = 1'b1;
#`PERIOD I_IN_CLOCK = 1'b0;
#(hightime*`PERIOD) I_IN_CLOCK = 1'b0;
#`PERIOD I_IN_CLOCK = 1'b1;
#`PERIOD I_IN_CLOCK = 1'b0;
--
Andy Botterill
circuit to fail. When I try to reduce the clock low time the time
defined seems only to change in integral units e.g. 100ns , 200ns etc. I
have adjusted the `timescale such that it should be able to be
programmed with a high resolution. What have I missed? TIA for your
help.
There is only one `timescale in the whole file.
`timescale 10ps / 10ps
The period is equivalent to 100ns.
`define PERIOD 10000.0
This variable defines part of the time the clock is low.
real hightime;
initial
begin
hightime = 3.5;
#`PERIOD I_IN_CLOCK = 1'b1;
#`PERIOD I_IN_CLOCK = 1'b0;
#(hightime*`PERIOD) I_IN_CLOCK = 1'b0;
#`PERIOD I_IN_CLOCK = 1'b1;
#`PERIOD I_IN_CLOCK = 1'b0;
--
Andy Botterill