fpga: x400: Remove CPU_W parameter
Removes the CPU_W parameter from x4xx.v and the qsfp_wrapper files. The value of this parameter depends on the axi_eth_dma IP and therefore should not be changed. Original-commit: 84c49f40adc980e2968a6a844b4bdbb2d2d38c9c
This commit is contained in:
@@ -14,7 +14,6 @@
|
||||
//
|
||||
// PROTOCOL : Indicates the protocol to use for each of the 4 QSFP
|
||||
// lanes. See x4xx_mgt_types.vh for possible values.
|
||||
// CPU_W : Width of CPU interface
|
||||
// CHDR_W : CHDR bus width
|
||||
// NET_CHDR_W : CHDR width used over the network connection
|
||||
// BYTE_MTU : Transport MTU in bytes
|
||||
@@ -32,7 +31,6 @@ module x4xx_qsfp_wrapper #(
|
||||
`MGT_Disabled,
|
||||
`MGT_Disabled,
|
||||
`MGT_Disabled},
|
||||
parameter CPU_W = 64,
|
||||
parameter CHDR_W = 64,
|
||||
parameter NET_CHDR_W = CHDR_W,
|
||||
parameter BYTE_MTU = $clog2(8*1024),
|
||||
@@ -85,6 +83,7 @@ module x4xx_qsfp_wrapper #(
|
||||
|
||||
localparam REG_BASE_SFP_IO = 14'h0;
|
||||
localparam REG_BASE_ETH_SWITCH = 14'h1000;
|
||||
localparam CPU_W = 64; // Must match axi_eth_dma IP
|
||||
localparam CPU_USER_W = $clog2(CPU_W/8)+1;
|
||||
localparam CHDR_USER_W = $clog2(CHDR_W/8);
|
||||
localparam REG_DWIDTH = 32;
|
||||
|
||||
Reference in New Issue
Block a user