mirror of
https://github.com/fpganinja/taxi.git
synced 2025-12-10 17:28:40 -08:00
eth: Parameter cleanup
Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
@@ -52,6 +52,7 @@ module taxi_eth_mac_25g_us #
|
||||
|
||||
// MAC/PHY parameters
|
||||
parameter logic COMBINED_MAC_PCS = 1'b1,
|
||||
parameter DATA_W = 64,
|
||||
parameter logic PADDING_EN = 1'b1,
|
||||
parameter logic DIC_EN = 1'b1,
|
||||
parameter MIN_FRAME_LEN = 64,
|
||||
@@ -368,6 +369,7 @@ for (genvar n = 0; n < CNT; n = n + 1) begin : ch
|
||||
|
||||
// MAC/PHY parameters
|
||||
.COMBINED_MAC_PCS(COMBINED_MAC_PCS),
|
||||
.DATA_W(DATA_W),
|
||||
.PADDING_EN(PADDING_EN),
|
||||
.DIC_EN(DIC_EN),
|
||||
.MIN_FRAME_LEN(MIN_FRAME_LEN),
|
||||
|
||||
@@ -52,6 +52,7 @@ module taxi_eth_mac_25g_us_ch #
|
||||
|
||||
// MAC/PHY parameters
|
||||
parameter logic COMBINED_MAC_PCS = 1'b1,
|
||||
parameter DATA_W = 64,
|
||||
parameter logic PADDING_EN = 1'b1,
|
||||
parameter logic DIC_EN = 1'b1,
|
||||
parameter MIN_FRAME_LEN = 64,
|
||||
@@ -279,7 +280,6 @@ module taxi_eth_mac_25g_us_ch #
|
||||
input wire logic cfg_rx_pfc_en = 1'b0
|
||||
);
|
||||
|
||||
localparam DATA_W = 64;
|
||||
localparam HDR_W = 2;
|
||||
|
||||
wire rx_reset_req;
|
||||
|
||||
@@ -126,6 +126,13 @@ module taxi_eth_phy_25g_us_gt #
|
||||
localparam GT_USP = FAMILY == "kintexuplus" || FAMILY == "virtexuplus" || FAMILY == "virtexuplusHBM"
|
||||
|| FAMILY == "virtexuplus58G" || FAMILY == "zynquplus" || FAMILY == "zynquplusRFSOC";
|
||||
|
||||
// check configuration
|
||||
if (DATA_W != 64)
|
||||
$fatal(0, "Error: Interface width must be 64");
|
||||
|
||||
if (HDR_W != 2)
|
||||
$fatal(0, "Error: HDR_W must be 2");
|
||||
|
||||
wire xcvr_ctrl_rst_sync;
|
||||
|
||||
taxi_sync_reset #(
|
||||
|
||||
@@ -126,6 +126,13 @@ module taxi_eth_phy_25g_us_gt_ll #
|
||||
localparam GT_USP = FAMILY == "kintexuplus" || FAMILY == "virtexuplus" || FAMILY == "virtexuplusHBM"
|
||||
|| FAMILY == "virtexuplus58G" || FAMILY == "zynquplus" || FAMILY == "zynquplusRFSOC";
|
||||
|
||||
// check configuration
|
||||
if (DATA_W != 64)
|
||||
$fatal(0, "Error: Interface width must be 64");
|
||||
|
||||
if (HDR_W != 2)
|
||||
$fatal(0, "Error: HDR_W must be 2");
|
||||
|
||||
wire xcvr_ctrl_rst_sync;
|
||||
|
||||
taxi_sync_reset #(
|
||||
|
||||
Reference in New Issue
Block a user