aboutsummaryrefslogtreecommitdiffstats
path: root/fpga/usrp3
diff options
context:
space:
mode:
authorWade Fife <wade.fife@ettus.com>2020-06-30 15:57:23 -0500
committerWade Fife <wade.fife@ettus.com>2020-07-01 15:49:13 -0500
commit8d57586d61356c42a80408b6bd71e8f74a8d40e2 (patch)
tree549d85c1bfa6cdac10e4b98c01b152800969eccf /fpga/usrp3
parenteed4988cc266a63370a4332351d02fadedde3a3b (diff)
downloaduhd-8d57586d61356c42a80408b6bd71e8f74a8d40e2.tar.gz
uhd-8d57586d61356c42a80408b6bd71e8f74a8d40e2.tar.bz2
uhd-8d57586d61356c42a80408b6bd71e8f74a8d40e2.zip
fpga: n3xx: Fix White Rabbit images
Unused CHDR port was not being drained of discovery packets.
Diffstat (limited to 'fpga/usrp3')
-rw-r--r--fpga/usrp3/top/n3xx/n3xx_mgt_wrapper.v22
1 files changed, 19 insertions, 3 deletions
diff --git a/fpga/usrp3/top/n3xx/n3xx_mgt_wrapper.v b/fpga/usrp3/top/n3xx/n3xx_mgt_wrapper.v
index fa1d5fe5d..0dc9eafea 100644
--- a/fpga/usrp3/top/n3xx/n3xx_mgt_wrapper.v
+++ b/fpga/usrp3/top/n3xx/n3xx_mgt_wrapper.v
@@ -328,9 +328,8 @@ module n3xx_mgt_wrapper #(
generate
// Tie off the Ethernet switch for these protocols that do not use it.
- if(PROTOCOL == "Aurora" || PROTOCOL == "Disabled" || PROTOCOL == "WhiteRabbit") begin
-
- //set unused wires to default value
+ if(PROTOCOL == "Aurora" || PROTOCOL == "Disabled") begin
+ // Set unused wires to default values
assign e2c_tdata = 64'h0;
assign e2c_tkeep = 8'h0;
assign e2c_tlast = 1'b0;
@@ -350,6 +349,23 @@ module n3xx_mgt_wrapper #(
assign mgti_tvalid = v2e_tvalid;
assign v2e_tready = mgti_tready;
+ end else if(PROTOCOL == "WhiteRabbit") begin
+ // Set unused wires to default values
+ assign e2c_tdata = 64'h0;
+ assign e2c_tkeep = 8'h0;
+ assign e2c_tlast = 1'b0;
+ assign e2c_tvalid = 1'b0;
+ assign c2e_tready = 1'b1;
+
+ assign reg_rd_resp_eth_if = 1'b0;
+ assign reg_rd_data_eth_if = 'h0;
+
+ assign e2v_tdata = 64'b0;
+ assign e2v_tlast = 1'b0;
+ assign e2v_tvalid = 1'b0;
+
+ assign v2e_tready = 1'b1;
+
end else begin
wire [3:0] e2c_tuser;