Skip to content

Commit

Permalink
fpga/mqnic/IA_420F: Rename QSFP_CNT parameter to QSFPDD_CNT
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Forencich <[email protected]>
  • Loading branch information
alexforencich committed Feb 22, 2024
1 parent 8a40f61 commit 49db485
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions fpga/mqnic/IA_420F/fpga_100g/rtl/fpga.v
Original file line number Diff line number Diff line change
Expand Up @@ -405,8 +405,8 @@ pcie pcie_hip_inst (
);

// QSFP-DD interfaces
localparam QSFP_CNT = 1;
localparam CH_CNT = MAC_100G ? QSFP_CNT*2 : QSFP_CNT*8;
localparam QSFPDD_CNT = 1;
localparam CH_CNT = MAC_100G ? QSFPDD_CNT*2 : QSFPDD_CNT*8;

wire [CH_CNT-1:0] qsfp_mac_tx_clk;
wire [CH_CNT-1:0] qsfp_mac_tx_rst;
Expand Down Expand Up @@ -606,7 +606,7 @@ fpga_core #(
.RELEASE_INFO(RELEASE_INFO),

// Board configuration
.QSFP_CNT(QSFP_CNT),
.QSFPDD_CNT(QSFPDD_CNT),
.CH_CNT(CH_CNT),
.PORT_GROUP_SIZE(MAC_100G ? 2 : 8),

Expand Down
4 changes: 2 additions & 2 deletions fpga/mqnic/IA_420F/fpga_100g/rtl/fpga_core.v
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ module fpga_core #
parameter RELEASE_INFO = 32'h00000000,

// Board configuration
parameter QSFP_CNT = 1,
parameter CH_CNT = QSFP_CNT*2,
parameter QSFPDD_CNT = 1,
parameter CH_CNT = QSFPDD_CNT*2,
parameter PORT_GROUP_SIZE = 2,

// Structural configuration
Expand Down
6 changes: 3 additions & 3 deletions fpga/mqnic/IA_420F/fpga_100g/tb/fpga_core/test_fpga_core.v
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ module test_fpga_core #
parameter RELEASE_INFO = 32'h00000000,

// Board configuration
parameter QSFP_CNT = 2,
parameter CH_CNT = QSFP_CNT*2,
parameter QSFPDD_CNT = 1,
parameter CH_CNT = QSFPDD_CNT*2,
parameter PORT_GROUP_SIZE = 2,

// Structural configuration
Expand Down Expand Up @@ -421,7 +421,7 @@ fpga_core #(
.RELEASE_INFO(RELEASE_INFO),

// Board configuration
.QSFP_CNT(QSFP_CNT),
.QSFPDD_CNT(QSFPDD_CNT),
.CH_CNT(CH_CNT),
.PORT_GROUP_SIZE(PORT_GROUP_SIZE),

Expand Down

0 comments on commit 49db485

Please sign in to comment.