1
0

Allow Makefile override of RESET_DELAY (#322)

This commit is contained in:
mwachs5 2016-09-21 18:28:30 -07:00 committed by Andrew Waterman
parent 2522bdd7b8
commit 3a809b209f

View File

@ -1,12 +1,16 @@
// See LICENSE for license details. // See LICENSE for license details.
`ifndef RESET_DELAY
`define RESET_DELAY 777.7
`endif
module TestDriver; module TestDriver;
reg clock = 1'b0; reg clock = 1'b0;
reg reset = 1'b1; reg reset = 1'b1;
always #(`CLOCK_PERIOD/2.0) clock = ~clock; always #(`CLOCK_PERIOD/2.0) clk = ~clk;
initial #777.7 reset = 0; initial #(`RESET_DELAY) reset = 0;
// Read input arguments and initialize // Read input arguments and initialize
reg verbose = 1'b0; reg verbose = 1'b0;