aboutsummaryrefslogtreecommitdiffstats
path: root/fpga/usrp3/top/x400
diff options
context:
space:
mode:
authorWade Fife <wade.fife@ettus.com>2022-05-26 15:15:16 -0500
committerskooNI <60897865+skooNI@users.noreply.github.com>2022-07-20 15:57:20 -0500
commitf41f050ef89fc977ba5accbaa26b2175f2de4a5e (patch)
treeacc9004719eb397ddbeeb28eb31d696872f59941 /fpga/usrp3/top/x400
parent6b8df1055498181eb6fb82dd1ebb1cc573ac48d5 (diff)
downloaduhd-f41f050ef89fc977ba5accbaa26b2175f2de4a5e.tar.gz
uhd-f41f050ef89fc977ba5accbaa26b2175f2de4a5e.tar.bz2
uhd-f41f050ef89fc977ba5accbaa26b2175f2de4a5e.zip
fpga: Fix first arg in calls to $fatal()
This fixes warnings regarding the first argument to $fatal(), which is supposed to be a number indicating what diagnostics to display. 1 corresponds to "Prints simulation time and location".
Diffstat (limited to 'fpga/usrp3/top/x400')
-rw-r--r--fpga/usrp3/top/x400/ip/eth_100g_bd/eth_100g.sv30
1 files changed, 15 insertions, 15 deletions
diff --git a/fpga/usrp3/top/x400/ip/eth_100g_bd/eth_100g.sv b/fpga/usrp3/top/x400/ip/eth_100g_bd/eth_100g.sv
index 456db06d9..2cd7fa550 100644
--- a/fpga/usrp3/top/x400/ip/eth_100g_bd/eth_100g.sv
+++ b/fpga/usrp3/top/x400/ip/eth_100g_bd/eth_100g.sv
@@ -54,7 +54,7 @@ module eth_100g #(
logic usr_tx_reset;
logic usr_rx_reset;
- // Heirarchical refference (xilinx says it will synthesize)
+ // Hierarchical reference (Xilinx says it will synthesize)
// eth_100g_bd_i/cmac_usplus_0/gt_rxrecclkout}
assign rx_rec_clk_out = eth_100g_bd_i.cmac_usplus_0.gt_rxrecclkout[0];
//status registers
@@ -98,31 +98,31 @@ module eth_100g #(
initial begin
assert (mgt_tx.DATA_WIDTH == 512) else
- $fatal("mgt_rx.DATA_WIDTH must be 512");
+ $fatal(1, "mgt_rx.DATA_WIDTH must be 512");
// $clog2(512/8)+1
assert (mgt_rx.USER_WIDTH == 7) else
- $fatal("mgt_rx.USER_WIDTH must be 7");
+ $fatal(1, "mgt_rx.USER_WIDTH must be 7");
assert (mgt_tx.TDATA == 1) else
- $fatal("mgt_tx.TDATA must be enabled");
+ $fatal(1, "mgt_tx.TDATA must be enabled");
assert (mgt_tx.TUSER == 1) else
- $fatal("mgt_tx.TUSER must be enabled");
+ $fatal(1, "mgt_tx.TUSER must be enabled");
assert (mgt_tx.TKEEP == 1) else
- $fatal("mgt_tx.TKEEP must be enabled");
+ $fatal(1, "mgt_tx.TKEEP must be enabled");
assert (mgt_tx.TLAST == 1) else
- $fatal("mgt_tx.TLAST must be enabled");
+ $fatal(1, "mgt_tx.TLAST must be enabled");
assert (mgt_rx.DATA_WIDTH == 512) else
- $fatal("mgt_rx.DATA_WIDTH must be 512");
+ $fatal(1, "mgt_rx.DATA_WIDTH must be 512");
// $clog2(512/8)+1
assert (mgt_rx.USER_WIDTH == 7) else
- $fatal("mgt_rx.DATA_WIDTH must be 7");
+ $fatal(1, "mgt_rx.DATA_WIDTH must be 7");
assert (mgt_rx.TDATA == 1) else
- $fatal("mgt_rx.TDATA must be enabled");
+ $fatal(1, "mgt_rx.TDATA must be enabled");
assert (mgt_rx.TUSER == 1) else
- $fatal("mgt_rx.TUSER must be enabled");
+ $fatal(1, "mgt_rx.TUSER must be enabled");
assert (mgt_rx.TKEEP == 0) else
- $fatal("mgt_rx.TKEEP must not be enabled");
+ $fatal(1, "mgt_rx.TKEEP must not be enabled");
assert (mgt_rx.TLAST == 1) else
- $fatal("mgt_rx.TLAST must be enabled");
+ $fatal(1, "mgt_rx.TLAST must be enabled");
end
AxiStreamIf #(.DATA_WIDTH(512),.TUSER(0),.TKEEP(0))
@@ -166,7 +166,7 @@ module eth_100g #(
// 0-7 map to PCP codes 0-7. 8 is a global pause request
logic [8:0] stat_rx_pause_req ;
logic [8:0] ctl_tx_pause_req ; // drive for at least 16 clocks
- logic ctl_tx_resend_pause; // resend the pause request (tieing this high forces a spam of resend requests)
+ logic ctl_tx_resend_pause; // resend the pause request (tying this high forces a spam of resend requests)
// QuantaPeriod is 512 bit times or 5.12 ns
// resend pause requests so (quanta*QuantaPeriod)/(refresh*QuantaPeriod) is the percentage of BW that gets through.
@@ -243,7 +243,7 @@ module eth_100g #(
// The sequence of writes was taken from the CMAC example, without any deep knowledge
// of what the standard Ethernet connection protocol is.
- // Inject writes to perform connection inbetween other SW writes to read the mac.
+ // Inject writes to perform connection in between other SW writes to read the mac.
if (AUTO_CONNECT) begin : yes_auto_connect
// defined in https://www.xilinx.com/support/documentation/ip_documentation/cmac_usplus/v2_4/pg203-cmac-usplus.pdf
// pg 187