1
0
mirror of https://github.com/pConst/basic_verilog.git synced 2025-01-14 06:42:54 +08:00

Added clock jitter

This commit is contained in:
Konstantin Pavlov 2021-12-25 22:52:24 +03:00
parent 090372196e
commit fe28e261e6

View File

@ -21,11 +21,17 @@ initial begin
end
// external device "asynchronous" clock
logic clk33;
logic clk33a;
initial begin
#0 clk33 = 1'b0;
#0 clk33a = 1'b0;
forever
#15.151 clk33 = ~clk33;
#7 clk33a = ~clk33a;
end
logic clk33;
//assign clk33 = clk33a;
always @(*) begin
clk33 = #($urandom_range(0, 2000)*10ps) clk33a;
end
logic rst;