fpga: Update all RFNoC image core files
Original-commit: 0fca5d5ffda1f5f4f7c966c3e5f5200222a5a575
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// Copyright 2022 Ettus Research, A National Instruments Brand
|
||||
// Copyright 2023 Ettus Research, a National Instruments Brand
|
||||
//
|
||||
// SPDX-License-Identifier: LGPL-3.0-or-later
|
||||
//
|
||||
@@ -13,16 +13,21 @@
|
||||
// This file was automatically generated by the RFNoC image builder tool.
|
||||
// Re-running that tool will overwrite this file!
|
||||
//
|
||||
// File generated on: 2022-04-05T20:50:48.332788
|
||||
// Source: ./x410_200_rfnoc_image_core.yml
|
||||
// Source SHA256: 69661f9e2e1c218f3c199f2c8017b4b83f8b53eb47af157d455e27f719902f6b
|
||||
// Source: x410_200_rfnoc_image_core.yml
|
||||
//
|
||||
|
||||
`default_nettype none
|
||||
|
||||
|
||||
module rfnoc_image_core #(
|
||||
parameter CHDR_W = 64,
|
||||
parameter [31:0] CHDR_W = 64,
|
||||
parameter [31:0] PORT_W = 64,
|
||||
parameter [31:0] ETH0_W = 64,
|
||||
parameter [31:0] ETH1_W = 64,
|
||||
parameter [31:0] ETH2_W = 64,
|
||||
parameter [31:0] ETH3_W = 64,
|
||||
parameter [31:0] ETH4_W = 64,
|
||||
parameter [31:0] DMA_W = 64,
|
||||
parameter MTU = 10,
|
||||
parameter [15:0] PROTOVER = {8'd1, 8'd0},
|
||||
parameter RADIO_NIPC = 1
|
||||
@@ -127,62 +132,81 @@ module rfnoc_image_core #(
|
||||
// Transport Adapters ///////////////
|
||||
|
||||
// Transport 0 (eth0)
|
||||
input wire [CHDR_W-1:0] s_eth0_tdata,
|
||||
input wire [PORT_W-1:0] s_eth0_tdata,
|
||||
input wire s_eth0_tlast,
|
||||
input wire s_eth0_tvalid,
|
||||
output wire s_eth0_tready,
|
||||
output wire [CHDR_W-1:0] m_eth0_tdata,
|
||||
output wire [PORT_W-1:0] m_eth0_tdata,
|
||||
output wire m_eth0_tlast,
|
||||
output wire m_eth0_tvalid,
|
||||
input wire m_eth0_tready,
|
||||
// Transport 1 (eth1)
|
||||
input wire [CHDR_W-1:0] s_eth1_tdata,
|
||||
input wire [PORT_W-1:0] s_eth1_tdata,
|
||||
input wire s_eth1_tlast,
|
||||
input wire s_eth1_tvalid,
|
||||
output wire s_eth1_tready,
|
||||
output wire [CHDR_W-1:0] m_eth1_tdata,
|
||||
output wire [PORT_W-1:0] m_eth1_tdata,
|
||||
output wire m_eth1_tlast,
|
||||
output wire m_eth1_tvalid,
|
||||
input wire m_eth1_tready,
|
||||
// Transport 2 (eth2)
|
||||
input wire [CHDR_W-1:0] s_eth2_tdata,
|
||||
input wire [PORT_W-1:0] s_eth2_tdata,
|
||||
input wire s_eth2_tlast,
|
||||
input wire s_eth2_tvalid,
|
||||
output wire s_eth2_tready,
|
||||
output wire [CHDR_W-1:0] m_eth2_tdata,
|
||||
output wire [PORT_W-1:0] m_eth2_tdata,
|
||||
output wire m_eth2_tlast,
|
||||
output wire m_eth2_tvalid,
|
||||
input wire m_eth2_tready,
|
||||
// Transport 3 (eth3)
|
||||
input wire [CHDR_W-1:0] s_eth3_tdata,
|
||||
input wire [PORT_W-1:0] s_eth3_tdata,
|
||||
input wire s_eth3_tlast,
|
||||
input wire s_eth3_tvalid,
|
||||
output wire s_eth3_tready,
|
||||
output wire [CHDR_W-1:0] m_eth3_tdata,
|
||||
output wire [PORT_W-1:0] m_eth3_tdata,
|
||||
output wire m_eth3_tlast,
|
||||
output wire m_eth3_tvalid,
|
||||
input wire m_eth3_tready,
|
||||
// Transport 4 (eth4)
|
||||
input wire [CHDR_W-1:0] s_eth4_tdata,
|
||||
input wire [PORT_W-1:0] s_eth4_tdata,
|
||||
input wire s_eth4_tlast,
|
||||
input wire s_eth4_tvalid,
|
||||
output wire s_eth4_tready,
|
||||
output wire [CHDR_W-1:0] m_eth4_tdata,
|
||||
output wire [PORT_W-1:0] m_eth4_tdata,
|
||||
output wire m_eth4_tlast,
|
||||
output wire m_eth4_tvalid,
|
||||
input wire m_eth4_tready,
|
||||
// Transport 5 (dma)
|
||||
input wire [CHDR_W-1:0] s_dma_tdata,
|
||||
input wire [PORT_W-1:0] s_dma_tdata,
|
||||
input wire s_dma_tlast,
|
||||
input wire s_dma_tvalid,
|
||||
output wire s_dma_tready,
|
||||
output wire [CHDR_W-1:0] m_dma_tdata,
|
||||
output wire [PORT_W-1:0] m_dma_tdata,
|
||||
output wire m_dma_tlast,
|
||||
output wire m_dma_tvalid,
|
||||
input wire m_dma_tready
|
||||
);
|
||||
|
||||
localparam EDGE_TBL_FILE = `"`RFNOC_EDGE_TBL_FILE`";
|
||||
localparam BLOCK_CHDR_W = 64;
|
||||
localparam BYTE_MTU = MTU + $clog2(CHDR_W/8);
|
||||
localparam BLOCK_MTU = BYTE_MTU - $clog2(BLOCK_CHDR_W/8);
|
||||
localparam EP0_W = 64;
|
||||
localparam EP0_MTU = BYTE_MTU - $clog2(EP0_W/8);
|
||||
localparam EP1_W = 64;
|
||||
localparam EP1_MTU = BYTE_MTU - $clog2(EP1_W/8);
|
||||
localparam EP2_W = 64;
|
||||
localparam EP2_MTU = BYTE_MTU - $clog2(EP2_W/8);
|
||||
localparam EP3_W = 64;
|
||||
localparam EP3_MTU = BYTE_MTU - $clog2(EP3_W/8);
|
||||
localparam EP4_W = 64;
|
||||
localparam EP4_MTU = BYTE_MTU - $clog2(EP4_W/8);
|
||||
localparam EP5_W = 64;
|
||||
localparam EP5_MTU = BYTE_MTU - $clog2(EP5_W/8);
|
||||
localparam EP6_W = 64;
|
||||
localparam EP6_MTU = BYTE_MTU - $clog2(EP6_W/8);
|
||||
localparam EP7_W = 64;
|
||||
localparam EP7_MTU = BYTE_MTU - $clog2(EP7_W/8);
|
||||
|
||||
wire rfnoc_chdr_clk, rfnoc_chdr_rst;
|
||||
wire rfnoc_ctrl_clk, rfnoc_ctrl_rst;
|
||||
@@ -192,83 +216,98 @@ module rfnoc_image_core #(
|
||||
// CHDR Crossbar
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
wire [CHDR_W-1:0] xb_to_ep0_tdata ;
|
||||
wire [PORT_W-1:0] xb_to_ep0_tdata ;
|
||||
wire xb_to_ep0_tlast ;
|
||||
wire xb_to_ep0_tvalid;
|
||||
wire xb_to_ep0_tready;
|
||||
wire [CHDR_W-1:0] ep0_to_xb_tdata ;
|
||||
wire [PORT_W-1:0] ep0_to_xb_tdata ;
|
||||
wire ep0_to_xb_tlast ;
|
||||
wire ep0_to_xb_tvalid;
|
||||
wire ep0_to_xb_tready;
|
||||
wire [CHDR_W-1:0] xb_to_ep1_tdata ;
|
||||
wire [PORT_W-1:0] xb_to_ep1_tdata ;
|
||||
wire xb_to_ep1_tlast ;
|
||||
wire xb_to_ep1_tvalid;
|
||||
wire xb_to_ep1_tready;
|
||||
wire [CHDR_W-1:0] ep1_to_xb_tdata ;
|
||||
wire [PORT_W-1:0] ep1_to_xb_tdata ;
|
||||
wire ep1_to_xb_tlast ;
|
||||
wire ep1_to_xb_tvalid;
|
||||
wire ep1_to_xb_tready;
|
||||
wire [CHDR_W-1:0] xb_to_ep2_tdata ;
|
||||
wire [PORT_W-1:0] xb_to_ep2_tdata ;
|
||||
wire xb_to_ep2_tlast ;
|
||||
wire xb_to_ep2_tvalid;
|
||||
wire xb_to_ep2_tready;
|
||||
wire [CHDR_W-1:0] ep2_to_xb_tdata ;
|
||||
wire [PORT_W-1:0] ep2_to_xb_tdata ;
|
||||
wire ep2_to_xb_tlast ;
|
||||
wire ep2_to_xb_tvalid;
|
||||
wire ep2_to_xb_tready;
|
||||
wire [CHDR_W-1:0] xb_to_ep3_tdata ;
|
||||
wire [PORT_W-1:0] xb_to_ep3_tdata ;
|
||||
wire xb_to_ep3_tlast ;
|
||||
wire xb_to_ep3_tvalid;
|
||||
wire xb_to_ep3_tready;
|
||||
wire [CHDR_W-1:0] ep3_to_xb_tdata ;
|
||||
wire [PORT_W-1:0] ep3_to_xb_tdata ;
|
||||
wire ep3_to_xb_tlast ;
|
||||
wire ep3_to_xb_tvalid;
|
||||
wire ep3_to_xb_tready;
|
||||
wire [CHDR_W-1:0] xb_to_ep4_tdata ;
|
||||
wire [PORT_W-1:0] xb_to_ep4_tdata ;
|
||||
wire xb_to_ep4_tlast ;
|
||||
wire xb_to_ep4_tvalid;
|
||||
wire xb_to_ep4_tready;
|
||||
wire [CHDR_W-1:0] ep4_to_xb_tdata ;
|
||||
wire [PORT_W-1:0] ep4_to_xb_tdata ;
|
||||
wire ep4_to_xb_tlast ;
|
||||
wire ep4_to_xb_tvalid;
|
||||
wire ep4_to_xb_tready;
|
||||
wire [CHDR_W-1:0] xb_to_ep5_tdata ;
|
||||
wire [PORT_W-1:0] xb_to_ep5_tdata ;
|
||||
wire xb_to_ep5_tlast ;
|
||||
wire xb_to_ep5_tvalid;
|
||||
wire xb_to_ep5_tready;
|
||||
wire [CHDR_W-1:0] ep5_to_xb_tdata ;
|
||||
wire [PORT_W-1:0] ep5_to_xb_tdata ;
|
||||
wire ep5_to_xb_tlast ;
|
||||
wire ep5_to_xb_tvalid;
|
||||
wire ep5_to_xb_tready;
|
||||
wire [CHDR_W-1:0] xb_to_ep6_tdata ;
|
||||
wire [PORT_W-1:0] xb_to_ep6_tdata ;
|
||||
wire xb_to_ep6_tlast ;
|
||||
wire xb_to_ep6_tvalid;
|
||||
wire xb_to_ep6_tready;
|
||||
wire [CHDR_W-1:0] ep6_to_xb_tdata ;
|
||||
wire [PORT_W-1:0] ep6_to_xb_tdata ;
|
||||
wire ep6_to_xb_tlast ;
|
||||
wire ep6_to_xb_tvalid;
|
||||
wire ep6_to_xb_tready;
|
||||
wire [CHDR_W-1:0] xb_to_ep7_tdata ;
|
||||
wire [PORT_W-1:0] xb_to_ep7_tdata ;
|
||||
wire xb_to_ep7_tlast ;
|
||||
wire xb_to_ep7_tvalid;
|
||||
wire xb_to_ep7_tready;
|
||||
wire [CHDR_W-1:0] ep7_to_xb_tdata ;
|
||||
wire [PORT_W-1:0] ep7_to_xb_tdata ;
|
||||
wire ep7_to_xb_tlast ;
|
||||
wire ep7_to_xb_tvalid;
|
||||
wire ep7_to_xb_tready;
|
||||
|
||||
chdr_crossbar_nxn #(
|
||||
.CHDR_W (CHDR_W),
|
||||
.PORT_W (PORT_W),
|
||||
.NPORTS (14),
|
||||
.CHDR_WIDTHS ({EP7_W, EP6_W, EP5_W, EP4_W, EP3_W, EP2_W, EP1_W, EP0_W, DMA_W, ETH4_W, ETH3_W, ETH2_W, ETH1_W, ETH0_W}),
|
||||
.DEFAULT_PORT (0),
|
||||
.MTU (MTU),
|
||||
.ROUTES ({ 14'b11111111111111,
|
||||
14'b11111111111111,
|
||||
14'b11111111111111,
|
||||
14'b11111111111111,
|
||||
14'b11111111111111,
|
||||
14'b11111111111111,
|
||||
14'b11111111111111,
|
||||
14'b11111111111111,
|
||||
14'b11111111100000,
|
||||
14'b11111111010000,
|
||||
14'b11111111001000,
|
||||
14'b11111111000100,
|
||||
14'b11111111000010,
|
||||
14'b11111111000001 }),
|
||||
.BYTE_MTU (BYTE_MTU),
|
||||
.ROUTE_TBL_SIZE (6),
|
||||
.MUX_ALLOC ("ROUND-ROBIN"),
|
||||
.OPTIMIZE ("AREA"),
|
||||
.NPORTS_MGMT (6),
|
||||
.EXT_RTCFG_PORT (0),
|
||||
.PROTOVER (PROTOVER)
|
||||
) chdr_xb_i (
|
||||
) chdr_crossbar_nxn_i (
|
||||
.clk (rfnoc_chdr_clk),
|
||||
.reset (rfnoc_chdr_rst),
|
||||
.device_id (device_id),
|
||||
@@ -293,28 +332,30 @@ module rfnoc_image_core #(
|
||||
|
||||
// If requested buffer size is 0, use the minimum SRL-based FIFO size.
|
||||
// Otherwise, make sure it's at least two MTU-sized packets.
|
||||
localparam REQ_BUFF_SIZE_EP0 = (262144)/(CHDR_W/8);
|
||||
localparam REQ_BUFF_SIZE_EP0 = 32768;
|
||||
localparam INGRESS_BUFF_SIZE_EP0 =
|
||||
REQ_BUFF_SIZE_EP0 == 0 ? 5 :
|
||||
REQ_BUFF_SIZE_EP0 < 2*(2**MTU) ? MTU+1 :
|
||||
$clog2(REQ_BUFF_SIZE_EP0);
|
||||
REQ_BUFF_SIZE_EP0 == 0 ? 5 :
|
||||
REQ_BUFF_SIZE_EP0 < 2*(2**EP0_MTU) ? EP0_MTU+1 :
|
||||
$clog2(REQ_BUFF_SIZE_EP0);
|
||||
|
||||
wire [CHDR_W-1:0] m_ep0_out0_tdata;
|
||||
wire m_ep0_out0_tlast;
|
||||
wire m_ep0_out0_tvalid;
|
||||
wire m_ep0_out0_tready;
|
||||
wire [CHDR_W-1:0] s_ep0_in0_tdata;
|
||||
wire s_ep0_in0_tlast;
|
||||
wire s_ep0_in0_tvalid;
|
||||
wire s_ep0_in0_tready;
|
||||
wire [ 31:0] m_ep0_ctrl_tdata, s_ep0_ctrl_tdata;
|
||||
wire m_ep0_ctrl_tlast, s_ep0_ctrl_tlast;
|
||||
wire m_ep0_ctrl_tvalid, s_ep0_ctrl_tvalid;
|
||||
wire m_ep0_ctrl_tready, s_ep0_ctrl_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] m_ep0_out0_tdata;
|
||||
wire m_ep0_out0_tlast;
|
||||
wire m_ep0_out0_tvalid;
|
||||
wire m_ep0_out0_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] s_ep0_in0_tdata;
|
||||
wire s_ep0_in0_tlast;
|
||||
wire s_ep0_in0_tvalid;
|
||||
wire s_ep0_in0_tready;
|
||||
wire [ 31:0] m_ep0_ctrl_tdata, s_ep0_ctrl_tdata;
|
||||
wire m_ep0_ctrl_tlast, s_ep0_ctrl_tlast;
|
||||
wire m_ep0_ctrl_tvalid, s_ep0_ctrl_tvalid;
|
||||
wire m_ep0_ctrl_tready, s_ep0_ctrl_tready;
|
||||
|
||||
chdr_stream_endpoint #(
|
||||
.DEVICE_FAMILY ("ULTRASCALE"),
|
||||
.PROTOVER (PROTOVER),
|
||||
.CHDR_W (CHDR_W),
|
||||
.CHDR_W (EP0_W),
|
||||
.BLOCK_CHDR_W (BLOCK_CHDR_W),
|
||||
.AXIS_CTRL_EN (1),
|
||||
.AXIS_DATA_EN (1),
|
||||
.NUM_DATA_I (1),
|
||||
@@ -322,7 +363,7 @@ module rfnoc_image_core #(
|
||||
.INST_NUM (0),
|
||||
.CTRL_XBAR_PORT (1),
|
||||
.INGRESS_BUFF_SIZE (INGRESS_BUFF_SIZE_EP0),
|
||||
.MTU (MTU),
|
||||
.MTU (EP0_MTU),
|
||||
.REPORT_STRM_ERRS (1)
|
||||
) ep0_i (
|
||||
.rfnoc_chdr_clk (rfnoc_chdr_clk),
|
||||
@@ -362,28 +403,30 @@ module rfnoc_image_core #(
|
||||
|
||||
// If requested buffer size is 0, use the minimum SRL-based FIFO size.
|
||||
// Otherwise, make sure it's at least two MTU-sized packets.
|
||||
localparam REQ_BUFF_SIZE_EP1 = (262144)/(CHDR_W/8);
|
||||
localparam REQ_BUFF_SIZE_EP1 = 32768;
|
||||
localparam INGRESS_BUFF_SIZE_EP1 =
|
||||
REQ_BUFF_SIZE_EP1 == 0 ? 5 :
|
||||
REQ_BUFF_SIZE_EP1 < 2*(2**MTU) ? MTU+1 :
|
||||
$clog2(REQ_BUFF_SIZE_EP1);
|
||||
REQ_BUFF_SIZE_EP1 == 0 ? 5 :
|
||||
REQ_BUFF_SIZE_EP1 < 2*(2**EP1_MTU) ? EP1_MTU+1 :
|
||||
$clog2(REQ_BUFF_SIZE_EP1);
|
||||
|
||||
wire [CHDR_W-1:0] m_ep1_out0_tdata;
|
||||
wire m_ep1_out0_tlast;
|
||||
wire m_ep1_out0_tvalid;
|
||||
wire m_ep1_out0_tready;
|
||||
wire [CHDR_W-1:0] s_ep1_in0_tdata;
|
||||
wire s_ep1_in0_tlast;
|
||||
wire s_ep1_in0_tvalid;
|
||||
wire s_ep1_in0_tready;
|
||||
wire [ 31:0] m_ep1_ctrl_tdata, s_ep1_ctrl_tdata;
|
||||
wire m_ep1_ctrl_tlast, s_ep1_ctrl_tlast;
|
||||
wire m_ep1_ctrl_tvalid, s_ep1_ctrl_tvalid;
|
||||
wire m_ep1_ctrl_tready, s_ep1_ctrl_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] m_ep1_out0_tdata;
|
||||
wire m_ep1_out0_tlast;
|
||||
wire m_ep1_out0_tvalid;
|
||||
wire m_ep1_out0_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] s_ep1_in0_tdata;
|
||||
wire s_ep1_in0_tlast;
|
||||
wire s_ep1_in0_tvalid;
|
||||
wire s_ep1_in0_tready;
|
||||
wire [ 31:0] m_ep1_ctrl_tdata, s_ep1_ctrl_tdata;
|
||||
wire m_ep1_ctrl_tlast, s_ep1_ctrl_tlast;
|
||||
wire m_ep1_ctrl_tvalid, s_ep1_ctrl_tvalid;
|
||||
wire m_ep1_ctrl_tready, s_ep1_ctrl_tready;
|
||||
|
||||
chdr_stream_endpoint #(
|
||||
.DEVICE_FAMILY ("ULTRASCALE"),
|
||||
.PROTOVER (PROTOVER),
|
||||
.CHDR_W (CHDR_W),
|
||||
.CHDR_W (EP1_W),
|
||||
.BLOCK_CHDR_W (BLOCK_CHDR_W),
|
||||
.AXIS_CTRL_EN (0),
|
||||
.AXIS_DATA_EN (1),
|
||||
.NUM_DATA_I (1),
|
||||
@@ -391,7 +434,7 @@ module rfnoc_image_core #(
|
||||
.INST_NUM (1),
|
||||
.CTRL_XBAR_PORT (2),
|
||||
.INGRESS_BUFF_SIZE (INGRESS_BUFF_SIZE_EP1),
|
||||
.MTU (MTU),
|
||||
.MTU (EP1_MTU),
|
||||
.REPORT_STRM_ERRS (1)
|
||||
) ep1_i (
|
||||
.rfnoc_chdr_clk (rfnoc_chdr_clk),
|
||||
@@ -431,28 +474,30 @@ module rfnoc_image_core #(
|
||||
|
||||
// If requested buffer size is 0, use the minimum SRL-based FIFO size.
|
||||
// Otherwise, make sure it's at least two MTU-sized packets.
|
||||
localparam REQ_BUFF_SIZE_EP2 = (262144)/(CHDR_W/8);
|
||||
localparam REQ_BUFF_SIZE_EP2 = 32768;
|
||||
localparam INGRESS_BUFF_SIZE_EP2 =
|
||||
REQ_BUFF_SIZE_EP2 == 0 ? 5 :
|
||||
REQ_BUFF_SIZE_EP2 < 2*(2**MTU) ? MTU+1 :
|
||||
$clog2(REQ_BUFF_SIZE_EP2);
|
||||
REQ_BUFF_SIZE_EP2 == 0 ? 5 :
|
||||
REQ_BUFF_SIZE_EP2 < 2*(2**EP2_MTU) ? EP2_MTU+1 :
|
||||
$clog2(REQ_BUFF_SIZE_EP2);
|
||||
|
||||
wire [CHDR_W-1:0] m_ep2_out0_tdata;
|
||||
wire m_ep2_out0_tlast;
|
||||
wire m_ep2_out0_tvalid;
|
||||
wire m_ep2_out0_tready;
|
||||
wire [CHDR_W-1:0] s_ep2_in0_tdata;
|
||||
wire s_ep2_in0_tlast;
|
||||
wire s_ep2_in0_tvalid;
|
||||
wire s_ep2_in0_tready;
|
||||
wire [ 31:0] m_ep2_ctrl_tdata, s_ep2_ctrl_tdata;
|
||||
wire m_ep2_ctrl_tlast, s_ep2_ctrl_tlast;
|
||||
wire m_ep2_ctrl_tvalid, s_ep2_ctrl_tvalid;
|
||||
wire m_ep2_ctrl_tready, s_ep2_ctrl_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] m_ep2_out0_tdata;
|
||||
wire m_ep2_out0_tlast;
|
||||
wire m_ep2_out0_tvalid;
|
||||
wire m_ep2_out0_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] s_ep2_in0_tdata;
|
||||
wire s_ep2_in0_tlast;
|
||||
wire s_ep2_in0_tvalid;
|
||||
wire s_ep2_in0_tready;
|
||||
wire [ 31:0] m_ep2_ctrl_tdata, s_ep2_ctrl_tdata;
|
||||
wire m_ep2_ctrl_tlast, s_ep2_ctrl_tlast;
|
||||
wire m_ep2_ctrl_tvalid, s_ep2_ctrl_tvalid;
|
||||
wire m_ep2_ctrl_tready, s_ep2_ctrl_tready;
|
||||
|
||||
chdr_stream_endpoint #(
|
||||
.DEVICE_FAMILY ("ULTRASCALE"),
|
||||
.PROTOVER (PROTOVER),
|
||||
.CHDR_W (CHDR_W),
|
||||
.CHDR_W (EP2_W),
|
||||
.BLOCK_CHDR_W (BLOCK_CHDR_W),
|
||||
.AXIS_CTRL_EN (0),
|
||||
.AXIS_DATA_EN (1),
|
||||
.NUM_DATA_I (1),
|
||||
@@ -460,7 +505,7 @@ module rfnoc_image_core #(
|
||||
.INST_NUM (2),
|
||||
.CTRL_XBAR_PORT (3),
|
||||
.INGRESS_BUFF_SIZE (INGRESS_BUFF_SIZE_EP2),
|
||||
.MTU (MTU),
|
||||
.MTU (EP2_MTU),
|
||||
.REPORT_STRM_ERRS (1)
|
||||
) ep2_i (
|
||||
.rfnoc_chdr_clk (rfnoc_chdr_clk),
|
||||
@@ -500,28 +545,30 @@ module rfnoc_image_core #(
|
||||
|
||||
// If requested buffer size is 0, use the minimum SRL-based FIFO size.
|
||||
// Otherwise, make sure it's at least two MTU-sized packets.
|
||||
localparam REQ_BUFF_SIZE_EP3 = (262144)/(CHDR_W/8);
|
||||
localparam REQ_BUFF_SIZE_EP3 = 32768;
|
||||
localparam INGRESS_BUFF_SIZE_EP3 =
|
||||
REQ_BUFF_SIZE_EP3 == 0 ? 5 :
|
||||
REQ_BUFF_SIZE_EP3 < 2*(2**MTU) ? MTU+1 :
|
||||
$clog2(REQ_BUFF_SIZE_EP3);
|
||||
REQ_BUFF_SIZE_EP3 == 0 ? 5 :
|
||||
REQ_BUFF_SIZE_EP3 < 2*(2**EP3_MTU) ? EP3_MTU+1 :
|
||||
$clog2(REQ_BUFF_SIZE_EP3);
|
||||
|
||||
wire [CHDR_W-1:0] m_ep3_out0_tdata;
|
||||
wire m_ep3_out0_tlast;
|
||||
wire m_ep3_out0_tvalid;
|
||||
wire m_ep3_out0_tready;
|
||||
wire [CHDR_W-1:0] s_ep3_in0_tdata;
|
||||
wire s_ep3_in0_tlast;
|
||||
wire s_ep3_in0_tvalid;
|
||||
wire s_ep3_in0_tready;
|
||||
wire [ 31:0] m_ep3_ctrl_tdata, s_ep3_ctrl_tdata;
|
||||
wire m_ep3_ctrl_tlast, s_ep3_ctrl_tlast;
|
||||
wire m_ep3_ctrl_tvalid, s_ep3_ctrl_tvalid;
|
||||
wire m_ep3_ctrl_tready, s_ep3_ctrl_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] m_ep3_out0_tdata;
|
||||
wire m_ep3_out0_tlast;
|
||||
wire m_ep3_out0_tvalid;
|
||||
wire m_ep3_out0_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] s_ep3_in0_tdata;
|
||||
wire s_ep3_in0_tlast;
|
||||
wire s_ep3_in0_tvalid;
|
||||
wire s_ep3_in0_tready;
|
||||
wire [ 31:0] m_ep3_ctrl_tdata, s_ep3_ctrl_tdata;
|
||||
wire m_ep3_ctrl_tlast, s_ep3_ctrl_tlast;
|
||||
wire m_ep3_ctrl_tvalid, s_ep3_ctrl_tvalid;
|
||||
wire m_ep3_ctrl_tready, s_ep3_ctrl_tready;
|
||||
|
||||
chdr_stream_endpoint #(
|
||||
.DEVICE_FAMILY ("ULTRASCALE"),
|
||||
.PROTOVER (PROTOVER),
|
||||
.CHDR_W (CHDR_W),
|
||||
.CHDR_W (EP3_W),
|
||||
.BLOCK_CHDR_W (BLOCK_CHDR_W),
|
||||
.AXIS_CTRL_EN (0),
|
||||
.AXIS_DATA_EN (1),
|
||||
.NUM_DATA_I (1),
|
||||
@@ -529,7 +576,7 @@ module rfnoc_image_core #(
|
||||
.INST_NUM (3),
|
||||
.CTRL_XBAR_PORT (4),
|
||||
.INGRESS_BUFF_SIZE (INGRESS_BUFF_SIZE_EP3),
|
||||
.MTU (MTU),
|
||||
.MTU (EP3_MTU),
|
||||
.REPORT_STRM_ERRS (1)
|
||||
) ep3_i (
|
||||
.rfnoc_chdr_clk (rfnoc_chdr_clk),
|
||||
@@ -569,28 +616,30 @@ module rfnoc_image_core #(
|
||||
|
||||
// If requested buffer size is 0, use the minimum SRL-based FIFO size.
|
||||
// Otherwise, make sure it's at least two MTU-sized packets.
|
||||
localparam REQ_BUFF_SIZE_EP4 = (32768)/(CHDR_W/8);
|
||||
localparam REQ_BUFF_SIZE_EP4 = 4096;
|
||||
localparam INGRESS_BUFF_SIZE_EP4 =
|
||||
REQ_BUFF_SIZE_EP4 == 0 ? 5 :
|
||||
REQ_BUFF_SIZE_EP4 < 2*(2**MTU) ? MTU+1 :
|
||||
$clog2(REQ_BUFF_SIZE_EP4);
|
||||
REQ_BUFF_SIZE_EP4 == 0 ? 5 :
|
||||
REQ_BUFF_SIZE_EP4 < 2*(2**EP4_MTU) ? EP4_MTU+1 :
|
||||
$clog2(REQ_BUFF_SIZE_EP4);
|
||||
|
||||
wire [CHDR_W-1:0] m_ep4_out0_tdata;
|
||||
wire m_ep4_out0_tlast;
|
||||
wire m_ep4_out0_tvalid;
|
||||
wire m_ep4_out0_tready;
|
||||
wire [CHDR_W-1:0] s_ep4_in0_tdata;
|
||||
wire s_ep4_in0_tlast;
|
||||
wire s_ep4_in0_tvalid;
|
||||
wire s_ep4_in0_tready;
|
||||
wire [ 31:0] m_ep4_ctrl_tdata, s_ep4_ctrl_tdata;
|
||||
wire m_ep4_ctrl_tlast, s_ep4_ctrl_tlast;
|
||||
wire m_ep4_ctrl_tvalid, s_ep4_ctrl_tvalid;
|
||||
wire m_ep4_ctrl_tready, s_ep4_ctrl_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] m_ep4_out0_tdata;
|
||||
wire m_ep4_out0_tlast;
|
||||
wire m_ep4_out0_tvalid;
|
||||
wire m_ep4_out0_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] s_ep4_in0_tdata;
|
||||
wire s_ep4_in0_tlast;
|
||||
wire s_ep4_in0_tvalid;
|
||||
wire s_ep4_in0_tready;
|
||||
wire [ 31:0] m_ep4_ctrl_tdata, s_ep4_ctrl_tdata;
|
||||
wire m_ep4_ctrl_tlast, s_ep4_ctrl_tlast;
|
||||
wire m_ep4_ctrl_tvalid, s_ep4_ctrl_tvalid;
|
||||
wire m_ep4_ctrl_tready, s_ep4_ctrl_tready;
|
||||
|
||||
chdr_stream_endpoint #(
|
||||
.DEVICE_FAMILY ("ULTRASCALE"),
|
||||
.PROTOVER (PROTOVER),
|
||||
.CHDR_W (CHDR_W),
|
||||
.CHDR_W (EP4_W),
|
||||
.BLOCK_CHDR_W (BLOCK_CHDR_W),
|
||||
.AXIS_CTRL_EN (0),
|
||||
.AXIS_DATA_EN (1),
|
||||
.NUM_DATA_I (1),
|
||||
@@ -598,7 +647,7 @@ module rfnoc_image_core #(
|
||||
.INST_NUM (4),
|
||||
.CTRL_XBAR_PORT (5),
|
||||
.INGRESS_BUFF_SIZE (INGRESS_BUFF_SIZE_EP4),
|
||||
.MTU (MTU),
|
||||
.MTU (EP4_MTU),
|
||||
.REPORT_STRM_ERRS (1)
|
||||
) ep4_i (
|
||||
.rfnoc_chdr_clk (rfnoc_chdr_clk),
|
||||
@@ -638,28 +687,30 @@ module rfnoc_image_core #(
|
||||
|
||||
// If requested buffer size is 0, use the minimum SRL-based FIFO size.
|
||||
// Otherwise, make sure it's at least two MTU-sized packets.
|
||||
localparam REQ_BUFF_SIZE_EP5 = (32768)/(CHDR_W/8);
|
||||
localparam REQ_BUFF_SIZE_EP5 = 4096;
|
||||
localparam INGRESS_BUFF_SIZE_EP5 =
|
||||
REQ_BUFF_SIZE_EP5 == 0 ? 5 :
|
||||
REQ_BUFF_SIZE_EP5 < 2*(2**MTU) ? MTU+1 :
|
||||
$clog2(REQ_BUFF_SIZE_EP5);
|
||||
REQ_BUFF_SIZE_EP5 == 0 ? 5 :
|
||||
REQ_BUFF_SIZE_EP5 < 2*(2**EP5_MTU) ? EP5_MTU+1 :
|
||||
$clog2(REQ_BUFF_SIZE_EP5);
|
||||
|
||||
wire [CHDR_W-1:0] m_ep5_out0_tdata;
|
||||
wire m_ep5_out0_tlast;
|
||||
wire m_ep5_out0_tvalid;
|
||||
wire m_ep5_out0_tready;
|
||||
wire [CHDR_W-1:0] s_ep5_in0_tdata;
|
||||
wire s_ep5_in0_tlast;
|
||||
wire s_ep5_in0_tvalid;
|
||||
wire s_ep5_in0_tready;
|
||||
wire [ 31:0] m_ep5_ctrl_tdata, s_ep5_ctrl_tdata;
|
||||
wire m_ep5_ctrl_tlast, s_ep5_ctrl_tlast;
|
||||
wire m_ep5_ctrl_tvalid, s_ep5_ctrl_tvalid;
|
||||
wire m_ep5_ctrl_tready, s_ep5_ctrl_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] m_ep5_out0_tdata;
|
||||
wire m_ep5_out0_tlast;
|
||||
wire m_ep5_out0_tvalid;
|
||||
wire m_ep5_out0_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] s_ep5_in0_tdata;
|
||||
wire s_ep5_in0_tlast;
|
||||
wire s_ep5_in0_tvalid;
|
||||
wire s_ep5_in0_tready;
|
||||
wire [ 31:0] m_ep5_ctrl_tdata, s_ep5_ctrl_tdata;
|
||||
wire m_ep5_ctrl_tlast, s_ep5_ctrl_tlast;
|
||||
wire m_ep5_ctrl_tvalid, s_ep5_ctrl_tvalid;
|
||||
wire m_ep5_ctrl_tready, s_ep5_ctrl_tready;
|
||||
|
||||
chdr_stream_endpoint #(
|
||||
.DEVICE_FAMILY ("ULTRASCALE"),
|
||||
.PROTOVER (PROTOVER),
|
||||
.CHDR_W (CHDR_W),
|
||||
.CHDR_W (EP5_W),
|
||||
.BLOCK_CHDR_W (BLOCK_CHDR_W),
|
||||
.AXIS_CTRL_EN (0),
|
||||
.AXIS_DATA_EN (1),
|
||||
.NUM_DATA_I (1),
|
||||
@@ -667,7 +718,7 @@ module rfnoc_image_core #(
|
||||
.INST_NUM (5),
|
||||
.CTRL_XBAR_PORT (6),
|
||||
.INGRESS_BUFF_SIZE (INGRESS_BUFF_SIZE_EP5),
|
||||
.MTU (MTU),
|
||||
.MTU (EP5_MTU),
|
||||
.REPORT_STRM_ERRS (1)
|
||||
) ep5_i (
|
||||
.rfnoc_chdr_clk (rfnoc_chdr_clk),
|
||||
@@ -707,28 +758,30 @@ module rfnoc_image_core #(
|
||||
|
||||
// If requested buffer size is 0, use the minimum SRL-based FIFO size.
|
||||
// Otherwise, make sure it's at least two MTU-sized packets.
|
||||
localparam REQ_BUFF_SIZE_EP6 = (32768)/(CHDR_W/8);
|
||||
localparam REQ_BUFF_SIZE_EP6 = 4096;
|
||||
localparam INGRESS_BUFF_SIZE_EP6 =
|
||||
REQ_BUFF_SIZE_EP6 == 0 ? 5 :
|
||||
REQ_BUFF_SIZE_EP6 < 2*(2**MTU) ? MTU+1 :
|
||||
$clog2(REQ_BUFF_SIZE_EP6);
|
||||
REQ_BUFF_SIZE_EP6 == 0 ? 5 :
|
||||
REQ_BUFF_SIZE_EP6 < 2*(2**EP6_MTU) ? EP6_MTU+1 :
|
||||
$clog2(REQ_BUFF_SIZE_EP6);
|
||||
|
||||
wire [CHDR_W-1:0] m_ep6_out0_tdata;
|
||||
wire m_ep6_out0_tlast;
|
||||
wire m_ep6_out0_tvalid;
|
||||
wire m_ep6_out0_tready;
|
||||
wire [CHDR_W-1:0] s_ep6_in0_tdata;
|
||||
wire s_ep6_in0_tlast;
|
||||
wire s_ep6_in0_tvalid;
|
||||
wire s_ep6_in0_tready;
|
||||
wire [ 31:0] m_ep6_ctrl_tdata, s_ep6_ctrl_tdata;
|
||||
wire m_ep6_ctrl_tlast, s_ep6_ctrl_tlast;
|
||||
wire m_ep6_ctrl_tvalid, s_ep6_ctrl_tvalid;
|
||||
wire m_ep6_ctrl_tready, s_ep6_ctrl_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] m_ep6_out0_tdata;
|
||||
wire m_ep6_out0_tlast;
|
||||
wire m_ep6_out0_tvalid;
|
||||
wire m_ep6_out0_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] s_ep6_in0_tdata;
|
||||
wire s_ep6_in0_tlast;
|
||||
wire s_ep6_in0_tvalid;
|
||||
wire s_ep6_in0_tready;
|
||||
wire [ 31:0] m_ep6_ctrl_tdata, s_ep6_ctrl_tdata;
|
||||
wire m_ep6_ctrl_tlast, s_ep6_ctrl_tlast;
|
||||
wire m_ep6_ctrl_tvalid, s_ep6_ctrl_tvalid;
|
||||
wire m_ep6_ctrl_tready, s_ep6_ctrl_tready;
|
||||
|
||||
chdr_stream_endpoint #(
|
||||
.DEVICE_FAMILY ("ULTRASCALE"),
|
||||
.PROTOVER (PROTOVER),
|
||||
.CHDR_W (CHDR_W),
|
||||
.CHDR_W (EP6_W),
|
||||
.BLOCK_CHDR_W (BLOCK_CHDR_W),
|
||||
.AXIS_CTRL_EN (0),
|
||||
.AXIS_DATA_EN (1),
|
||||
.NUM_DATA_I (1),
|
||||
@@ -736,7 +789,7 @@ module rfnoc_image_core #(
|
||||
.INST_NUM (6),
|
||||
.CTRL_XBAR_PORT (7),
|
||||
.INGRESS_BUFF_SIZE (INGRESS_BUFF_SIZE_EP6),
|
||||
.MTU (MTU),
|
||||
.MTU (EP6_MTU),
|
||||
.REPORT_STRM_ERRS (1)
|
||||
) ep6_i (
|
||||
.rfnoc_chdr_clk (rfnoc_chdr_clk),
|
||||
@@ -776,28 +829,30 @@ module rfnoc_image_core #(
|
||||
|
||||
// If requested buffer size is 0, use the minimum SRL-based FIFO size.
|
||||
// Otherwise, make sure it's at least two MTU-sized packets.
|
||||
localparam REQ_BUFF_SIZE_EP7 = (32768)/(CHDR_W/8);
|
||||
localparam REQ_BUFF_SIZE_EP7 = 4096;
|
||||
localparam INGRESS_BUFF_SIZE_EP7 =
|
||||
REQ_BUFF_SIZE_EP7 == 0 ? 5 :
|
||||
REQ_BUFF_SIZE_EP7 < 2*(2**MTU) ? MTU+1 :
|
||||
$clog2(REQ_BUFF_SIZE_EP7);
|
||||
REQ_BUFF_SIZE_EP7 == 0 ? 5 :
|
||||
REQ_BUFF_SIZE_EP7 < 2*(2**EP7_MTU) ? EP7_MTU+1 :
|
||||
$clog2(REQ_BUFF_SIZE_EP7);
|
||||
|
||||
wire [CHDR_W-1:0] m_ep7_out0_tdata;
|
||||
wire m_ep7_out0_tlast;
|
||||
wire m_ep7_out0_tvalid;
|
||||
wire m_ep7_out0_tready;
|
||||
wire [CHDR_W-1:0] s_ep7_in0_tdata;
|
||||
wire s_ep7_in0_tlast;
|
||||
wire s_ep7_in0_tvalid;
|
||||
wire s_ep7_in0_tready;
|
||||
wire [ 31:0] m_ep7_ctrl_tdata, s_ep7_ctrl_tdata;
|
||||
wire m_ep7_ctrl_tlast, s_ep7_ctrl_tlast;
|
||||
wire m_ep7_ctrl_tvalid, s_ep7_ctrl_tvalid;
|
||||
wire m_ep7_ctrl_tready, s_ep7_ctrl_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] m_ep7_out0_tdata;
|
||||
wire m_ep7_out0_tlast;
|
||||
wire m_ep7_out0_tvalid;
|
||||
wire m_ep7_out0_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] s_ep7_in0_tdata;
|
||||
wire s_ep7_in0_tlast;
|
||||
wire s_ep7_in0_tvalid;
|
||||
wire s_ep7_in0_tready;
|
||||
wire [ 31:0] m_ep7_ctrl_tdata, s_ep7_ctrl_tdata;
|
||||
wire m_ep7_ctrl_tlast, s_ep7_ctrl_tlast;
|
||||
wire m_ep7_ctrl_tvalid, s_ep7_ctrl_tvalid;
|
||||
wire m_ep7_ctrl_tready, s_ep7_ctrl_tready;
|
||||
|
||||
chdr_stream_endpoint #(
|
||||
.DEVICE_FAMILY ("ULTRASCALE"),
|
||||
.PROTOVER (PROTOVER),
|
||||
.CHDR_W (CHDR_W),
|
||||
.CHDR_W (EP7_W),
|
||||
.BLOCK_CHDR_W (BLOCK_CHDR_W),
|
||||
.AXIS_CTRL_EN (0),
|
||||
.AXIS_DATA_EN (1),
|
||||
.NUM_DATA_I (1),
|
||||
@@ -805,7 +860,7 @@ module rfnoc_image_core #(
|
||||
.INST_NUM (7),
|
||||
.CTRL_XBAR_PORT (8),
|
||||
.INGRESS_BUFF_SIZE (INGRESS_BUFF_SIZE_EP7),
|
||||
.MTU (MTU),
|
||||
.MTU (EP7_MTU),
|
||||
.REPORT_STRM_ERRS (1)
|
||||
) ep7_i (
|
||||
.rfnoc_chdr_clk (rfnoc_chdr_clk),
|
||||
@@ -954,23 +1009,23 @@ module rfnoc_image_core #(
|
||||
// duc0
|
||||
//-----------------------------------
|
||||
|
||||
wire duc0_ce_clk;
|
||||
wire [CHDR_W-1:0] s_duc0_in_1_tdata , s_duc0_in_0_tdata ;
|
||||
wire s_duc0_in_1_tlast , s_duc0_in_0_tlast ;
|
||||
wire s_duc0_in_1_tvalid, s_duc0_in_0_tvalid;
|
||||
wire s_duc0_in_1_tready, s_duc0_in_0_tready;
|
||||
wire [CHDR_W-1:0] m_duc0_out_1_tdata , m_duc0_out_0_tdata ;
|
||||
wire m_duc0_out_1_tlast , m_duc0_out_0_tlast ;
|
||||
wire m_duc0_out_1_tvalid, m_duc0_out_0_tvalid;
|
||||
wire m_duc0_out_1_tready, m_duc0_out_0_tready;
|
||||
wire duc0_ce_clk;
|
||||
wire [BLOCK_CHDR_W-1:0] s_duc0_in_1_tdata , s_duc0_in_0_tdata ;
|
||||
wire s_duc0_in_1_tlast , s_duc0_in_0_tlast ;
|
||||
wire s_duc0_in_1_tvalid, s_duc0_in_0_tvalid;
|
||||
wire s_duc0_in_1_tready, s_duc0_in_0_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] m_duc0_out_1_tdata , m_duc0_out_0_tdata ;
|
||||
wire m_duc0_out_1_tlast , m_duc0_out_0_tlast ;
|
||||
wire m_duc0_out_1_tvalid, m_duc0_out_0_tvalid;
|
||||
wire m_duc0_out_1_tready, m_duc0_out_0_tready;
|
||||
|
||||
rfnoc_block_duc #(
|
||||
.THIS_PORTID (2),
|
||||
.CHDR_W (CHDR_W),
|
||||
.CHDR_W (BLOCK_CHDR_W),
|
||||
.NUM_PORTS (2),
|
||||
.NUM_HB (3),
|
||||
.CIC_MAX_INTERP (255),
|
||||
.MTU (MTU)
|
||||
.MTU (BLOCK_MTU)
|
||||
) b_duc0_0 (
|
||||
.rfnoc_chdr_clk (rfnoc_chdr_clk),
|
||||
.rfnoc_ctrl_clk (rfnoc_ctrl_clk),
|
||||
@@ -999,23 +1054,23 @@ module rfnoc_image_core #(
|
||||
// ddc0
|
||||
//-----------------------------------
|
||||
|
||||
wire ddc0_ce_clk;
|
||||
wire [CHDR_W-1:0] s_ddc0_in_1_tdata , s_ddc0_in_0_tdata ;
|
||||
wire s_ddc0_in_1_tlast , s_ddc0_in_0_tlast ;
|
||||
wire s_ddc0_in_1_tvalid, s_ddc0_in_0_tvalid;
|
||||
wire s_ddc0_in_1_tready, s_ddc0_in_0_tready;
|
||||
wire [CHDR_W-1:0] m_ddc0_out_1_tdata , m_ddc0_out_0_tdata ;
|
||||
wire m_ddc0_out_1_tlast , m_ddc0_out_0_tlast ;
|
||||
wire m_ddc0_out_1_tvalid, m_ddc0_out_0_tvalid;
|
||||
wire m_ddc0_out_1_tready, m_ddc0_out_0_tready;
|
||||
wire ddc0_ce_clk;
|
||||
wire [BLOCK_CHDR_W-1:0] s_ddc0_in_1_tdata , s_ddc0_in_0_tdata ;
|
||||
wire s_ddc0_in_1_tlast , s_ddc0_in_0_tlast ;
|
||||
wire s_ddc0_in_1_tvalid, s_ddc0_in_0_tvalid;
|
||||
wire s_ddc0_in_1_tready, s_ddc0_in_0_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] m_ddc0_out_1_tdata , m_ddc0_out_0_tdata ;
|
||||
wire m_ddc0_out_1_tlast , m_ddc0_out_0_tlast ;
|
||||
wire m_ddc0_out_1_tvalid, m_ddc0_out_0_tvalid;
|
||||
wire m_ddc0_out_1_tready, m_ddc0_out_0_tready;
|
||||
|
||||
rfnoc_block_ddc #(
|
||||
.THIS_PORTID (3),
|
||||
.CHDR_W (CHDR_W),
|
||||
.CHDR_W (BLOCK_CHDR_W),
|
||||
.NUM_PORTS (2),
|
||||
.NUM_HB (3),
|
||||
.CIC_MAX_DECIM (255),
|
||||
.MTU (MTU)
|
||||
.MTU (BLOCK_MTU)
|
||||
) b_ddc0_1 (
|
||||
.rfnoc_chdr_clk (rfnoc_chdr_clk),
|
||||
.rfnoc_ctrl_clk (rfnoc_ctrl_clk),
|
||||
@@ -1044,15 +1099,15 @@ module rfnoc_image_core #(
|
||||
// radio0
|
||||
//-----------------------------------
|
||||
|
||||
wire radio0_radio_clk;
|
||||
wire [CHDR_W-1:0] s_radio0_in_1_tdata , s_radio0_in_0_tdata ;
|
||||
wire s_radio0_in_1_tlast , s_radio0_in_0_tlast ;
|
||||
wire s_radio0_in_1_tvalid, s_radio0_in_0_tvalid;
|
||||
wire s_radio0_in_1_tready, s_radio0_in_0_tready;
|
||||
wire [CHDR_W-1:0] m_radio0_out_1_tdata , m_radio0_out_0_tdata ;
|
||||
wire m_radio0_out_1_tlast , m_radio0_out_0_tlast ;
|
||||
wire m_radio0_out_1_tvalid, m_radio0_out_0_tvalid;
|
||||
wire m_radio0_out_1_tready, m_radio0_out_0_tready;
|
||||
wire radio0_radio_clk;
|
||||
wire [BLOCK_CHDR_W-1:0] s_radio0_in_1_tdata , s_radio0_in_0_tdata ;
|
||||
wire s_radio0_in_1_tlast , s_radio0_in_0_tlast ;
|
||||
wire s_radio0_in_1_tvalid, s_radio0_in_0_tvalid;
|
||||
wire s_radio0_in_1_tready, s_radio0_in_0_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] m_radio0_out_1_tdata , m_radio0_out_0_tdata ;
|
||||
wire m_radio0_out_1_tlast , m_radio0_out_0_tlast ;
|
||||
wire m_radio0_out_1_tvalid, m_radio0_out_0_tvalid;
|
||||
wire m_radio0_out_1_tready, m_radio0_out_0_tready;
|
||||
|
||||
// ctrlport
|
||||
wire [ 0:0] radio0_m_ctrlport_req_wr;
|
||||
@@ -1077,11 +1132,11 @@ module rfnoc_image_core #(
|
||||
|
||||
rfnoc_block_radio #(
|
||||
.THIS_PORTID (4),
|
||||
.CHDR_W (CHDR_W),
|
||||
.CHDR_W (BLOCK_CHDR_W),
|
||||
.NUM_PORTS (2),
|
||||
.NIPC (RADIO_NIPC),
|
||||
.ITEM_W (32),
|
||||
.MTU (MTU)
|
||||
.MTU (BLOCK_MTU)
|
||||
) b_radio0_2 (
|
||||
.rfnoc_chdr_clk (rfnoc_chdr_clk),
|
||||
.rfnoc_ctrl_clk (rfnoc_ctrl_clk),
|
||||
@@ -1127,23 +1182,23 @@ module rfnoc_image_core #(
|
||||
// duc1
|
||||
//-----------------------------------
|
||||
|
||||
wire duc1_ce_clk;
|
||||
wire [CHDR_W-1:0] s_duc1_in_1_tdata , s_duc1_in_0_tdata ;
|
||||
wire s_duc1_in_1_tlast , s_duc1_in_0_tlast ;
|
||||
wire s_duc1_in_1_tvalid, s_duc1_in_0_tvalid;
|
||||
wire s_duc1_in_1_tready, s_duc1_in_0_tready;
|
||||
wire [CHDR_W-1:0] m_duc1_out_1_tdata , m_duc1_out_0_tdata ;
|
||||
wire m_duc1_out_1_tlast , m_duc1_out_0_tlast ;
|
||||
wire m_duc1_out_1_tvalid, m_duc1_out_0_tvalid;
|
||||
wire m_duc1_out_1_tready, m_duc1_out_0_tready;
|
||||
wire duc1_ce_clk;
|
||||
wire [BLOCK_CHDR_W-1:0] s_duc1_in_1_tdata , s_duc1_in_0_tdata ;
|
||||
wire s_duc1_in_1_tlast , s_duc1_in_0_tlast ;
|
||||
wire s_duc1_in_1_tvalid, s_duc1_in_0_tvalid;
|
||||
wire s_duc1_in_1_tready, s_duc1_in_0_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] m_duc1_out_1_tdata , m_duc1_out_0_tdata ;
|
||||
wire m_duc1_out_1_tlast , m_duc1_out_0_tlast ;
|
||||
wire m_duc1_out_1_tvalid, m_duc1_out_0_tvalid;
|
||||
wire m_duc1_out_1_tready, m_duc1_out_0_tready;
|
||||
|
||||
rfnoc_block_duc #(
|
||||
.THIS_PORTID (5),
|
||||
.CHDR_W (CHDR_W),
|
||||
.CHDR_W (BLOCK_CHDR_W),
|
||||
.NUM_PORTS (2),
|
||||
.NUM_HB (3),
|
||||
.CIC_MAX_INTERP (255),
|
||||
.MTU (MTU)
|
||||
.MTU (BLOCK_MTU)
|
||||
) b_duc1_3 (
|
||||
.rfnoc_chdr_clk (rfnoc_chdr_clk),
|
||||
.rfnoc_ctrl_clk (rfnoc_ctrl_clk),
|
||||
@@ -1172,23 +1227,23 @@ module rfnoc_image_core #(
|
||||
// ddc1
|
||||
//-----------------------------------
|
||||
|
||||
wire ddc1_ce_clk;
|
||||
wire [CHDR_W-1:0] s_ddc1_in_1_tdata , s_ddc1_in_0_tdata ;
|
||||
wire s_ddc1_in_1_tlast , s_ddc1_in_0_tlast ;
|
||||
wire s_ddc1_in_1_tvalid, s_ddc1_in_0_tvalid;
|
||||
wire s_ddc1_in_1_tready, s_ddc1_in_0_tready;
|
||||
wire [CHDR_W-1:0] m_ddc1_out_1_tdata , m_ddc1_out_0_tdata ;
|
||||
wire m_ddc1_out_1_tlast , m_ddc1_out_0_tlast ;
|
||||
wire m_ddc1_out_1_tvalid, m_ddc1_out_0_tvalid;
|
||||
wire m_ddc1_out_1_tready, m_ddc1_out_0_tready;
|
||||
wire ddc1_ce_clk;
|
||||
wire [BLOCK_CHDR_W-1:0] s_ddc1_in_1_tdata , s_ddc1_in_0_tdata ;
|
||||
wire s_ddc1_in_1_tlast , s_ddc1_in_0_tlast ;
|
||||
wire s_ddc1_in_1_tvalid, s_ddc1_in_0_tvalid;
|
||||
wire s_ddc1_in_1_tready, s_ddc1_in_0_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] m_ddc1_out_1_tdata , m_ddc1_out_0_tdata ;
|
||||
wire m_ddc1_out_1_tlast , m_ddc1_out_0_tlast ;
|
||||
wire m_ddc1_out_1_tvalid, m_ddc1_out_0_tvalid;
|
||||
wire m_ddc1_out_1_tready, m_ddc1_out_0_tready;
|
||||
|
||||
rfnoc_block_ddc #(
|
||||
.THIS_PORTID (6),
|
||||
.CHDR_W (CHDR_W),
|
||||
.CHDR_W (BLOCK_CHDR_W),
|
||||
.NUM_PORTS (2),
|
||||
.NUM_HB (3),
|
||||
.CIC_MAX_DECIM (255),
|
||||
.MTU (MTU)
|
||||
.MTU (BLOCK_MTU)
|
||||
) b_ddc1_4 (
|
||||
.rfnoc_chdr_clk (rfnoc_chdr_clk),
|
||||
.rfnoc_ctrl_clk (rfnoc_ctrl_clk),
|
||||
@@ -1217,15 +1272,15 @@ module rfnoc_image_core #(
|
||||
// radio1
|
||||
//-----------------------------------
|
||||
|
||||
wire radio1_radio_clk;
|
||||
wire [CHDR_W-1:0] s_radio1_in_1_tdata , s_radio1_in_0_tdata ;
|
||||
wire s_radio1_in_1_tlast , s_radio1_in_0_tlast ;
|
||||
wire s_radio1_in_1_tvalid, s_radio1_in_0_tvalid;
|
||||
wire s_radio1_in_1_tready, s_radio1_in_0_tready;
|
||||
wire [CHDR_W-1:0] m_radio1_out_1_tdata , m_radio1_out_0_tdata ;
|
||||
wire m_radio1_out_1_tlast , m_radio1_out_0_tlast ;
|
||||
wire m_radio1_out_1_tvalid, m_radio1_out_0_tvalid;
|
||||
wire m_radio1_out_1_tready, m_radio1_out_0_tready;
|
||||
wire radio1_radio_clk;
|
||||
wire [BLOCK_CHDR_W-1:0] s_radio1_in_1_tdata , s_radio1_in_0_tdata ;
|
||||
wire s_radio1_in_1_tlast , s_radio1_in_0_tlast ;
|
||||
wire s_radio1_in_1_tvalid, s_radio1_in_0_tvalid;
|
||||
wire s_radio1_in_1_tready, s_radio1_in_0_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] m_radio1_out_1_tdata , m_radio1_out_0_tdata ;
|
||||
wire m_radio1_out_1_tlast , m_radio1_out_0_tlast ;
|
||||
wire m_radio1_out_1_tvalid, m_radio1_out_0_tvalid;
|
||||
wire m_radio1_out_1_tready, m_radio1_out_0_tready;
|
||||
|
||||
// ctrlport
|
||||
wire [ 0:0] radio1_m_ctrlport_req_wr;
|
||||
@@ -1250,11 +1305,11 @@ module rfnoc_image_core #(
|
||||
|
||||
rfnoc_block_radio #(
|
||||
.THIS_PORTID (7),
|
||||
.CHDR_W (CHDR_W),
|
||||
.CHDR_W (BLOCK_CHDR_W),
|
||||
.NUM_PORTS (2),
|
||||
.NIPC (RADIO_NIPC),
|
||||
.ITEM_W (32),
|
||||
.MTU (MTU)
|
||||
.MTU (BLOCK_MTU)
|
||||
) b_radio1_5 (
|
||||
.rfnoc_chdr_clk (rfnoc_chdr_clk),
|
||||
.rfnoc_ctrl_clk (rfnoc_ctrl_clk),
|
||||
@@ -1300,15 +1355,15 @@ module rfnoc_image_core #(
|
||||
// replay0
|
||||
//-----------------------------------
|
||||
|
||||
wire replay0_mem_clk;
|
||||
wire [CHDR_W-1:0] s_replay0_in_3_tdata , s_replay0_in_2_tdata , s_replay0_in_1_tdata , s_replay0_in_0_tdata ;
|
||||
wire s_replay0_in_3_tlast , s_replay0_in_2_tlast , s_replay0_in_1_tlast , s_replay0_in_0_tlast ;
|
||||
wire s_replay0_in_3_tvalid, s_replay0_in_2_tvalid, s_replay0_in_1_tvalid, s_replay0_in_0_tvalid;
|
||||
wire s_replay0_in_3_tready, s_replay0_in_2_tready, s_replay0_in_1_tready, s_replay0_in_0_tready;
|
||||
wire [CHDR_W-1:0] m_replay0_out_3_tdata , m_replay0_out_2_tdata , m_replay0_out_1_tdata , m_replay0_out_0_tdata ;
|
||||
wire m_replay0_out_3_tlast , m_replay0_out_2_tlast , m_replay0_out_1_tlast , m_replay0_out_0_tlast ;
|
||||
wire m_replay0_out_3_tvalid, m_replay0_out_2_tvalid, m_replay0_out_1_tvalid, m_replay0_out_0_tvalid;
|
||||
wire m_replay0_out_3_tready, m_replay0_out_2_tready, m_replay0_out_1_tready, m_replay0_out_0_tready;
|
||||
wire replay0_mem_clk;
|
||||
wire [BLOCK_CHDR_W-1:0] s_replay0_in_3_tdata , s_replay0_in_2_tdata , s_replay0_in_1_tdata , s_replay0_in_0_tdata ;
|
||||
wire s_replay0_in_3_tlast , s_replay0_in_2_tlast , s_replay0_in_1_tlast , s_replay0_in_0_tlast ;
|
||||
wire s_replay0_in_3_tvalid, s_replay0_in_2_tvalid, s_replay0_in_1_tvalid, s_replay0_in_0_tvalid;
|
||||
wire s_replay0_in_3_tready, s_replay0_in_2_tready, s_replay0_in_1_tready, s_replay0_in_0_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] m_replay0_out_3_tdata , m_replay0_out_2_tdata , m_replay0_out_1_tdata , m_replay0_out_0_tdata ;
|
||||
wire m_replay0_out_3_tlast , m_replay0_out_2_tlast , m_replay0_out_1_tlast , m_replay0_out_0_tlast ;
|
||||
wire m_replay0_out_3_tvalid, m_replay0_out_2_tvalid, m_replay0_out_1_tvalid, m_replay0_out_0_tvalid;
|
||||
wire m_replay0_out_3_tready, m_replay0_out_2_tready, m_replay0_out_1_tready, m_replay0_out_0_tready;
|
||||
|
||||
// axi_ram
|
||||
wire [ 0:0] replay0_axi_rst;
|
||||
@@ -1359,11 +1414,11 @@ module rfnoc_image_core #(
|
||||
|
||||
rfnoc_block_replay #(
|
||||
.THIS_PORTID (8),
|
||||
.CHDR_W (CHDR_W),
|
||||
.CHDR_W (BLOCK_CHDR_W),
|
||||
.NUM_PORTS (4),
|
||||
.MEM_DATA_W (64),
|
||||
.MEM_ADDR_W (32),
|
||||
.MTU (MTU)
|
||||
.MTU (BLOCK_MTU)
|
||||
) b_replay0_6 (
|
||||
.rfnoc_chdr_clk (rfnoc_chdr_clk),
|
||||
.rfnoc_ctrl_clk (rfnoc_ctrl_clk),
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// Copyright 2022 Ettus Research, A National Instruments Brand
|
||||
// Copyright 2023 Ettus Research, a National Instruments Brand
|
||||
//
|
||||
// SPDX-License-Identifier: LGPL-3.0-or-later
|
||||
//
|
||||
@@ -12,9 +12,7 @@
|
||||
// This file was automatically generated by the RFNoC image builder tool.
|
||||
// Re-running that tool will overwrite this file!
|
||||
//
|
||||
// File generated on: 2022-04-05T20:50:48.367079
|
||||
// Source: ./x410_200_rfnoc_image_core.yml
|
||||
// Source SHA256: 69661f9e2e1c218f3c199f2c8017b4b83f8b53eb47af157d455e27f719902f6b
|
||||
// Source: x410_200_rfnoc_image_core.yml
|
||||
//
|
||||
|
||||
`define CHDR_WIDTH 64
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// Copyright 2022 Ettus Research, A National Instruments Brand
|
||||
// Copyright 2023 Ettus Research, a National Instruments Brand
|
||||
//
|
||||
// SPDX-License-Identifier: LGPL-3.0-or-later
|
||||
//
|
||||
@@ -13,16 +13,21 @@
|
||||
// This file was automatically generated by the RFNoC image builder tool.
|
||||
// Re-running that tool will overwrite this file!
|
||||
//
|
||||
// File generated on: 2022-03-29T22:54:35.478639
|
||||
// Source: x410_400_128_rfnoc_image_core.yml
|
||||
// Source SHA256: 0e1aea15a9108fa6fbc86d91a7ee9930440a03c66e96bcd86c179ed5b6da5d53
|
||||
//
|
||||
|
||||
`default_nettype none
|
||||
|
||||
|
||||
module rfnoc_image_core #(
|
||||
parameter CHDR_W = 128,
|
||||
parameter [31:0] CHDR_W = 128,
|
||||
parameter [31:0] PORT_W = 128,
|
||||
parameter [31:0] ETH0_W = 64,
|
||||
parameter [31:0] ETH1_W = 64,
|
||||
parameter [31:0] ETH2_W = 64,
|
||||
parameter [31:0] ETH3_W = 64,
|
||||
parameter [31:0] ETH4_W = 64,
|
||||
parameter [31:0] DMA_W = 64,
|
||||
parameter MTU = 10,
|
||||
parameter [15:0] PROTOVER = {8'd1, 8'd0},
|
||||
parameter RADIO_NIPC = 1
|
||||
@@ -127,62 +132,81 @@ module rfnoc_image_core #(
|
||||
// Transport Adapters ///////////////
|
||||
|
||||
// Transport 0 (eth0)
|
||||
input wire [CHDR_W-1:0] s_eth0_tdata,
|
||||
input wire [PORT_W-1:0] s_eth0_tdata,
|
||||
input wire s_eth0_tlast,
|
||||
input wire s_eth0_tvalid,
|
||||
output wire s_eth0_tready,
|
||||
output wire [CHDR_W-1:0] m_eth0_tdata,
|
||||
output wire [PORT_W-1:0] m_eth0_tdata,
|
||||
output wire m_eth0_tlast,
|
||||
output wire m_eth0_tvalid,
|
||||
input wire m_eth0_tready,
|
||||
// Transport 1 (eth1)
|
||||
input wire [CHDR_W-1:0] s_eth1_tdata,
|
||||
input wire [PORT_W-1:0] s_eth1_tdata,
|
||||
input wire s_eth1_tlast,
|
||||
input wire s_eth1_tvalid,
|
||||
output wire s_eth1_tready,
|
||||
output wire [CHDR_W-1:0] m_eth1_tdata,
|
||||
output wire [PORT_W-1:0] m_eth1_tdata,
|
||||
output wire m_eth1_tlast,
|
||||
output wire m_eth1_tvalid,
|
||||
input wire m_eth1_tready,
|
||||
// Transport 2 (eth2)
|
||||
input wire [CHDR_W-1:0] s_eth2_tdata,
|
||||
input wire [PORT_W-1:0] s_eth2_tdata,
|
||||
input wire s_eth2_tlast,
|
||||
input wire s_eth2_tvalid,
|
||||
output wire s_eth2_tready,
|
||||
output wire [CHDR_W-1:0] m_eth2_tdata,
|
||||
output wire [PORT_W-1:0] m_eth2_tdata,
|
||||
output wire m_eth2_tlast,
|
||||
output wire m_eth2_tvalid,
|
||||
input wire m_eth2_tready,
|
||||
// Transport 3 (eth3)
|
||||
input wire [CHDR_W-1:0] s_eth3_tdata,
|
||||
input wire [PORT_W-1:0] s_eth3_tdata,
|
||||
input wire s_eth3_tlast,
|
||||
input wire s_eth3_tvalid,
|
||||
output wire s_eth3_tready,
|
||||
output wire [CHDR_W-1:0] m_eth3_tdata,
|
||||
output wire [PORT_W-1:0] m_eth3_tdata,
|
||||
output wire m_eth3_tlast,
|
||||
output wire m_eth3_tvalid,
|
||||
input wire m_eth3_tready,
|
||||
// Transport 4 (eth4)
|
||||
input wire [CHDR_W-1:0] s_eth4_tdata,
|
||||
input wire [PORT_W-1:0] s_eth4_tdata,
|
||||
input wire s_eth4_tlast,
|
||||
input wire s_eth4_tvalid,
|
||||
output wire s_eth4_tready,
|
||||
output wire [CHDR_W-1:0] m_eth4_tdata,
|
||||
output wire [PORT_W-1:0] m_eth4_tdata,
|
||||
output wire m_eth4_tlast,
|
||||
output wire m_eth4_tvalid,
|
||||
input wire m_eth4_tready,
|
||||
// Transport 5 (dma)
|
||||
input wire [CHDR_W-1:0] s_dma_tdata,
|
||||
input wire [PORT_W-1:0] s_dma_tdata,
|
||||
input wire s_dma_tlast,
|
||||
input wire s_dma_tvalid,
|
||||
output wire s_dma_tready,
|
||||
output wire [CHDR_W-1:0] m_dma_tdata,
|
||||
output wire [PORT_W-1:0] m_dma_tdata,
|
||||
output wire m_dma_tlast,
|
||||
output wire m_dma_tvalid,
|
||||
input wire m_dma_tready
|
||||
);
|
||||
|
||||
localparam EDGE_TBL_FILE = `"`RFNOC_EDGE_TBL_FILE`";
|
||||
localparam BLOCK_CHDR_W = 128;
|
||||
localparam BYTE_MTU = MTU + $clog2(CHDR_W/8);
|
||||
localparam BLOCK_MTU = BYTE_MTU - $clog2(BLOCK_CHDR_W/8);
|
||||
localparam EP0_W = 128;
|
||||
localparam EP0_MTU = BYTE_MTU - $clog2(EP0_W/8);
|
||||
localparam EP1_W = 128;
|
||||
localparam EP1_MTU = BYTE_MTU - $clog2(EP1_W/8);
|
||||
localparam EP2_W = 128;
|
||||
localparam EP2_MTU = BYTE_MTU - $clog2(EP2_W/8);
|
||||
localparam EP3_W = 128;
|
||||
localparam EP3_MTU = BYTE_MTU - $clog2(EP3_W/8);
|
||||
localparam EP4_W = 128;
|
||||
localparam EP4_MTU = BYTE_MTU - $clog2(EP4_W/8);
|
||||
localparam EP5_W = 128;
|
||||
localparam EP5_MTU = BYTE_MTU - $clog2(EP5_W/8);
|
||||
localparam EP6_W = 128;
|
||||
localparam EP6_MTU = BYTE_MTU - $clog2(EP6_W/8);
|
||||
localparam EP7_W = 128;
|
||||
localparam EP7_MTU = BYTE_MTU - $clog2(EP7_W/8);
|
||||
|
||||
wire rfnoc_chdr_clk, rfnoc_chdr_rst;
|
||||
wire rfnoc_ctrl_clk, rfnoc_ctrl_rst;
|
||||
@@ -192,83 +216,98 @@ module rfnoc_image_core #(
|
||||
// CHDR Crossbar
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
wire [CHDR_W-1:0] xb_to_ep0_tdata ;
|
||||
wire [PORT_W-1:0] xb_to_ep0_tdata ;
|
||||
wire xb_to_ep0_tlast ;
|
||||
wire xb_to_ep0_tvalid;
|
||||
wire xb_to_ep0_tready;
|
||||
wire [CHDR_W-1:0] ep0_to_xb_tdata ;
|
||||
wire [PORT_W-1:0] ep0_to_xb_tdata ;
|
||||
wire ep0_to_xb_tlast ;
|
||||
wire ep0_to_xb_tvalid;
|
||||
wire ep0_to_xb_tready;
|
||||
wire [CHDR_W-1:0] xb_to_ep1_tdata ;
|
||||
wire [PORT_W-1:0] xb_to_ep1_tdata ;
|
||||
wire xb_to_ep1_tlast ;
|
||||
wire xb_to_ep1_tvalid;
|
||||
wire xb_to_ep1_tready;
|
||||
wire [CHDR_W-1:0] ep1_to_xb_tdata ;
|
||||
wire [PORT_W-1:0] ep1_to_xb_tdata ;
|
||||
wire ep1_to_xb_tlast ;
|
||||
wire ep1_to_xb_tvalid;
|
||||
wire ep1_to_xb_tready;
|
||||
wire [CHDR_W-1:0] xb_to_ep2_tdata ;
|
||||
wire [PORT_W-1:0] xb_to_ep2_tdata ;
|
||||
wire xb_to_ep2_tlast ;
|
||||
wire xb_to_ep2_tvalid;
|
||||
wire xb_to_ep2_tready;
|
||||
wire [CHDR_W-1:0] ep2_to_xb_tdata ;
|
||||
wire [PORT_W-1:0] ep2_to_xb_tdata ;
|
||||
wire ep2_to_xb_tlast ;
|
||||
wire ep2_to_xb_tvalid;
|
||||
wire ep2_to_xb_tready;
|
||||
wire [CHDR_W-1:0] xb_to_ep3_tdata ;
|
||||
wire [PORT_W-1:0] xb_to_ep3_tdata ;
|
||||
wire xb_to_ep3_tlast ;
|
||||
wire xb_to_ep3_tvalid;
|
||||
wire xb_to_ep3_tready;
|
||||
wire [CHDR_W-1:0] ep3_to_xb_tdata ;
|
||||
wire [PORT_W-1:0] ep3_to_xb_tdata ;
|
||||
wire ep3_to_xb_tlast ;
|
||||
wire ep3_to_xb_tvalid;
|
||||
wire ep3_to_xb_tready;
|
||||
wire [CHDR_W-1:0] xb_to_ep4_tdata ;
|
||||
wire [PORT_W-1:0] xb_to_ep4_tdata ;
|
||||
wire xb_to_ep4_tlast ;
|
||||
wire xb_to_ep4_tvalid;
|
||||
wire xb_to_ep4_tready;
|
||||
wire [CHDR_W-1:0] ep4_to_xb_tdata ;
|
||||
wire [PORT_W-1:0] ep4_to_xb_tdata ;
|
||||
wire ep4_to_xb_tlast ;
|
||||
wire ep4_to_xb_tvalid;
|
||||
wire ep4_to_xb_tready;
|
||||
wire [CHDR_W-1:0] xb_to_ep5_tdata ;
|
||||
wire [PORT_W-1:0] xb_to_ep5_tdata ;
|
||||
wire xb_to_ep5_tlast ;
|
||||
wire xb_to_ep5_tvalid;
|
||||
wire xb_to_ep5_tready;
|
||||
wire [CHDR_W-1:0] ep5_to_xb_tdata ;
|
||||
wire [PORT_W-1:0] ep5_to_xb_tdata ;
|
||||
wire ep5_to_xb_tlast ;
|
||||
wire ep5_to_xb_tvalid;
|
||||
wire ep5_to_xb_tready;
|
||||
wire [CHDR_W-1:0] xb_to_ep6_tdata ;
|
||||
wire [PORT_W-1:0] xb_to_ep6_tdata ;
|
||||
wire xb_to_ep6_tlast ;
|
||||
wire xb_to_ep6_tvalid;
|
||||
wire xb_to_ep6_tready;
|
||||
wire [CHDR_W-1:0] ep6_to_xb_tdata ;
|
||||
wire [PORT_W-1:0] ep6_to_xb_tdata ;
|
||||
wire ep6_to_xb_tlast ;
|
||||
wire ep6_to_xb_tvalid;
|
||||
wire ep6_to_xb_tready;
|
||||
wire [CHDR_W-1:0] xb_to_ep7_tdata ;
|
||||
wire [PORT_W-1:0] xb_to_ep7_tdata ;
|
||||
wire xb_to_ep7_tlast ;
|
||||
wire xb_to_ep7_tvalid;
|
||||
wire xb_to_ep7_tready;
|
||||
wire [CHDR_W-1:0] ep7_to_xb_tdata ;
|
||||
wire [PORT_W-1:0] ep7_to_xb_tdata ;
|
||||
wire ep7_to_xb_tlast ;
|
||||
wire ep7_to_xb_tvalid;
|
||||
wire ep7_to_xb_tready;
|
||||
|
||||
chdr_crossbar_nxn #(
|
||||
.CHDR_W (CHDR_W),
|
||||
.PORT_W (PORT_W),
|
||||
.NPORTS (14),
|
||||
.CHDR_WIDTHS ({EP7_W, EP6_W, EP5_W, EP4_W, EP3_W, EP2_W, EP1_W, EP0_W, DMA_W, ETH4_W, ETH3_W, ETH2_W, ETH1_W, ETH0_W}),
|
||||
.DEFAULT_PORT (0),
|
||||
.MTU (MTU),
|
||||
.ROUTES ({ 14'b11111111111111,
|
||||
14'b11111111111111,
|
||||
14'b11111111111111,
|
||||
14'b11111111111111,
|
||||
14'b11111111111111,
|
||||
14'b11111111111111,
|
||||
14'b11111111111111,
|
||||
14'b11111111111111,
|
||||
14'b11111111100000,
|
||||
14'b11111111010000,
|
||||
14'b11111111001000,
|
||||
14'b11111111000100,
|
||||
14'b11111111000010,
|
||||
14'b11111111000001 }),
|
||||
.BYTE_MTU (BYTE_MTU),
|
||||
.ROUTE_TBL_SIZE (6),
|
||||
.MUX_ALLOC ("ROUND-ROBIN"),
|
||||
.OPTIMIZE ("AREA"),
|
||||
.NPORTS_MGMT (6),
|
||||
.EXT_RTCFG_PORT (0),
|
||||
.PROTOVER (PROTOVER)
|
||||
) chdr_xb_i (
|
||||
) chdr_crossbar_nxn_i (
|
||||
.clk (rfnoc_chdr_clk),
|
||||
.reset (rfnoc_chdr_rst),
|
||||
.device_id (device_id),
|
||||
@@ -293,28 +332,30 @@ module rfnoc_image_core #(
|
||||
|
||||
// If requested buffer size is 0, use the minimum SRL-based FIFO size.
|
||||
// Otherwise, make sure it's at least two MTU-sized packets.
|
||||
localparam REQ_BUFF_SIZE_EP0 = (32768)/(CHDR_W/8);
|
||||
localparam REQ_BUFF_SIZE_EP0 = 2048;
|
||||
localparam INGRESS_BUFF_SIZE_EP0 =
|
||||
REQ_BUFF_SIZE_EP0 == 0 ? 5 :
|
||||
REQ_BUFF_SIZE_EP0 < 2*(2**MTU) ? MTU+1 :
|
||||
$clog2(REQ_BUFF_SIZE_EP0);
|
||||
REQ_BUFF_SIZE_EP0 == 0 ? 5 :
|
||||
REQ_BUFF_SIZE_EP0 < 2*(2**EP0_MTU) ? EP0_MTU+1 :
|
||||
$clog2(REQ_BUFF_SIZE_EP0);
|
||||
|
||||
wire [CHDR_W-1:0] m_ep0_out0_tdata;
|
||||
wire m_ep0_out0_tlast;
|
||||
wire m_ep0_out0_tvalid;
|
||||
wire m_ep0_out0_tready;
|
||||
wire [CHDR_W-1:0] s_ep0_in0_tdata;
|
||||
wire s_ep0_in0_tlast;
|
||||
wire s_ep0_in0_tvalid;
|
||||
wire s_ep0_in0_tready;
|
||||
wire [ 31:0] m_ep0_ctrl_tdata, s_ep0_ctrl_tdata;
|
||||
wire m_ep0_ctrl_tlast, s_ep0_ctrl_tlast;
|
||||
wire m_ep0_ctrl_tvalid, s_ep0_ctrl_tvalid;
|
||||
wire m_ep0_ctrl_tready, s_ep0_ctrl_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] m_ep0_out0_tdata;
|
||||
wire m_ep0_out0_tlast;
|
||||
wire m_ep0_out0_tvalid;
|
||||
wire m_ep0_out0_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] s_ep0_in0_tdata;
|
||||
wire s_ep0_in0_tlast;
|
||||
wire s_ep0_in0_tvalid;
|
||||
wire s_ep0_in0_tready;
|
||||
wire [ 31:0] m_ep0_ctrl_tdata, s_ep0_ctrl_tdata;
|
||||
wire m_ep0_ctrl_tlast, s_ep0_ctrl_tlast;
|
||||
wire m_ep0_ctrl_tvalid, s_ep0_ctrl_tvalid;
|
||||
wire m_ep0_ctrl_tready, s_ep0_ctrl_tready;
|
||||
|
||||
chdr_stream_endpoint #(
|
||||
.DEVICE_FAMILY ("ULTRASCALE"),
|
||||
.PROTOVER (PROTOVER),
|
||||
.CHDR_W (CHDR_W),
|
||||
.CHDR_W (EP0_W),
|
||||
.BLOCK_CHDR_W (BLOCK_CHDR_W),
|
||||
.AXIS_CTRL_EN (1),
|
||||
.AXIS_DATA_EN (1),
|
||||
.NUM_DATA_I (1),
|
||||
@@ -322,7 +363,7 @@ module rfnoc_image_core #(
|
||||
.INST_NUM (0),
|
||||
.CTRL_XBAR_PORT (1),
|
||||
.INGRESS_BUFF_SIZE (INGRESS_BUFF_SIZE_EP0),
|
||||
.MTU (MTU),
|
||||
.MTU (EP0_MTU),
|
||||
.REPORT_STRM_ERRS (1)
|
||||
) ep0_i (
|
||||
.rfnoc_chdr_clk (rfnoc_chdr_clk),
|
||||
@@ -362,28 +403,30 @@ module rfnoc_image_core #(
|
||||
|
||||
// If requested buffer size is 0, use the minimum SRL-based FIFO size.
|
||||
// Otherwise, make sure it's at least two MTU-sized packets.
|
||||
localparam REQ_BUFF_SIZE_EP1 = (32768)/(CHDR_W/8);
|
||||
localparam REQ_BUFF_SIZE_EP1 = 2048;
|
||||
localparam INGRESS_BUFF_SIZE_EP1 =
|
||||
REQ_BUFF_SIZE_EP1 == 0 ? 5 :
|
||||
REQ_BUFF_SIZE_EP1 < 2*(2**MTU) ? MTU+1 :
|
||||
$clog2(REQ_BUFF_SIZE_EP1);
|
||||
REQ_BUFF_SIZE_EP1 == 0 ? 5 :
|
||||
REQ_BUFF_SIZE_EP1 < 2*(2**EP1_MTU) ? EP1_MTU+1 :
|
||||
$clog2(REQ_BUFF_SIZE_EP1);
|
||||
|
||||
wire [CHDR_W-1:0] m_ep1_out0_tdata;
|
||||
wire m_ep1_out0_tlast;
|
||||
wire m_ep1_out0_tvalid;
|
||||
wire m_ep1_out0_tready;
|
||||
wire [CHDR_W-1:0] s_ep1_in0_tdata;
|
||||
wire s_ep1_in0_tlast;
|
||||
wire s_ep1_in0_tvalid;
|
||||
wire s_ep1_in0_tready;
|
||||
wire [ 31:0] m_ep1_ctrl_tdata, s_ep1_ctrl_tdata;
|
||||
wire m_ep1_ctrl_tlast, s_ep1_ctrl_tlast;
|
||||
wire m_ep1_ctrl_tvalid, s_ep1_ctrl_tvalid;
|
||||
wire m_ep1_ctrl_tready, s_ep1_ctrl_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] m_ep1_out0_tdata;
|
||||
wire m_ep1_out0_tlast;
|
||||
wire m_ep1_out0_tvalid;
|
||||
wire m_ep1_out0_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] s_ep1_in0_tdata;
|
||||
wire s_ep1_in0_tlast;
|
||||
wire s_ep1_in0_tvalid;
|
||||
wire s_ep1_in0_tready;
|
||||
wire [ 31:0] m_ep1_ctrl_tdata, s_ep1_ctrl_tdata;
|
||||
wire m_ep1_ctrl_tlast, s_ep1_ctrl_tlast;
|
||||
wire m_ep1_ctrl_tvalid, s_ep1_ctrl_tvalid;
|
||||
wire m_ep1_ctrl_tready, s_ep1_ctrl_tready;
|
||||
|
||||
chdr_stream_endpoint #(
|
||||
.DEVICE_FAMILY ("ULTRASCALE"),
|
||||
.PROTOVER (PROTOVER),
|
||||
.CHDR_W (CHDR_W),
|
||||
.CHDR_W (EP1_W),
|
||||
.BLOCK_CHDR_W (BLOCK_CHDR_W),
|
||||
.AXIS_CTRL_EN (0),
|
||||
.AXIS_DATA_EN (1),
|
||||
.NUM_DATA_I (1),
|
||||
@@ -391,7 +434,7 @@ module rfnoc_image_core #(
|
||||
.INST_NUM (1),
|
||||
.CTRL_XBAR_PORT (2),
|
||||
.INGRESS_BUFF_SIZE (INGRESS_BUFF_SIZE_EP1),
|
||||
.MTU (MTU),
|
||||
.MTU (EP1_MTU),
|
||||
.REPORT_STRM_ERRS (1)
|
||||
) ep1_i (
|
||||
.rfnoc_chdr_clk (rfnoc_chdr_clk),
|
||||
@@ -431,28 +474,30 @@ module rfnoc_image_core #(
|
||||
|
||||
// If requested buffer size is 0, use the minimum SRL-based FIFO size.
|
||||
// Otherwise, make sure it's at least two MTU-sized packets.
|
||||
localparam REQ_BUFF_SIZE_EP2 = (32768)/(CHDR_W/8);
|
||||
localparam REQ_BUFF_SIZE_EP2 = 2048;
|
||||
localparam INGRESS_BUFF_SIZE_EP2 =
|
||||
REQ_BUFF_SIZE_EP2 == 0 ? 5 :
|
||||
REQ_BUFF_SIZE_EP2 < 2*(2**MTU) ? MTU+1 :
|
||||
$clog2(REQ_BUFF_SIZE_EP2);
|
||||
REQ_BUFF_SIZE_EP2 == 0 ? 5 :
|
||||
REQ_BUFF_SIZE_EP2 < 2*(2**EP2_MTU) ? EP2_MTU+1 :
|
||||
$clog2(REQ_BUFF_SIZE_EP2);
|
||||
|
||||
wire [CHDR_W-1:0] m_ep2_out0_tdata;
|
||||
wire m_ep2_out0_tlast;
|
||||
wire m_ep2_out0_tvalid;
|
||||
wire m_ep2_out0_tready;
|
||||
wire [CHDR_W-1:0] s_ep2_in0_tdata;
|
||||
wire s_ep2_in0_tlast;
|
||||
wire s_ep2_in0_tvalid;
|
||||
wire s_ep2_in0_tready;
|
||||
wire [ 31:0] m_ep2_ctrl_tdata, s_ep2_ctrl_tdata;
|
||||
wire m_ep2_ctrl_tlast, s_ep2_ctrl_tlast;
|
||||
wire m_ep2_ctrl_tvalid, s_ep2_ctrl_tvalid;
|
||||
wire m_ep2_ctrl_tready, s_ep2_ctrl_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] m_ep2_out0_tdata;
|
||||
wire m_ep2_out0_tlast;
|
||||
wire m_ep2_out0_tvalid;
|
||||
wire m_ep2_out0_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] s_ep2_in0_tdata;
|
||||
wire s_ep2_in0_tlast;
|
||||
wire s_ep2_in0_tvalid;
|
||||
wire s_ep2_in0_tready;
|
||||
wire [ 31:0] m_ep2_ctrl_tdata, s_ep2_ctrl_tdata;
|
||||
wire m_ep2_ctrl_tlast, s_ep2_ctrl_tlast;
|
||||
wire m_ep2_ctrl_tvalid, s_ep2_ctrl_tvalid;
|
||||
wire m_ep2_ctrl_tready, s_ep2_ctrl_tready;
|
||||
|
||||
chdr_stream_endpoint #(
|
||||
.DEVICE_FAMILY ("ULTRASCALE"),
|
||||
.PROTOVER (PROTOVER),
|
||||
.CHDR_W (CHDR_W),
|
||||
.CHDR_W (EP2_W),
|
||||
.BLOCK_CHDR_W (BLOCK_CHDR_W),
|
||||
.AXIS_CTRL_EN (0),
|
||||
.AXIS_DATA_EN (1),
|
||||
.NUM_DATA_I (1),
|
||||
@@ -460,7 +505,7 @@ module rfnoc_image_core #(
|
||||
.INST_NUM (2),
|
||||
.CTRL_XBAR_PORT (3),
|
||||
.INGRESS_BUFF_SIZE (INGRESS_BUFF_SIZE_EP2),
|
||||
.MTU (MTU),
|
||||
.MTU (EP2_MTU),
|
||||
.REPORT_STRM_ERRS (1)
|
||||
) ep2_i (
|
||||
.rfnoc_chdr_clk (rfnoc_chdr_clk),
|
||||
@@ -500,28 +545,30 @@ module rfnoc_image_core #(
|
||||
|
||||
// If requested buffer size is 0, use the minimum SRL-based FIFO size.
|
||||
// Otherwise, make sure it's at least two MTU-sized packets.
|
||||
localparam REQ_BUFF_SIZE_EP3 = (32768)/(CHDR_W/8);
|
||||
localparam REQ_BUFF_SIZE_EP3 = 2048;
|
||||
localparam INGRESS_BUFF_SIZE_EP3 =
|
||||
REQ_BUFF_SIZE_EP3 == 0 ? 5 :
|
||||
REQ_BUFF_SIZE_EP3 < 2*(2**MTU) ? MTU+1 :
|
||||
$clog2(REQ_BUFF_SIZE_EP3);
|
||||
REQ_BUFF_SIZE_EP3 == 0 ? 5 :
|
||||
REQ_BUFF_SIZE_EP3 < 2*(2**EP3_MTU) ? EP3_MTU+1 :
|
||||
$clog2(REQ_BUFF_SIZE_EP3);
|
||||
|
||||
wire [CHDR_W-1:0] m_ep3_out0_tdata;
|
||||
wire m_ep3_out0_tlast;
|
||||
wire m_ep3_out0_tvalid;
|
||||
wire m_ep3_out0_tready;
|
||||
wire [CHDR_W-1:0] s_ep3_in0_tdata;
|
||||
wire s_ep3_in0_tlast;
|
||||
wire s_ep3_in0_tvalid;
|
||||
wire s_ep3_in0_tready;
|
||||
wire [ 31:0] m_ep3_ctrl_tdata, s_ep3_ctrl_tdata;
|
||||
wire m_ep3_ctrl_tlast, s_ep3_ctrl_tlast;
|
||||
wire m_ep3_ctrl_tvalid, s_ep3_ctrl_tvalid;
|
||||
wire m_ep3_ctrl_tready, s_ep3_ctrl_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] m_ep3_out0_tdata;
|
||||
wire m_ep3_out0_tlast;
|
||||
wire m_ep3_out0_tvalid;
|
||||
wire m_ep3_out0_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] s_ep3_in0_tdata;
|
||||
wire s_ep3_in0_tlast;
|
||||
wire s_ep3_in0_tvalid;
|
||||
wire s_ep3_in0_tready;
|
||||
wire [ 31:0] m_ep3_ctrl_tdata, s_ep3_ctrl_tdata;
|
||||
wire m_ep3_ctrl_tlast, s_ep3_ctrl_tlast;
|
||||
wire m_ep3_ctrl_tvalid, s_ep3_ctrl_tvalid;
|
||||
wire m_ep3_ctrl_tready, s_ep3_ctrl_tready;
|
||||
|
||||
chdr_stream_endpoint #(
|
||||
.DEVICE_FAMILY ("ULTRASCALE"),
|
||||
.PROTOVER (PROTOVER),
|
||||
.CHDR_W (CHDR_W),
|
||||
.CHDR_W (EP3_W),
|
||||
.BLOCK_CHDR_W (BLOCK_CHDR_W),
|
||||
.AXIS_CTRL_EN (0),
|
||||
.AXIS_DATA_EN (1),
|
||||
.NUM_DATA_I (1),
|
||||
@@ -529,7 +576,7 @@ module rfnoc_image_core #(
|
||||
.INST_NUM (3),
|
||||
.CTRL_XBAR_PORT (4),
|
||||
.INGRESS_BUFF_SIZE (INGRESS_BUFF_SIZE_EP3),
|
||||
.MTU (MTU),
|
||||
.MTU (EP3_MTU),
|
||||
.REPORT_STRM_ERRS (1)
|
||||
) ep3_i (
|
||||
.rfnoc_chdr_clk (rfnoc_chdr_clk),
|
||||
@@ -569,28 +616,30 @@ module rfnoc_image_core #(
|
||||
|
||||
// If requested buffer size is 0, use the minimum SRL-based FIFO size.
|
||||
// Otherwise, make sure it's at least two MTU-sized packets.
|
||||
localparam REQ_BUFF_SIZE_EP4 = (32768)/(CHDR_W/8);
|
||||
localparam REQ_BUFF_SIZE_EP4 = 2048;
|
||||
localparam INGRESS_BUFF_SIZE_EP4 =
|
||||
REQ_BUFF_SIZE_EP4 == 0 ? 5 :
|
||||
REQ_BUFF_SIZE_EP4 < 2*(2**MTU) ? MTU+1 :
|
||||
$clog2(REQ_BUFF_SIZE_EP4);
|
||||
REQ_BUFF_SIZE_EP4 == 0 ? 5 :
|
||||
REQ_BUFF_SIZE_EP4 < 2*(2**EP4_MTU) ? EP4_MTU+1 :
|
||||
$clog2(REQ_BUFF_SIZE_EP4);
|
||||
|
||||
wire [CHDR_W-1:0] m_ep4_out0_tdata;
|
||||
wire m_ep4_out0_tlast;
|
||||
wire m_ep4_out0_tvalid;
|
||||
wire m_ep4_out0_tready;
|
||||
wire [CHDR_W-1:0] s_ep4_in0_tdata;
|
||||
wire s_ep4_in0_tlast;
|
||||
wire s_ep4_in0_tvalid;
|
||||
wire s_ep4_in0_tready;
|
||||
wire [ 31:0] m_ep4_ctrl_tdata, s_ep4_ctrl_tdata;
|
||||
wire m_ep4_ctrl_tlast, s_ep4_ctrl_tlast;
|
||||
wire m_ep4_ctrl_tvalid, s_ep4_ctrl_tvalid;
|
||||
wire m_ep4_ctrl_tready, s_ep4_ctrl_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] m_ep4_out0_tdata;
|
||||
wire m_ep4_out0_tlast;
|
||||
wire m_ep4_out0_tvalid;
|
||||
wire m_ep4_out0_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] s_ep4_in0_tdata;
|
||||
wire s_ep4_in0_tlast;
|
||||
wire s_ep4_in0_tvalid;
|
||||
wire s_ep4_in0_tready;
|
||||
wire [ 31:0] m_ep4_ctrl_tdata, s_ep4_ctrl_tdata;
|
||||
wire m_ep4_ctrl_tlast, s_ep4_ctrl_tlast;
|
||||
wire m_ep4_ctrl_tvalid, s_ep4_ctrl_tvalid;
|
||||
wire m_ep4_ctrl_tready, s_ep4_ctrl_tready;
|
||||
|
||||
chdr_stream_endpoint #(
|
||||
.DEVICE_FAMILY ("ULTRASCALE"),
|
||||
.PROTOVER (PROTOVER),
|
||||
.CHDR_W (CHDR_W),
|
||||
.CHDR_W (EP4_W),
|
||||
.BLOCK_CHDR_W (BLOCK_CHDR_W),
|
||||
.AXIS_CTRL_EN (0),
|
||||
.AXIS_DATA_EN (1),
|
||||
.NUM_DATA_I (1),
|
||||
@@ -598,7 +647,7 @@ module rfnoc_image_core #(
|
||||
.INST_NUM (4),
|
||||
.CTRL_XBAR_PORT (5),
|
||||
.INGRESS_BUFF_SIZE (INGRESS_BUFF_SIZE_EP4),
|
||||
.MTU (MTU),
|
||||
.MTU (EP4_MTU),
|
||||
.REPORT_STRM_ERRS (1)
|
||||
) ep4_i (
|
||||
.rfnoc_chdr_clk (rfnoc_chdr_clk),
|
||||
@@ -638,28 +687,30 @@ module rfnoc_image_core #(
|
||||
|
||||
// If requested buffer size is 0, use the minimum SRL-based FIFO size.
|
||||
// Otherwise, make sure it's at least two MTU-sized packets.
|
||||
localparam REQ_BUFF_SIZE_EP5 = (32768)/(CHDR_W/8);
|
||||
localparam REQ_BUFF_SIZE_EP5 = 2048;
|
||||
localparam INGRESS_BUFF_SIZE_EP5 =
|
||||
REQ_BUFF_SIZE_EP5 == 0 ? 5 :
|
||||
REQ_BUFF_SIZE_EP5 < 2*(2**MTU) ? MTU+1 :
|
||||
$clog2(REQ_BUFF_SIZE_EP5);
|
||||
REQ_BUFF_SIZE_EP5 == 0 ? 5 :
|
||||
REQ_BUFF_SIZE_EP5 < 2*(2**EP5_MTU) ? EP5_MTU+1 :
|
||||
$clog2(REQ_BUFF_SIZE_EP5);
|
||||
|
||||
wire [CHDR_W-1:0] m_ep5_out0_tdata;
|
||||
wire m_ep5_out0_tlast;
|
||||
wire m_ep5_out0_tvalid;
|
||||
wire m_ep5_out0_tready;
|
||||
wire [CHDR_W-1:0] s_ep5_in0_tdata;
|
||||
wire s_ep5_in0_tlast;
|
||||
wire s_ep5_in0_tvalid;
|
||||
wire s_ep5_in0_tready;
|
||||
wire [ 31:0] m_ep5_ctrl_tdata, s_ep5_ctrl_tdata;
|
||||
wire m_ep5_ctrl_tlast, s_ep5_ctrl_tlast;
|
||||
wire m_ep5_ctrl_tvalid, s_ep5_ctrl_tvalid;
|
||||
wire m_ep5_ctrl_tready, s_ep5_ctrl_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] m_ep5_out0_tdata;
|
||||
wire m_ep5_out0_tlast;
|
||||
wire m_ep5_out0_tvalid;
|
||||
wire m_ep5_out0_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] s_ep5_in0_tdata;
|
||||
wire s_ep5_in0_tlast;
|
||||
wire s_ep5_in0_tvalid;
|
||||
wire s_ep5_in0_tready;
|
||||
wire [ 31:0] m_ep5_ctrl_tdata, s_ep5_ctrl_tdata;
|
||||
wire m_ep5_ctrl_tlast, s_ep5_ctrl_tlast;
|
||||
wire m_ep5_ctrl_tvalid, s_ep5_ctrl_tvalid;
|
||||
wire m_ep5_ctrl_tready, s_ep5_ctrl_tready;
|
||||
|
||||
chdr_stream_endpoint #(
|
||||
.DEVICE_FAMILY ("ULTRASCALE"),
|
||||
.PROTOVER (PROTOVER),
|
||||
.CHDR_W (CHDR_W),
|
||||
.CHDR_W (EP5_W),
|
||||
.BLOCK_CHDR_W (BLOCK_CHDR_W),
|
||||
.AXIS_CTRL_EN (0),
|
||||
.AXIS_DATA_EN (1),
|
||||
.NUM_DATA_I (1),
|
||||
@@ -667,7 +718,7 @@ module rfnoc_image_core #(
|
||||
.INST_NUM (5),
|
||||
.CTRL_XBAR_PORT (6),
|
||||
.INGRESS_BUFF_SIZE (INGRESS_BUFF_SIZE_EP5),
|
||||
.MTU (MTU),
|
||||
.MTU (EP5_MTU),
|
||||
.REPORT_STRM_ERRS (1)
|
||||
) ep5_i (
|
||||
.rfnoc_chdr_clk (rfnoc_chdr_clk),
|
||||
@@ -707,28 +758,30 @@ module rfnoc_image_core #(
|
||||
|
||||
// If requested buffer size is 0, use the minimum SRL-based FIFO size.
|
||||
// Otherwise, make sure it's at least two MTU-sized packets.
|
||||
localparam REQ_BUFF_SIZE_EP6 = (32768)/(CHDR_W/8);
|
||||
localparam REQ_BUFF_SIZE_EP6 = 2048;
|
||||
localparam INGRESS_BUFF_SIZE_EP6 =
|
||||
REQ_BUFF_SIZE_EP6 == 0 ? 5 :
|
||||
REQ_BUFF_SIZE_EP6 < 2*(2**MTU) ? MTU+1 :
|
||||
$clog2(REQ_BUFF_SIZE_EP6);
|
||||
REQ_BUFF_SIZE_EP6 == 0 ? 5 :
|
||||
REQ_BUFF_SIZE_EP6 < 2*(2**EP6_MTU) ? EP6_MTU+1 :
|
||||
$clog2(REQ_BUFF_SIZE_EP6);
|
||||
|
||||
wire [CHDR_W-1:0] m_ep6_out0_tdata;
|
||||
wire m_ep6_out0_tlast;
|
||||
wire m_ep6_out0_tvalid;
|
||||
wire m_ep6_out0_tready;
|
||||
wire [CHDR_W-1:0] s_ep6_in0_tdata;
|
||||
wire s_ep6_in0_tlast;
|
||||
wire s_ep6_in0_tvalid;
|
||||
wire s_ep6_in0_tready;
|
||||
wire [ 31:0] m_ep6_ctrl_tdata, s_ep6_ctrl_tdata;
|
||||
wire m_ep6_ctrl_tlast, s_ep6_ctrl_tlast;
|
||||
wire m_ep6_ctrl_tvalid, s_ep6_ctrl_tvalid;
|
||||
wire m_ep6_ctrl_tready, s_ep6_ctrl_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] m_ep6_out0_tdata;
|
||||
wire m_ep6_out0_tlast;
|
||||
wire m_ep6_out0_tvalid;
|
||||
wire m_ep6_out0_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] s_ep6_in0_tdata;
|
||||
wire s_ep6_in0_tlast;
|
||||
wire s_ep6_in0_tvalid;
|
||||
wire s_ep6_in0_tready;
|
||||
wire [ 31:0] m_ep6_ctrl_tdata, s_ep6_ctrl_tdata;
|
||||
wire m_ep6_ctrl_tlast, s_ep6_ctrl_tlast;
|
||||
wire m_ep6_ctrl_tvalid, s_ep6_ctrl_tvalid;
|
||||
wire m_ep6_ctrl_tready, s_ep6_ctrl_tready;
|
||||
|
||||
chdr_stream_endpoint #(
|
||||
.DEVICE_FAMILY ("ULTRASCALE"),
|
||||
.PROTOVER (PROTOVER),
|
||||
.CHDR_W (CHDR_W),
|
||||
.CHDR_W (EP6_W),
|
||||
.BLOCK_CHDR_W (BLOCK_CHDR_W),
|
||||
.AXIS_CTRL_EN (0),
|
||||
.AXIS_DATA_EN (1),
|
||||
.NUM_DATA_I (1),
|
||||
@@ -736,7 +789,7 @@ module rfnoc_image_core #(
|
||||
.INST_NUM (6),
|
||||
.CTRL_XBAR_PORT (7),
|
||||
.INGRESS_BUFF_SIZE (INGRESS_BUFF_SIZE_EP6),
|
||||
.MTU (MTU),
|
||||
.MTU (EP6_MTU),
|
||||
.REPORT_STRM_ERRS (1)
|
||||
) ep6_i (
|
||||
.rfnoc_chdr_clk (rfnoc_chdr_clk),
|
||||
@@ -776,28 +829,30 @@ module rfnoc_image_core #(
|
||||
|
||||
// If requested buffer size is 0, use the minimum SRL-based FIFO size.
|
||||
// Otherwise, make sure it's at least two MTU-sized packets.
|
||||
localparam REQ_BUFF_SIZE_EP7 = (32768)/(CHDR_W/8);
|
||||
localparam REQ_BUFF_SIZE_EP7 = 2048;
|
||||
localparam INGRESS_BUFF_SIZE_EP7 =
|
||||
REQ_BUFF_SIZE_EP7 == 0 ? 5 :
|
||||
REQ_BUFF_SIZE_EP7 < 2*(2**MTU) ? MTU+1 :
|
||||
$clog2(REQ_BUFF_SIZE_EP7);
|
||||
REQ_BUFF_SIZE_EP7 == 0 ? 5 :
|
||||
REQ_BUFF_SIZE_EP7 < 2*(2**EP7_MTU) ? EP7_MTU+1 :
|
||||
$clog2(REQ_BUFF_SIZE_EP7);
|
||||
|
||||
wire [CHDR_W-1:0] m_ep7_out0_tdata;
|
||||
wire m_ep7_out0_tlast;
|
||||
wire m_ep7_out0_tvalid;
|
||||
wire m_ep7_out0_tready;
|
||||
wire [CHDR_W-1:0] s_ep7_in0_tdata;
|
||||
wire s_ep7_in0_tlast;
|
||||
wire s_ep7_in0_tvalid;
|
||||
wire s_ep7_in0_tready;
|
||||
wire [ 31:0] m_ep7_ctrl_tdata, s_ep7_ctrl_tdata;
|
||||
wire m_ep7_ctrl_tlast, s_ep7_ctrl_tlast;
|
||||
wire m_ep7_ctrl_tvalid, s_ep7_ctrl_tvalid;
|
||||
wire m_ep7_ctrl_tready, s_ep7_ctrl_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] m_ep7_out0_tdata;
|
||||
wire m_ep7_out0_tlast;
|
||||
wire m_ep7_out0_tvalid;
|
||||
wire m_ep7_out0_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] s_ep7_in0_tdata;
|
||||
wire s_ep7_in0_tlast;
|
||||
wire s_ep7_in0_tvalid;
|
||||
wire s_ep7_in0_tready;
|
||||
wire [ 31:0] m_ep7_ctrl_tdata, s_ep7_ctrl_tdata;
|
||||
wire m_ep7_ctrl_tlast, s_ep7_ctrl_tlast;
|
||||
wire m_ep7_ctrl_tvalid, s_ep7_ctrl_tvalid;
|
||||
wire m_ep7_ctrl_tready, s_ep7_ctrl_tready;
|
||||
|
||||
chdr_stream_endpoint #(
|
||||
.DEVICE_FAMILY ("ULTRASCALE"),
|
||||
.PROTOVER (PROTOVER),
|
||||
.CHDR_W (CHDR_W),
|
||||
.CHDR_W (EP7_W),
|
||||
.BLOCK_CHDR_W (BLOCK_CHDR_W),
|
||||
.AXIS_CTRL_EN (0),
|
||||
.AXIS_DATA_EN (1),
|
||||
.NUM_DATA_I (1),
|
||||
@@ -805,7 +860,7 @@ module rfnoc_image_core #(
|
||||
.INST_NUM (7),
|
||||
.CTRL_XBAR_PORT (8),
|
||||
.INGRESS_BUFF_SIZE (INGRESS_BUFF_SIZE_EP7),
|
||||
.MTU (MTU),
|
||||
.MTU (EP7_MTU),
|
||||
.REPORT_STRM_ERRS (1)
|
||||
) ep7_i (
|
||||
.rfnoc_chdr_clk (rfnoc_chdr_clk),
|
||||
@@ -938,15 +993,15 @@ module rfnoc_image_core #(
|
||||
// radio0
|
||||
//-----------------------------------
|
||||
|
||||
wire radio0_radio_clk;
|
||||
wire [CHDR_W-1:0] s_radio0_in_1_tdata , s_radio0_in_0_tdata ;
|
||||
wire s_radio0_in_1_tlast , s_radio0_in_0_tlast ;
|
||||
wire s_radio0_in_1_tvalid, s_radio0_in_0_tvalid;
|
||||
wire s_radio0_in_1_tready, s_radio0_in_0_tready;
|
||||
wire [CHDR_W-1:0] m_radio0_out_1_tdata , m_radio0_out_0_tdata ;
|
||||
wire m_radio0_out_1_tlast , m_radio0_out_0_tlast ;
|
||||
wire m_radio0_out_1_tvalid, m_radio0_out_0_tvalid;
|
||||
wire m_radio0_out_1_tready, m_radio0_out_0_tready;
|
||||
wire radio0_radio_clk;
|
||||
wire [BLOCK_CHDR_W-1:0] s_radio0_in_1_tdata , s_radio0_in_0_tdata ;
|
||||
wire s_radio0_in_1_tlast , s_radio0_in_0_tlast ;
|
||||
wire s_radio0_in_1_tvalid, s_radio0_in_0_tvalid;
|
||||
wire s_radio0_in_1_tready, s_radio0_in_0_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] m_radio0_out_1_tdata , m_radio0_out_0_tdata ;
|
||||
wire m_radio0_out_1_tlast , m_radio0_out_0_tlast ;
|
||||
wire m_radio0_out_1_tvalid, m_radio0_out_0_tvalid;
|
||||
wire m_radio0_out_1_tready, m_radio0_out_0_tready;
|
||||
|
||||
// ctrlport
|
||||
wire [ 0:0] radio0_m_ctrlport_req_wr;
|
||||
@@ -971,11 +1026,11 @@ module rfnoc_image_core #(
|
||||
|
||||
rfnoc_block_radio #(
|
||||
.THIS_PORTID (2),
|
||||
.CHDR_W (CHDR_W),
|
||||
.CHDR_W (BLOCK_CHDR_W),
|
||||
.NUM_PORTS (2),
|
||||
.NIPC (RADIO_NIPC),
|
||||
.ITEM_W (32),
|
||||
.MTU (MTU)
|
||||
.MTU (BLOCK_MTU)
|
||||
) b_radio0_0 (
|
||||
.rfnoc_chdr_clk (rfnoc_chdr_clk),
|
||||
.rfnoc_ctrl_clk (rfnoc_ctrl_clk),
|
||||
@@ -1021,15 +1076,15 @@ module rfnoc_image_core #(
|
||||
// radio1
|
||||
//-----------------------------------
|
||||
|
||||
wire radio1_radio_clk;
|
||||
wire [CHDR_W-1:0] s_radio1_in_1_tdata , s_radio1_in_0_tdata ;
|
||||
wire s_radio1_in_1_tlast , s_radio1_in_0_tlast ;
|
||||
wire s_radio1_in_1_tvalid, s_radio1_in_0_tvalid;
|
||||
wire s_radio1_in_1_tready, s_radio1_in_0_tready;
|
||||
wire [CHDR_W-1:0] m_radio1_out_1_tdata , m_radio1_out_0_tdata ;
|
||||
wire m_radio1_out_1_tlast , m_radio1_out_0_tlast ;
|
||||
wire m_radio1_out_1_tvalid, m_radio1_out_0_tvalid;
|
||||
wire m_radio1_out_1_tready, m_radio1_out_0_tready;
|
||||
wire radio1_radio_clk;
|
||||
wire [BLOCK_CHDR_W-1:0] s_radio1_in_1_tdata , s_radio1_in_0_tdata ;
|
||||
wire s_radio1_in_1_tlast , s_radio1_in_0_tlast ;
|
||||
wire s_radio1_in_1_tvalid, s_radio1_in_0_tvalid;
|
||||
wire s_radio1_in_1_tready, s_radio1_in_0_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] m_radio1_out_1_tdata , m_radio1_out_0_tdata ;
|
||||
wire m_radio1_out_1_tlast , m_radio1_out_0_tlast ;
|
||||
wire m_radio1_out_1_tvalid, m_radio1_out_0_tvalid;
|
||||
wire m_radio1_out_1_tready, m_radio1_out_0_tready;
|
||||
|
||||
// ctrlport
|
||||
wire [ 0:0] radio1_m_ctrlport_req_wr;
|
||||
@@ -1054,11 +1109,11 @@ module rfnoc_image_core #(
|
||||
|
||||
rfnoc_block_radio #(
|
||||
.THIS_PORTID (3),
|
||||
.CHDR_W (CHDR_W),
|
||||
.CHDR_W (BLOCK_CHDR_W),
|
||||
.NUM_PORTS (2),
|
||||
.NIPC (RADIO_NIPC),
|
||||
.ITEM_W (32),
|
||||
.MTU (MTU)
|
||||
.MTU (BLOCK_MTU)
|
||||
) b_radio1_1 (
|
||||
.rfnoc_chdr_clk (rfnoc_chdr_clk),
|
||||
.rfnoc_ctrl_clk (rfnoc_ctrl_clk),
|
||||
@@ -1104,15 +1159,15 @@ module rfnoc_image_core #(
|
||||
// replay0
|
||||
//-----------------------------------
|
||||
|
||||
wire replay0_mem_clk;
|
||||
wire [CHDR_W-1:0] s_replay0_in_3_tdata , s_replay0_in_2_tdata , s_replay0_in_1_tdata , s_replay0_in_0_tdata ;
|
||||
wire s_replay0_in_3_tlast , s_replay0_in_2_tlast , s_replay0_in_1_tlast , s_replay0_in_0_tlast ;
|
||||
wire s_replay0_in_3_tvalid, s_replay0_in_2_tvalid, s_replay0_in_1_tvalid, s_replay0_in_0_tvalid;
|
||||
wire s_replay0_in_3_tready, s_replay0_in_2_tready, s_replay0_in_1_tready, s_replay0_in_0_tready;
|
||||
wire [CHDR_W-1:0] m_replay0_out_3_tdata , m_replay0_out_2_tdata , m_replay0_out_1_tdata , m_replay0_out_0_tdata ;
|
||||
wire m_replay0_out_3_tlast , m_replay0_out_2_tlast , m_replay0_out_1_tlast , m_replay0_out_0_tlast ;
|
||||
wire m_replay0_out_3_tvalid, m_replay0_out_2_tvalid, m_replay0_out_1_tvalid, m_replay0_out_0_tvalid;
|
||||
wire m_replay0_out_3_tready, m_replay0_out_2_tready, m_replay0_out_1_tready, m_replay0_out_0_tready;
|
||||
wire replay0_mem_clk;
|
||||
wire [BLOCK_CHDR_W-1:0] s_replay0_in_3_tdata , s_replay0_in_2_tdata , s_replay0_in_1_tdata , s_replay0_in_0_tdata ;
|
||||
wire s_replay0_in_3_tlast , s_replay0_in_2_tlast , s_replay0_in_1_tlast , s_replay0_in_0_tlast ;
|
||||
wire s_replay0_in_3_tvalid, s_replay0_in_2_tvalid, s_replay0_in_1_tvalid, s_replay0_in_0_tvalid;
|
||||
wire s_replay0_in_3_tready, s_replay0_in_2_tready, s_replay0_in_1_tready, s_replay0_in_0_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] m_replay0_out_3_tdata , m_replay0_out_2_tdata , m_replay0_out_1_tdata , m_replay0_out_0_tdata ;
|
||||
wire m_replay0_out_3_tlast , m_replay0_out_2_tlast , m_replay0_out_1_tlast , m_replay0_out_0_tlast ;
|
||||
wire m_replay0_out_3_tvalid, m_replay0_out_2_tvalid, m_replay0_out_1_tvalid, m_replay0_out_0_tvalid;
|
||||
wire m_replay0_out_3_tready, m_replay0_out_2_tready, m_replay0_out_1_tready, m_replay0_out_0_tready;
|
||||
|
||||
// axi_ram
|
||||
wire [ 0:0] replay0_axi_rst;
|
||||
@@ -1163,11 +1218,11 @@ module rfnoc_image_core #(
|
||||
|
||||
rfnoc_block_replay #(
|
||||
.THIS_PORTID (4),
|
||||
.CHDR_W (CHDR_W),
|
||||
.CHDR_W (BLOCK_CHDR_W),
|
||||
.NUM_PORTS (4),
|
||||
.MEM_DATA_W (128),
|
||||
.MEM_ADDR_W (32),
|
||||
.MTU (MTU)
|
||||
.MTU (BLOCK_MTU)
|
||||
) b_replay0_2 (
|
||||
.rfnoc_chdr_clk (rfnoc_chdr_clk),
|
||||
.rfnoc_ctrl_clk (rfnoc_ctrl_clk),
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// Copyright 2022 Ettus Research, A National Instruments Brand
|
||||
// Copyright 2023 Ettus Research, a National Instruments Brand
|
||||
//
|
||||
// SPDX-License-Identifier: LGPL-3.0-or-later
|
||||
//
|
||||
@@ -12,9 +12,7 @@
|
||||
// This file was automatically generated by the RFNoC image builder tool.
|
||||
// Re-running that tool will overwrite this file!
|
||||
//
|
||||
// File generated on: 2022-03-29T22:54:35.513269
|
||||
// Source: x410_400_128_rfnoc_image_core.yml
|
||||
// Source SHA256: 0e1aea15a9108fa6fbc86d91a7ee9930440a03c66e96bcd86c179ed5b6da5d53
|
||||
//
|
||||
|
||||
`define CHDR_WIDTH 128
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// Copyright 2022 Ettus Research, A National Instruments Brand
|
||||
// Copyright 2023 Ettus Research, a National Instruments Brand
|
||||
//
|
||||
// SPDX-License-Identifier: LGPL-3.0-or-later
|
||||
//
|
||||
@@ -13,16 +13,21 @@
|
||||
// This file was automatically generated by the RFNoC image builder tool.
|
||||
// Re-running that tool will overwrite this file!
|
||||
//
|
||||
// File generated on: 2022-03-29T22:54:35.062926
|
||||
// Source: x410_400_rfnoc_image_core.yml
|
||||
// Source SHA256: 58e375a5b646df42d81e3af066727c562580c7d98df5eb361163e0924463a466
|
||||
//
|
||||
|
||||
`default_nettype none
|
||||
|
||||
|
||||
module rfnoc_image_core #(
|
||||
parameter CHDR_W = 512,
|
||||
parameter [31:0] CHDR_W = 512,
|
||||
parameter [31:0] PORT_W = 512,
|
||||
parameter [31:0] ETH0_W = 64,
|
||||
parameter [31:0] ETH1_W = 64,
|
||||
parameter [31:0] ETH2_W = 64,
|
||||
parameter [31:0] ETH3_W = 64,
|
||||
parameter [31:0] ETH4_W = 64,
|
||||
parameter [31:0] DMA_W = 64,
|
||||
parameter MTU = 10,
|
||||
parameter [15:0] PROTOVER = {8'd1, 8'd0},
|
||||
parameter RADIO_NIPC = 1
|
||||
@@ -127,62 +132,73 @@ module rfnoc_image_core #(
|
||||
// Transport Adapters ///////////////
|
||||
|
||||
// Transport 0 (eth0)
|
||||
input wire [CHDR_W-1:0] s_eth0_tdata,
|
||||
input wire [PORT_W-1:0] s_eth0_tdata,
|
||||
input wire s_eth0_tlast,
|
||||
input wire s_eth0_tvalid,
|
||||
output wire s_eth0_tready,
|
||||
output wire [CHDR_W-1:0] m_eth0_tdata,
|
||||
output wire [PORT_W-1:0] m_eth0_tdata,
|
||||
output wire m_eth0_tlast,
|
||||
output wire m_eth0_tvalid,
|
||||
input wire m_eth0_tready,
|
||||
// Transport 1 (eth1)
|
||||
input wire [CHDR_W-1:0] s_eth1_tdata,
|
||||
input wire [PORT_W-1:0] s_eth1_tdata,
|
||||
input wire s_eth1_tlast,
|
||||
input wire s_eth1_tvalid,
|
||||
output wire s_eth1_tready,
|
||||
output wire [CHDR_W-1:0] m_eth1_tdata,
|
||||
output wire [PORT_W-1:0] m_eth1_tdata,
|
||||
output wire m_eth1_tlast,
|
||||
output wire m_eth1_tvalid,
|
||||
input wire m_eth1_tready,
|
||||
// Transport 2 (eth2)
|
||||
input wire [CHDR_W-1:0] s_eth2_tdata,
|
||||
input wire [PORT_W-1:0] s_eth2_tdata,
|
||||
input wire s_eth2_tlast,
|
||||
input wire s_eth2_tvalid,
|
||||
output wire s_eth2_tready,
|
||||
output wire [CHDR_W-1:0] m_eth2_tdata,
|
||||
output wire [PORT_W-1:0] m_eth2_tdata,
|
||||
output wire m_eth2_tlast,
|
||||
output wire m_eth2_tvalid,
|
||||
input wire m_eth2_tready,
|
||||
// Transport 3 (eth3)
|
||||
input wire [CHDR_W-1:0] s_eth3_tdata,
|
||||
input wire [PORT_W-1:0] s_eth3_tdata,
|
||||
input wire s_eth3_tlast,
|
||||
input wire s_eth3_tvalid,
|
||||
output wire s_eth3_tready,
|
||||
output wire [CHDR_W-1:0] m_eth3_tdata,
|
||||
output wire [PORT_W-1:0] m_eth3_tdata,
|
||||
output wire m_eth3_tlast,
|
||||
output wire m_eth3_tvalid,
|
||||
input wire m_eth3_tready,
|
||||
// Transport 4 (eth4)
|
||||
input wire [CHDR_W-1:0] s_eth4_tdata,
|
||||
input wire [PORT_W-1:0] s_eth4_tdata,
|
||||
input wire s_eth4_tlast,
|
||||
input wire s_eth4_tvalid,
|
||||
output wire s_eth4_tready,
|
||||
output wire [CHDR_W-1:0] m_eth4_tdata,
|
||||
output wire [PORT_W-1:0] m_eth4_tdata,
|
||||
output wire m_eth4_tlast,
|
||||
output wire m_eth4_tvalid,
|
||||
input wire m_eth4_tready,
|
||||
// Transport 5 (dma)
|
||||
input wire [CHDR_W-1:0] s_dma_tdata,
|
||||
input wire [PORT_W-1:0] s_dma_tdata,
|
||||
input wire s_dma_tlast,
|
||||
input wire s_dma_tvalid,
|
||||
output wire s_dma_tready,
|
||||
output wire [CHDR_W-1:0] m_dma_tdata,
|
||||
output wire [PORT_W-1:0] m_dma_tdata,
|
||||
output wire m_dma_tlast,
|
||||
output wire m_dma_tvalid,
|
||||
input wire m_dma_tready
|
||||
);
|
||||
|
||||
localparam EDGE_TBL_FILE = `"`RFNOC_EDGE_TBL_FILE`";
|
||||
localparam BLOCK_CHDR_W = 512;
|
||||
localparam BYTE_MTU = MTU + $clog2(CHDR_W/8);
|
||||
localparam BLOCK_MTU = BYTE_MTU - $clog2(BLOCK_CHDR_W/8);
|
||||
localparam EP0_W = 512;
|
||||
localparam EP0_MTU = BYTE_MTU - $clog2(EP0_W/8);
|
||||
localparam EP1_W = 512;
|
||||
localparam EP1_MTU = BYTE_MTU - $clog2(EP1_W/8);
|
||||
localparam EP2_W = 512;
|
||||
localparam EP2_MTU = BYTE_MTU - $clog2(EP2_W/8);
|
||||
localparam EP3_W = 512;
|
||||
localparam EP3_MTU = BYTE_MTU - $clog2(EP3_W/8);
|
||||
|
||||
wire rfnoc_chdr_clk, rfnoc_chdr_rst;
|
||||
wire rfnoc_ctrl_clk, rfnoc_ctrl_rst;
|
||||
@@ -192,51 +208,62 @@ module rfnoc_image_core #(
|
||||
// CHDR Crossbar
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
wire [CHDR_W-1:0] xb_to_ep0_tdata ;
|
||||
wire [PORT_W-1:0] xb_to_ep0_tdata ;
|
||||
wire xb_to_ep0_tlast ;
|
||||
wire xb_to_ep0_tvalid;
|
||||
wire xb_to_ep0_tready;
|
||||
wire [CHDR_W-1:0] ep0_to_xb_tdata ;
|
||||
wire [PORT_W-1:0] ep0_to_xb_tdata ;
|
||||
wire ep0_to_xb_tlast ;
|
||||
wire ep0_to_xb_tvalid;
|
||||
wire ep0_to_xb_tready;
|
||||
wire [CHDR_W-1:0] xb_to_ep1_tdata ;
|
||||
wire [PORT_W-1:0] xb_to_ep1_tdata ;
|
||||
wire xb_to_ep1_tlast ;
|
||||
wire xb_to_ep1_tvalid;
|
||||
wire xb_to_ep1_tready;
|
||||
wire [CHDR_W-1:0] ep1_to_xb_tdata ;
|
||||
wire [PORT_W-1:0] ep1_to_xb_tdata ;
|
||||
wire ep1_to_xb_tlast ;
|
||||
wire ep1_to_xb_tvalid;
|
||||
wire ep1_to_xb_tready;
|
||||
wire [CHDR_W-1:0] xb_to_ep2_tdata ;
|
||||
wire [PORT_W-1:0] xb_to_ep2_tdata ;
|
||||
wire xb_to_ep2_tlast ;
|
||||
wire xb_to_ep2_tvalid;
|
||||
wire xb_to_ep2_tready;
|
||||
wire [CHDR_W-1:0] ep2_to_xb_tdata ;
|
||||
wire [PORT_W-1:0] ep2_to_xb_tdata ;
|
||||
wire ep2_to_xb_tlast ;
|
||||
wire ep2_to_xb_tvalid;
|
||||
wire ep2_to_xb_tready;
|
||||
wire [CHDR_W-1:0] xb_to_ep3_tdata ;
|
||||
wire [PORT_W-1:0] xb_to_ep3_tdata ;
|
||||
wire xb_to_ep3_tlast ;
|
||||
wire xb_to_ep3_tvalid;
|
||||
wire xb_to_ep3_tready;
|
||||
wire [CHDR_W-1:0] ep3_to_xb_tdata ;
|
||||
wire [PORT_W-1:0] ep3_to_xb_tdata ;
|
||||
wire ep3_to_xb_tlast ;
|
||||
wire ep3_to_xb_tvalid;
|
||||
wire ep3_to_xb_tready;
|
||||
|
||||
chdr_crossbar_nxn #(
|
||||
.CHDR_W (CHDR_W),
|
||||
.PORT_W (PORT_W),
|
||||
.NPORTS (10),
|
||||
.CHDR_WIDTHS ({EP3_W, EP2_W, EP1_W, EP0_W, DMA_W, ETH4_W, ETH3_W, ETH2_W, ETH1_W, ETH0_W}),
|
||||
.DEFAULT_PORT (0),
|
||||
.MTU (MTU),
|
||||
.ROUTES ({ 10'b1111111111,
|
||||
10'b1111111111,
|
||||
10'b1111111111,
|
||||
10'b1111111111,
|
||||
10'b1111100000,
|
||||
10'b1111010000,
|
||||
10'b1111001000,
|
||||
10'b1111000100,
|
||||
10'b1111000010,
|
||||
10'b1111000001 }),
|
||||
.BYTE_MTU (BYTE_MTU),
|
||||
.ROUTE_TBL_SIZE (6),
|
||||
.MUX_ALLOC ("ROUND-ROBIN"),
|
||||
.OPTIMIZE ("AREA"),
|
||||
.NPORTS_MGMT (6),
|
||||
.EXT_RTCFG_PORT (0),
|
||||
.PROTOVER (PROTOVER)
|
||||
) chdr_xb_i (
|
||||
) chdr_crossbar_nxn_i (
|
||||
.clk (rfnoc_chdr_clk),
|
||||
.reset (rfnoc_chdr_rst),
|
||||
.device_id (device_id),
|
||||
@@ -261,28 +288,30 @@ module rfnoc_image_core #(
|
||||
|
||||
// If requested buffer size is 0, use the minimum SRL-based FIFO size.
|
||||
// Otherwise, make sure it's at least two MTU-sized packets.
|
||||
localparam REQ_BUFF_SIZE_EP0 = (524288)/(CHDR_W/8);
|
||||
localparam REQ_BUFF_SIZE_EP0 = 8192;
|
||||
localparam INGRESS_BUFF_SIZE_EP0 =
|
||||
REQ_BUFF_SIZE_EP0 == 0 ? 5 :
|
||||
REQ_BUFF_SIZE_EP0 < 2*(2**MTU) ? MTU+1 :
|
||||
$clog2(REQ_BUFF_SIZE_EP0);
|
||||
REQ_BUFF_SIZE_EP0 == 0 ? 5 :
|
||||
REQ_BUFF_SIZE_EP0 < 2*(2**EP0_MTU) ? EP0_MTU+1 :
|
||||
$clog2(REQ_BUFF_SIZE_EP0);
|
||||
|
||||
wire [CHDR_W-1:0] m_ep0_out0_tdata;
|
||||
wire m_ep0_out0_tlast;
|
||||
wire m_ep0_out0_tvalid;
|
||||
wire m_ep0_out0_tready;
|
||||
wire [CHDR_W-1:0] s_ep0_in0_tdata;
|
||||
wire s_ep0_in0_tlast;
|
||||
wire s_ep0_in0_tvalid;
|
||||
wire s_ep0_in0_tready;
|
||||
wire [ 31:0] m_ep0_ctrl_tdata, s_ep0_ctrl_tdata;
|
||||
wire m_ep0_ctrl_tlast, s_ep0_ctrl_tlast;
|
||||
wire m_ep0_ctrl_tvalid, s_ep0_ctrl_tvalid;
|
||||
wire m_ep0_ctrl_tready, s_ep0_ctrl_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] m_ep0_out0_tdata;
|
||||
wire m_ep0_out0_tlast;
|
||||
wire m_ep0_out0_tvalid;
|
||||
wire m_ep0_out0_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] s_ep0_in0_tdata;
|
||||
wire s_ep0_in0_tlast;
|
||||
wire s_ep0_in0_tvalid;
|
||||
wire s_ep0_in0_tready;
|
||||
wire [ 31:0] m_ep0_ctrl_tdata, s_ep0_ctrl_tdata;
|
||||
wire m_ep0_ctrl_tlast, s_ep0_ctrl_tlast;
|
||||
wire m_ep0_ctrl_tvalid, s_ep0_ctrl_tvalid;
|
||||
wire m_ep0_ctrl_tready, s_ep0_ctrl_tready;
|
||||
|
||||
chdr_stream_endpoint #(
|
||||
.DEVICE_FAMILY ("ULTRASCALE"),
|
||||
.PROTOVER (PROTOVER),
|
||||
.CHDR_W (CHDR_W),
|
||||
.CHDR_W (EP0_W),
|
||||
.BLOCK_CHDR_W (BLOCK_CHDR_W),
|
||||
.AXIS_CTRL_EN (1),
|
||||
.AXIS_DATA_EN (1),
|
||||
.NUM_DATA_I (1),
|
||||
@@ -290,7 +319,7 @@ module rfnoc_image_core #(
|
||||
.INST_NUM (0),
|
||||
.CTRL_XBAR_PORT (1),
|
||||
.INGRESS_BUFF_SIZE (INGRESS_BUFF_SIZE_EP0),
|
||||
.MTU (MTU),
|
||||
.MTU (EP0_MTU),
|
||||
.REPORT_STRM_ERRS (1)
|
||||
) ep0_i (
|
||||
.rfnoc_chdr_clk (rfnoc_chdr_clk),
|
||||
@@ -330,28 +359,30 @@ module rfnoc_image_core #(
|
||||
|
||||
// If requested buffer size is 0, use the minimum SRL-based FIFO size.
|
||||
// Otherwise, make sure it's at least two MTU-sized packets.
|
||||
localparam REQ_BUFF_SIZE_EP1 = (524288)/(CHDR_W/8);
|
||||
localparam REQ_BUFF_SIZE_EP1 = 8192;
|
||||
localparam INGRESS_BUFF_SIZE_EP1 =
|
||||
REQ_BUFF_SIZE_EP1 == 0 ? 5 :
|
||||
REQ_BUFF_SIZE_EP1 < 2*(2**MTU) ? MTU+1 :
|
||||
$clog2(REQ_BUFF_SIZE_EP1);
|
||||
REQ_BUFF_SIZE_EP1 == 0 ? 5 :
|
||||
REQ_BUFF_SIZE_EP1 < 2*(2**EP1_MTU) ? EP1_MTU+1 :
|
||||
$clog2(REQ_BUFF_SIZE_EP1);
|
||||
|
||||
wire [CHDR_W-1:0] m_ep1_out0_tdata;
|
||||
wire m_ep1_out0_tlast;
|
||||
wire m_ep1_out0_tvalid;
|
||||
wire m_ep1_out0_tready;
|
||||
wire [CHDR_W-1:0] s_ep1_in0_tdata;
|
||||
wire s_ep1_in0_tlast;
|
||||
wire s_ep1_in0_tvalid;
|
||||
wire s_ep1_in0_tready;
|
||||
wire [ 31:0] m_ep1_ctrl_tdata, s_ep1_ctrl_tdata;
|
||||
wire m_ep1_ctrl_tlast, s_ep1_ctrl_tlast;
|
||||
wire m_ep1_ctrl_tvalid, s_ep1_ctrl_tvalid;
|
||||
wire m_ep1_ctrl_tready, s_ep1_ctrl_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] m_ep1_out0_tdata;
|
||||
wire m_ep1_out0_tlast;
|
||||
wire m_ep1_out0_tvalid;
|
||||
wire m_ep1_out0_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] s_ep1_in0_tdata;
|
||||
wire s_ep1_in0_tlast;
|
||||
wire s_ep1_in0_tvalid;
|
||||
wire s_ep1_in0_tready;
|
||||
wire [ 31:0] m_ep1_ctrl_tdata, s_ep1_ctrl_tdata;
|
||||
wire m_ep1_ctrl_tlast, s_ep1_ctrl_tlast;
|
||||
wire m_ep1_ctrl_tvalid, s_ep1_ctrl_tvalid;
|
||||
wire m_ep1_ctrl_tready, s_ep1_ctrl_tready;
|
||||
|
||||
chdr_stream_endpoint #(
|
||||
.DEVICE_FAMILY ("ULTRASCALE"),
|
||||
.PROTOVER (PROTOVER),
|
||||
.CHDR_W (CHDR_W),
|
||||
.CHDR_W (EP1_W),
|
||||
.BLOCK_CHDR_W (BLOCK_CHDR_W),
|
||||
.AXIS_CTRL_EN (0),
|
||||
.AXIS_DATA_EN (1),
|
||||
.NUM_DATA_I (1),
|
||||
@@ -359,7 +390,7 @@ module rfnoc_image_core #(
|
||||
.INST_NUM (1),
|
||||
.CTRL_XBAR_PORT (2),
|
||||
.INGRESS_BUFF_SIZE (INGRESS_BUFF_SIZE_EP1),
|
||||
.MTU (MTU),
|
||||
.MTU (EP1_MTU),
|
||||
.REPORT_STRM_ERRS (1)
|
||||
) ep1_i (
|
||||
.rfnoc_chdr_clk (rfnoc_chdr_clk),
|
||||
@@ -399,28 +430,30 @@ module rfnoc_image_core #(
|
||||
|
||||
// If requested buffer size is 0, use the minimum SRL-based FIFO size.
|
||||
// Otherwise, make sure it's at least two MTU-sized packets.
|
||||
localparam REQ_BUFF_SIZE_EP2 = (524288)/(CHDR_W/8);
|
||||
localparam REQ_BUFF_SIZE_EP2 = 8192;
|
||||
localparam INGRESS_BUFF_SIZE_EP2 =
|
||||
REQ_BUFF_SIZE_EP2 == 0 ? 5 :
|
||||
REQ_BUFF_SIZE_EP2 < 2*(2**MTU) ? MTU+1 :
|
||||
$clog2(REQ_BUFF_SIZE_EP2);
|
||||
REQ_BUFF_SIZE_EP2 == 0 ? 5 :
|
||||
REQ_BUFF_SIZE_EP2 < 2*(2**EP2_MTU) ? EP2_MTU+1 :
|
||||
$clog2(REQ_BUFF_SIZE_EP2);
|
||||
|
||||
wire [CHDR_W-1:0] m_ep2_out0_tdata;
|
||||
wire m_ep2_out0_tlast;
|
||||
wire m_ep2_out0_tvalid;
|
||||
wire m_ep2_out0_tready;
|
||||
wire [CHDR_W-1:0] s_ep2_in0_tdata;
|
||||
wire s_ep2_in0_tlast;
|
||||
wire s_ep2_in0_tvalid;
|
||||
wire s_ep2_in0_tready;
|
||||
wire [ 31:0] m_ep2_ctrl_tdata, s_ep2_ctrl_tdata;
|
||||
wire m_ep2_ctrl_tlast, s_ep2_ctrl_tlast;
|
||||
wire m_ep2_ctrl_tvalid, s_ep2_ctrl_tvalid;
|
||||
wire m_ep2_ctrl_tready, s_ep2_ctrl_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] m_ep2_out0_tdata;
|
||||
wire m_ep2_out0_tlast;
|
||||
wire m_ep2_out0_tvalid;
|
||||
wire m_ep2_out0_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] s_ep2_in0_tdata;
|
||||
wire s_ep2_in0_tlast;
|
||||
wire s_ep2_in0_tvalid;
|
||||
wire s_ep2_in0_tready;
|
||||
wire [ 31:0] m_ep2_ctrl_tdata, s_ep2_ctrl_tdata;
|
||||
wire m_ep2_ctrl_tlast, s_ep2_ctrl_tlast;
|
||||
wire m_ep2_ctrl_tvalid, s_ep2_ctrl_tvalid;
|
||||
wire m_ep2_ctrl_tready, s_ep2_ctrl_tready;
|
||||
|
||||
chdr_stream_endpoint #(
|
||||
.DEVICE_FAMILY ("ULTRASCALE"),
|
||||
.PROTOVER (PROTOVER),
|
||||
.CHDR_W (CHDR_W),
|
||||
.CHDR_W (EP2_W),
|
||||
.BLOCK_CHDR_W (BLOCK_CHDR_W),
|
||||
.AXIS_CTRL_EN (0),
|
||||
.AXIS_DATA_EN (1),
|
||||
.NUM_DATA_I (1),
|
||||
@@ -428,7 +461,7 @@ module rfnoc_image_core #(
|
||||
.INST_NUM (2),
|
||||
.CTRL_XBAR_PORT (3),
|
||||
.INGRESS_BUFF_SIZE (INGRESS_BUFF_SIZE_EP2),
|
||||
.MTU (MTU),
|
||||
.MTU (EP2_MTU),
|
||||
.REPORT_STRM_ERRS (1)
|
||||
) ep2_i (
|
||||
.rfnoc_chdr_clk (rfnoc_chdr_clk),
|
||||
@@ -468,28 +501,30 @@ module rfnoc_image_core #(
|
||||
|
||||
// If requested buffer size is 0, use the minimum SRL-based FIFO size.
|
||||
// Otherwise, make sure it's at least two MTU-sized packets.
|
||||
localparam REQ_BUFF_SIZE_EP3 = (524288)/(CHDR_W/8);
|
||||
localparam REQ_BUFF_SIZE_EP3 = 8192;
|
||||
localparam INGRESS_BUFF_SIZE_EP3 =
|
||||
REQ_BUFF_SIZE_EP3 == 0 ? 5 :
|
||||
REQ_BUFF_SIZE_EP3 < 2*(2**MTU) ? MTU+1 :
|
||||
$clog2(REQ_BUFF_SIZE_EP3);
|
||||
REQ_BUFF_SIZE_EP3 == 0 ? 5 :
|
||||
REQ_BUFF_SIZE_EP3 < 2*(2**EP3_MTU) ? EP3_MTU+1 :
|
||||
$clog2(REQ_BUFF_SIZE_EP3);
|
||||
|
||||
wire [CHDR_W-1:0] m_ep3_out0_tdata;
|
||||
wire m_ep3_out0_tlast;
|
||||
wire m_ep3_out0_tvalid;
|
||||
wire m_ep3_out0_tready;
|
||||
wire [CHDR_W-1:0] s_ep3_in0_tdata;
|
||||
wire s_ep3_in0_tlast;
|
||||
wire s_ep3_in0_tvalid;
|
||||
wire s_ep3_in0_tready;
|
||||
wire [ 31:0] m_ep3_ctrl_tdata, s_ep3_ctrl_tdata;
|
||||
wire m_ep3_ctrl_tlast, s_ep3_ctrl_tlast;
|
||||
wire m_ep3_ctrl_tvalid, s_ep3_ctrl_tvalid;
|
||||
wire m_ep3_ctrl_tready, s_ep3_ctrl_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] m_ep3_out0_tdata;
|
||||
wire m_ep3_out0_tlast;
|
||||
wire m_ep3_out0_tvalid;
|
||||
wire m_ep3_out0_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] s_ep3_in0_tdata;
|
||||
wire s_ep3_in0_tlast;
|
||||
wire s_ep3_in0_tvalid;
|
||||
wire s_ep3_in0_tready;
|
||||
wire [ 31:0] m_ep3_ctrl_tdata, s_ep3_ctrl_tdata;
|
||||
wire m_ep3_ctrl_tlast, s_ep3_ctrl_tlast;
|
||||
wire m_ep3_ctrl_tvalid, s_ep3_ctrl_tvalid;
|
||||
wire m_ep3_ctrl_tready, s_ep3_ctrl_tready;
|
||||
|
||||
chdr_stream_endpoint #(
|
||||
.DEVICE_FAMILY ("ULTRASCALE"),
|
||||
.PROTOVER (PROTOVER),
|
||||
.CHDR_W (CHDR_W),
|
||||
.CHDR_W (EP3_W),
|
||||
.BLOCK_CHDR_W (BLOCK_CHDR_W),
|
||||
.AXIS_CTRL_EN (0),
|
||||
.AXIS_DATA_EN (1),
|
||||
.NUM_DATA_I (1),
|
||||
@@ -497,7 +532,7 @@ module rfnoc_image_core #(
|
||||
.INST_NUM (3),
|
||||
.CTRL_XBAR_PORT (4),
|
||||
.INGRESS_BUFF_SIZE (INGRESS_BUFF_SIZE_EP3),
|
||||
.MTU (MTU),
|
||||
.MTU (EP3_MTU),
|
||||
.REPORT_STRM_ERRS (1)
|
||||
) ep3_i (
|
||||
.rfnoc_chdr_clk (rfnoc_chdr_clk),
|
||||
@@ -626,15 +661,15 @@ module rfnoc_image_core #(
|
||||
// radio0
|
||||
//-----------------------------------
|
||||
|
||||
wire radio0_radio_clk;
|
||||
wire [CHDR_W-1:0] s_radio0_in_1_tdata , s_radio0_in_0_tdata ;
|
||||
wire s_radio0_in_1_tlast , s_radio0_in_0_tlast ;
|
||||
wire s_radio0_in_1_tvalid, s_radio0_in_0_tvalid;
|
||||
wire s_radio0_in_1_tready, s_radio0_in_0_tready;
|
||||
wire [CHDR_W-1:0] m_radio0_out_1_tdata , m_radio0_out_0_tdata ;
|
||||
wire m_radio0_out_1_tlast , m_radio0_out_0_tlast ;
|
||||
wire m_radio0_out_1_tvalid, m_radio0_out_0_tvalid;
|
||||
wire m_radio0_out_1_tready, m_radio0_out_0_tready;
|
||||
wire radio0_radio_clk;
|
||||
wire [BLOCK_CHDR_W-1:0] s_radio0_in_1_tdata , s_radio0_in_0_tdata ;
|
||||
wire s_radio0_in_1_tlast , s_radio0_in_0_tlast ;
|
||||
wire s_radio0_in_1_tvalid, s_radio0_in_0_tvalid;
|
||||
wire s_radio0_in_1_tready, s_radio0_in_0_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] m_radio0_out_1_tdata , m_radio0_out_0_tdata ;
|
||||
wire m_radio0_out_1_tlast , m_radio0_out_0_tlast ;
|
||||
wire m_radio0_out_1_tvalid, m_radio0_out_0_tvalid;
|
||||
wire m_radio0_out_1_tready, m_radio0_out_0_tready;
|
||||
|
||||
// ctrlport
|
||||
wire [ 0:0] radio0_m_ctrlport_req_wr;
|
||||
@@ -659,11 +694,11 @@ module rfnoc_image_core #(
|
||||
|
||||
rfnoc_block_radio #(
|
||||
.THIS_PORTID (2),
|
||||
.CHDR_W (CHDR_W),
|
||||
.CHDR_W (BLOCK_CHDR_W),
|
||||
.NUM_PORTS (2),
|
||||
.NIPC (RADIO_NIPC),
|
||||
.ITEM_W (32),
|
||||
.MTU (MTU)
|
||||
.MTU (BLOCK_MTU)
|
||||
) b_radio0_0 (
|
||||
.rfnoc_chdr_clk (rfnoc_chdr_clk),
|
||||
.rfnoc_ctrl_clk (rfnoc_ctrl_clk),
|
||||
@@ -709,15 +744,15 @@ module rfnoc_image_core #(
|
||||
// radio1
|
||||
//-----------------------------------
|
||||
|
||||
wire radio1_radio_clk;
|
||||
wire [CHDR_W-1:0] s_radio1_in_1_tdata , s_radio1_in_0_tdata ;
|
||||
wire s_radio1_in_1_tlast , s_radio1_in_0_tlast ;
|
||||
wire s_radio1_in_1_tvalid, s_radio1_in_0_tvalid;
|
||||
wire s_radio1_in_1_tready, s_radio1_in_0_tready;
|
||||
wire [CHDR_W-1:0] m_radio1_out_1_tdata , m_radio1_out_0_tdata ;
|
||||
wire m_radio1_out_1_tlast , m_radio1_out_0_tlast ;
|
||||
wire m_radio1_out_1_tvalid, m_radio1_out_0_tvalid;
|
||||
wire m_radio1_out_1_tready, m_radio1_out_0_tready;
|
||||
wire radio1_radio_clk;
|
||||
wire [BLOCK_CHDR_W-1:0] s_radio1_in_1_tdata , s_radio1_in_0_tdata ;
|
||||
wire s_radio1_in_1_tlast , s_radio1_in_0_tlast ;
|
||||
wire s_radio1_in_1_tvalid, s_radio1_in_0_tvalid;
|
||||
wire s_radio1_in_1_tready, s_radio1_in_0_tready;
|
||||
wire [BLOCK_CHDR_W-1:0] m_radio1_out_1_tdata , m_radio1_out_0_tdata ;
|
||||
wire m_radio1_out_1_tlast , m_radio1_out_0_tlast ;
|
||||
wire m_radio1_out_1_tvalid, m_radio1_out_0_tvalid;
|
||||
wire m_radio1_out_1_tready, m_radio1_out_0_tready;
|
||||
|
||||
// ctrlport
|
||||
wire [ 0:0] radio1_m_ctrlport_req_wr;
|
||||
@@ -742,11 +777,11 @@ module rfnoc_image_core #(
|
||||
|
||||
rfnoc_block_radio #(
|
||||
.THIS_PORTID (3),
|
||||
.CHDR_W (CHDR_W),
|
||||
.CHDR_W (BLOCK_CHDR_W),
|
||||
.NUM_PORTS (2),
|
||||
.NIPC (RADIO_NIPC),
|
||||
.ITEM_W (32),
|
||||
.MTU (MTU)
|
||||
.MTU (BLOCK_MTU)
|
||||
) b_radio1_1 (
|
||||
.rfnoc_chdr_clk (rfnoc_chdr_clk),
|
||||
.rfnoc_ctrl_clk (rfnoc_ctrl_clk),
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// Copyright 2022 Ettus Research, A National Instruments Brand
|
||||
// Copyright 2023 Ettus Research, a National Instruments Brand
|
||||
//
|
||||
// SPDX-License-Identifier: LGPL-3.0-or-later
|
||||
//
|
||||
@@ -12,9 +12,7 @@
|
||||
// This file was automatically generated by the RFNoC image builder tool.
|
||||
// Re-running that tool will overwrite this file!
|
||||
//
|
||||
// File generated on: 2022-03-29T22:54:35.096636
|
||||
// Source: x410_400_rfnoc_image_core.yml
|
||||
// Source SHA256: 58e375a5b646df42d81e3af066727c562580c7d98df5eb361163e0924463a466
|
||||
//
|
||||
|
||||
`define CHDR_WIDTH 512
|
||||
|
||||
Reference in New Issue
Block a user