From 51b14f41ce661973ccf2687bd586c5e2997f9f67 Mon Sep 17 00:00:00 2001 From: Andreas Olofsson Date: Sun, 3 May 2015 23:26:43 -0400 Subject: [PATCH] wait in vs. wait out confusion wait_out is the signal being driven out telling someone else to wait wait_in is the incoming signal telling "you" to wait". --- elink/hdl/elink.v | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/elink/hdl/elink.v b/elink/hdl/elink.v index 68ada92..9726c16 100644 --- a/elink/hdl/elink.v +++ b/elink/hdl/elink.v @@ -269,12 +269,14 @@ module elink(/*AUTOARG*/ .clk_out (rx_lclk_div4), .\(.*\)_in (etx_cfg_\1[]), .\(.*\)_out (erx_cfg_\1[]), - .reset (elink_reset), + .reset (elink_reset), + .wait_in (erx_cfg_wait), + .wait_out (etx_cfg_wait), ); */ fifo_cdc ecfg_cdc (/*AUTOINST*/ // Outputs - .wait_in (etx_cfg_wait), // Templated + .wait_out (etx_cfg_wait), // Templated .access_out (erx_cfg_access), // Templated .packet_out (erx_cfg_packet[PW-1:0]), // Templated // Inputs @@ -283,7 +285,7 @@ module elink(/*AUTOARG*/ .reset (elink_reset), // Templated .access_in (etx_cfg_access), // Templated .packet_in (etx_cfg_packet[PW-1:0]), // Templated - .wait_out (erx_cfg_wait)); // Templated + .wait_in (erx_cfg_wait)); // Templated endmodule // elink