eth: Support 32 bit mode in BASE-R PHY
Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
@@ -62,16 +62,6 @@ module taxi_eth_phy_10g_tx #
|
||||
input wire logic cfg_tx_prbs31_enable
|
||||
);
|
||||
|
||||
// check configuration
|
||||
if (DATA_W != 64)
|
||||
$fatal(0, "Error: Interface width must be 64");
|
||||
|
||||
if (CTRL_W * 8 != DATA_W)
|
||||
$fatal(0, "Error: Interface requires byte (8-bit) granularity");
|
||||
|
||||
if (HDR_W != 2)
|
||||
$fatal(0, "Error: HDR_W must be 2");
|
||||
|
||||
wire [DATA_W-1:0] encoded_tx_data;
|
||||
wire encoded_tx_data_valid;
|
||||
wire [HDR_W-1:0] encoded_tx_hdr;
|
||||
@@ -79,7 +69,7 @@ wire encoded_tx_hdr_valid;
|
||||
|
||||
wire tx_gbx_sync_int;
|
||||
|
||||
taxi_xgmii_baser_enc_64 #(
|
||||
taxi_xgmii_baser_enc #(
|
||||
.DATA_W(DATA_W),
|
||||
.CTRL_W(CTRL_W),
|
||||
.HDR_W(HDR_W),
|
||||
|
||||
Reference in New Issue
Block a user