make CLOCK_PERIOD actually be the clock period, instead of half of the clock period

This commit is contained in:
Scott Johnson committed 2016-08-19 16:55:57 -07:00
1 parent 4dbcc568dc
commit 2d12f6689c
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ module TestDriver;
reg clk = 1'b0;
reg reset = 1'b1;
always #`CLOCK_PERIOD clk = ~clk;
always #(`CLOCK_PERIOD/2.0) clk = ~clk;
initial #777.7 reset = 0;
// Read input arguments and initialize