diff options
Diffstat (limited to 'usrp2/top/u1e/tb_u1e.v')
-rw-r--r-- | usrp2/top/u1e/tb_u1e.v | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/usrp2/top/u1e/tb_u1e.v b/usrp2/top/u1e/tb_u1e.v index 319645af6..3cae74c8a 100644 --- a/usrp2/top/u1e/tb_u1e.v +++ b/usrp2/top/u1e/tb_u1e.v @@ -1,4 +1,4 @@ -`timescale 1ns / 1ps +`timescale 1ps / 1ps ////////////////////////////////////////////////////////////////////////////////// module tb_u1e(); @@ -20,10 +20,15 @@ module tb_u1e(); wire [10:1] EM_A; wire [1:0] EM_NBE; - reg clk_fpga = 0; + reg clk_fpga = 0, rst_fpga = 1; always #15.625 clk_fpga = ~clk_fpga; + + initial #200 + @(posedge clk_fpga) + rst_fpga <= 0; - u1e_core u1e_core(.clk_fpga(clk_fpga), .debug_led(debug_led), .debug(debug), .debug_clk(debug_clk), + u1e_core u1e_core(.clk_fpga(clk_fpga), .rst_fpga(rst_fpga), + .debug_led(debug_led), .debug(debug), .debug_clk(debug_clk), .EM_CLK(EM_CLK), .EM_D(EM_D), .EM_A(EM_A), .EM_NBE(EM_NBE), .EM_WAIT0(EM_WAIT0), .EM_NCS4(EM_NCS4), .EM_NCS6(EM_NCS6), .EM_NWE(EM_NWE), .EM_NOE(EM_NOE) ); |