Commit 6535f81e authored by Lucas Russo's avatar Lucas Russo

hdl/testbench/*/wb_acq_core_test/*: shorten 200MHz reset delay

The 7 series async FIFO will misbehave if the read clk is
asserted at the same cycle as the reset is deasserted, causing
the FIFO to become full and the output to become undefined (X's).
The difference in the reset delays give sufficient ammount of time
for the FIFO to correctly reset itself.
parent ea4c86ba
......@@ -91,7 +91,7 @@ module clk_rst(
//repeat (`RST_ADC_DELAY) begin
// @(posedge clk_200mhz_o);
//end
repeat (`RST_SYS_DELAY) begin
repeat (`RST_200MHZ_DELAY) begin
@(posedge clk_sys_o);
end
......
......@@ -37,8 +37,9 @@
`define CLK_ADC_PERIOD 8882.00 //ps
// Reset Delay, in Clock Cycles
`define RST_SYS_DELAY 500 // 5000//101000 // ??? > 500 us
`define RST_ADC_DELAY 500 // 5000//101000 // ??? > 500 us
`define RST_SYS_DELAY 5000
`define RST_ADC_DELAY 5000
`define RST_200MHZ_DELAY 1000
/*******************************
* DDR3 definitions
......@@ -52,3 +53,4 @@
//`define DDR_CK_WIDTH 1
//`define DDR_CKE_WIDTH 1
//`define DDR_ODT_WIDTH 1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment