From 8164e94fbdad780631adf4687e2aa182a4e26b83 Mon Sep 17 00:00:00 2001 From: michael-west Date: Mon, 2 Aug 2021 09:29:48 -0700 Subject: [PATCH] N3xx: Fix White Rabbit Reconnect the signals from the White Rabbit module to the TDC in the FPGA. Signed-off-by: michael-west Original-commit: c0637bae1e4a0ddb996cf2b7eadfad22f782874b --- top/n3xx/n3xx_mgt_channel_wrapper.v | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/top/n3xx/n3xx_mgt_channel_wrapper.v b/top/n3xx/n3xx_mgt_channel_wrapper.v index 9c9c839..6fc0470 100644 --- a/top/n3xx/n3xx_mgt_channel_wrapper.v +++ b/top/n3xx/n3xx_mgt_channel_wrapper.v @@ -244,6 +244,12 @@ module n3xx_mgt_channel_wrapper #( wire [LANES-1:0] reg_rd_resp_flat; wire [(LANES*REG_DWIDTH)-1:0] reg_rd_data_flat; + wire [LANES-1:0] mod_pps_flat; + wire [LANES-1:0] mod_refclk_flat; + + // NOTE: Connecting WR signals of first lane only + assign mod_pps = mod_pps_flat[0]; + assign mod_refclk = mod_refclk_flat[0]; regport_resp_mux #( .WIDTH (REG_DWIDTH), @@ -338,6 +344,10 @@ module n3xx_mgt_channel_wrapper #( .port_info (port_info[l*32 +: 32]), .device_id (device_id), + // Timebase Outputs + .mod_pps(mod_pps_flat[l]), + .mod_refclk(mod_refclk_flat[l]), + // Sideband White Rabbit Control .wr_reset_n (wr_reset_n), .wr_refclk (wr_refclk),