aboutsummaryrefslogtreecommitdiffstats
path: root/fpga/usrp3/top
diff options
context:
space:
mode:
authorsteviez <steve.czabaniuk@ni.com>2020-07-31 12:08:19 -0500
committerAaron Rossetto <aaron.rossetto@ni.com>2020-07-31 14:32:54 -0500
commitae2b9bf7aeea6f8f98f6dacffdfc018d87107927 (patch)
treefa347454688a166df980e3d152133a2af07c2308 /fpga/usrp3/top
parentb5575603e1dd06efa2d0309b7efb0b92a7519316 (diff)
downloaduhd-ae2b9bf7aeea6f8f98f6dacffdfc018d87107927.tar.gz
uhd-ae2b9bf7aeea6f8f98f6dacffdfc018d87107927.tar.bz2
uhd-ae2b9bf7aeea6f8f98f6dacffdfc018d87107927.zip
fpga: n320: Add BIST (AA) image files
This adds new image files which come with a DRAM FIFO. The addition of an N320 image with a DRAM FIFO allows DDR3 BIST to be run on an assembled (motherboard + daughterboard) N320. This image is intentionally very similar to the N300_AA and N310_AA targets which serve the same purpose of providing an image with a DRAM FIFO for their respective devices.
Diffstat (limited to 'fpga/usrp3/top')
-rw-r--r--fpga/usrp3/top/n3xx/Makefile6
-rw-r--r--fpga/usrp3/top/n3xx/dts/usrp_n320_fpga_AA.dts29
-rw-r--r--fpga/usrp3/top/n3xx/n320_bist_image_core.v1011
-rw-r--r--fpga/usrp3/top/n3xx/n320_bist_image_core.yml93
-rw-r--r--fpga/usrp3/top/n3xx/n320_bist_static_router.hex9
5 files changed, 1148 insertions, 0 deletions
diff --git a/fpga/usrp3/top/n3xx/Makefile b/fpga/usrp3/top/n3xx/Makefile
index 5900b26d0..f1aef0c68 100644
--- a/fpga/usrp3/top/n3xx/Makefile
+++ b/fpga/usrp3/top/n3xx/Makefile
@@ -39,6 +39,7 @@ N310_DEFAULTS:=DEFAULT_RFNOC_IMAGE_CORE_FILE=n310_rfnoc_image_core.v DEFAULT_EDG
N320_DEFAULTS:=DEFAULT_RFNOC_IMAGE_CORE_FILE=n320_rfnoc_image_core.v DEFAULT_EDGE_FILE=$(abspath n320_static_router.hex)
N300AA_DEFAULTS:=DEFAULT_RFNOC_IMAGE_CORE_FILE=n300_bist_image_core.v DEFAULT_EDGE_FILE=$(abspath n300_bist_static_router.hex)
N310AA_DEFAULTS:=DEFAULT_RFNOC_IMAGE_CORE_FILE=n310_bist_image_core.v DEFAULT_EDGE_FILE=$(abspath n310_bist_static_router.hex)
+N320AA_DEFAULTS:=DEFAULT_RFNOC_IMAGE_CORE_FILE=n320_bist_image_core.v DEFAULT_EDGE_FILE=$(abspath n320_bist_static_router.hex)
# Set build option (check RTL, run synthesis, or do a full build)
ifndef TARGET
@@ -162,6 +163,11 @@ N320_AQ: build/usrp_n320_fpga_AQ.dts
$(call vivado_build,N320,$(AQ_DEFS) N320=1,$(N320_DEFAULTS))
$(call post_build,N320,AQ)
+##N320_AA: Aurora on SFP+ Port0, Aurora on SFP+ Port1.
+N320_AA: build/usrp_n320_fpga_AA.dts
+ $(call vivado_build,N320,$(AA_DEFS) N320=1,$(N320AA_DEFAULTS))
+ $(call post_build,N320,AA)
+
build/%.dts: dts/%.dts dts/*.dtsi
-mkdir -p build
${CC} -o $@ -E -I dts -nostdinc -undef -x assembler-with-cpp -D__DTS__ $<
diff --git a/fpga/usrp3/top/n3xx/dts/usrp_n320_fpga_AA.dts b/fpga/usrp3/top/n3xx/dts/usrp_n320_fpga_AA.dts
new file mode 100644
index 000000000..26177537e
--- /dev/null
+++ b/fpga/usrp3/top/n3xx/dts/usrp_n320_fpga_AA.dts
@@ -0,0 +1,29 @@
+// SPDX-License-Identifier: GPL-2.0 OR X11
+/*
+ * Copyright (c) 2017 National Instruments Corp
+ */
+
+/dts-v1/;
+/plugin/;
+
+#include "n320-fpga.dtsi"
+
+&fpga_full {
+ uio@40004000 {
+ compatible = "usrp-uio";
+ reg = <0x40004000 0x1000>;
+ reg-names = "misc-auro-regs0";
+ status = "okay";
+ };
+
+
+ uio@4000c000 {
+ compatible = "usrp-uio";
+ reg = <0x4000c000 0x1000>;
+ reg-names = "misc-auro-regs1";
+ status = "okay";
+ };
+};
+
+#include "n320-common.dtsi"
+#include "dma-common.dtsi"
diff --git a/fpga/usrp3/top/n3xx/n320_bist_image_core.v b/fpga/usrp3/top/n3xx/n320_bist_image_core.v
new file mode 100644
index 000000000..4a080f2a8
--- /dev/null
+++ b/fpga/usrp3/top/n3xx/n320_bist_image_core.v
@@ -0,0 +1,1011 @@
+//
+// Copyright 2020 Ettus Research, A National Instruments Brand
+//
+// SPDX-License-Identifier: LGPL-3.0-or-later
+//
+
+// Module: rfnoc_image_core (for n320)
+// This file was autogenerated by UHD's image builder tool (rfnoc_image_builder)
+// Re-running that tool will overwrite this file!
+// File generated on: 2020-07-27T12:39:13.318449
+// Source: n320_bist_image_core.yml
+// Source SHA256: b5d9a0fb5302f7bfadf36c9d6cdcc70814aa1062f82396378a2976faba6ba010
+
+module rfnoc_image_core #(
+ parameter [15:0] PROTOVER = {8'd1, 8'd0}
+)(
+ // Clocks
+ input wire chdr_aclk,
+ input wire ctrl_aclk,
+ input wire core_arst,
+ input wire radio_clk,
+ input wire dram_clk,
+ // Basic
+ input wire [15:0] device_id,
+//// IO ports //////////////////////////////////
+// ctrlport_radio0
+ output wire [ 1-1:0] m_ctrlport_radio0_req_wr,
+ output wire [ 1-1:0] m_ctrlport_radio0_req_rd,
+ output wire [ 20-1:0] m_ctrlport_radio0_req_addr,
+ output wire [ 32-1:0] m_ctrlport_radio0_req_data,
+ output wire [ 4-1:0] m_ctrlport_radio0_req_byte_en,
+ output wire [ 1-1:0] m_ctrlport_radio0_req_has_time,
+ output wire [ 64-1:0] m_ctrlport_radio0_req_time,
+ input wire [ 1-1:0] m_ctrlport_radio0_resp_ack,
+ input wire [ 2-1:0] m_ctrlport_radio0_resp_status,
+ input wire [ 32-1:0] m_ctrlport_radio0_resp_data,
+// ctrlport_radio1
+ output wire [ 1-1:0] m_ctrlport_radio1_req_wr,
+ output wire [ 1-1:0] m_ctrlport_radio1_req_rd,
+ output wire [ 20-1:0] m_ctrlport_radio1_req_addr,
+ output wire [ 32-1:0] m_ctrlport_radio1_req_data,
+ output wire [ 4-1:0] m_ctrlport_radio1_req_byte_en,
+ output wire [ 1-1:0] m_ctrlport_radio1_req_has_time,
+ output wire [ 64-1:0] m_ctrlport_radio1_req_time,
+ input wire [ 1-1:0] m_ctrlport_radio1_resp_ack,
+ input wire [ 2-1:0] m_ctrlport_radio1_resp_status,
+ input wire [ 32-1:0] m_ctrlport_radio1_resp_data,
+// time_keeper
+ input wire [ 64-1:0] radio_time,
+// radio_ch0
+ input wire [ 32-1:0] radio_rx_data_radio0,
+ input wire [ 1-1:0] radio_rx_stb_radio0,
+ output wire [ 1-1:0] radio_rx_running_radio0,
+ output wire [ 32-1:0] radio_tx_data_radio0,
+ input wire [ 1-1:0] radio_tx_stb_radio0,
+ output wire [ 1-1:0] radio_tx_running_radio0,
+// radio_ch1
+ input wire [ 32-1:0] radio_rx_data_radio1,
+ input wire [ 1-1:0] radio_rx_stb_radio1,
+ output wire [ 1-1:0] radio_rx_running_radio1,
+ output wire [ 32-1:0] radio_tx_data_radio1,
+ input wire [ 1-1:0] radio_tx_stb_radio1,
+ output wire [ 1-1:0] radio_tx_running_radio1,
+// dram
+ input wire [ 1-1:0] axi_rst,
+ output wire [ 4-1:0] m_axi_awid,
+ output wire [128-1:0] m_axi_awaddr,
+ output wire [ 32-1:0] m_axi_awlen,
+ output wire [ 12-1:0] m_axi_awsize,
+ output wire [ 8-1:0] m_axi_awburst,
+ output wire [ 4-1:0] m_axi_awlock,
+ output wire [ 16-1:0] m_axi_awcache,
+ output wire [ 12-1:0] m_axi_awprot,
+ output wire [ 16-1:0] m_axi_awqos,
+ output wire [ 16-1:0] m_axi_awregion,
+ output wire [ 4-1:0] m_axi_awuser,
+ output wire [ 4-1:0] m_axi_awvalid,
+ input wire [ 4-1:0] m_axi_awready,
+ output wire [256-1:0] m_axi_wdata,
+ output wire [ 32-1:0] m_axi_wstrb,
+ output wire [ 4-1:0] m_axi_wlast,
+ output wire [ 4-1:0] m_axi_wuser,
+ output wire [ 4-1:0] m_axi_wvalid,
+ input wire [ 4-1:0] m_axi_wready,
+ input wire [ 4-1:0] m_axi_bid,
+ input wire [ 8-1:0] m_axi_bresp,
+ input wire [ 4-1:0] m_axi_buser,
+ input wire [ 4-1:0] m_axi_bvalid,
+ output wire [ 4-1:0] m_axi_bready,
+ output wire [ 4-1:0] m_axi_arid,
+ output wire [128-1:0] m_axi_araddr,
+ output wire [ 32-1:0] m_axi_arlen,
+ output wire [ 12-1:0] m_axi_arsize,
+ output wire [ 8-1:0] m_axi_arburst,
+ output wire [ 4-1:0] m_axi_arlock,
+ output wire [ 16-1:0] m_axi_arcache,
+ output wire [ 12-1:0] m_axi_arprot,
+ output wire [ 16-1:0] m_axi_arqos,
+ output wire [ 16-1:0] m_axi_arregion,
+ output wire [ 4-1:0] m_axi_aruser,
+ output wire [ 4-1:0] m_axi_arvalid,
+ input wire [ 4-1:0] m_axi_arready,
+ input wire [ 4-1:0] m_axi_rid,
+ input wire [256-1:0] m_axi_rdata,
+ input wire [ 8-1:0] m_axi_rresp,
+ input wire [ 4-1:0] m_axi_rlast,
+ input wire [ 4-1:0] m_axi_ruser,
+ input wire [ 4-1:0] m_axi_rvalid,
+ output wire [ 4-1:0] m_axi_rready,
+ // Transport 0 (eth0 1G)
+ input wire [64-1:0] s_eth0_tdata,
+ input wire s_eth0_tlast,
+ input wire s_eth0_tvalid,
+ output wire s_eth0_tready,
+ output wire [64-1:0] m_eth0_tdata,
+ output wire m_eth0_tlast,
+ output wire m_eth0_tvalid,
+ input wire m_eth0_tready,
+ // Transport 1 (eth1 10G)
+ input wire [64-1:0] s_eth1_tdata,
+ input wire s_eth1_tlast,
+ input wire s_eth1_tvalid,
+ output wire s_eth1_tready,
+ output wire [64-1:0] m_eth1_tdata,
+ output wire m_eth1_tlast,
+ output wire m_eth1_tvalid,
+ input wire m_eth1_tready,
+ // Transport 2 (dma dma)
+ input wire [64-1:0] s_dma_tdata,
+ input wire s_dma_tlast,
+ input wire s_dma_tvalid,
+ output wire s_dma_tready,
+ output wire [64-1:0] m_dma_tdata,
+ output wire m_dma_tlast,
+ output wire m_dma_tvalid,
+ input wire m_dma_tready
+);
+
+ localparam CHDR_W = 64;
+ localparam MTU = 10;
+ localparam EDGE_TBL_FILE = `"`RFNOC_EDGE_TBL_FILE`";
+
+ wire rfnoc_chdr_clk, rfnoc_chdr_rst;
+ wire rfnoc_ctrl_clk, rfnoc_ctrl_rst;
+
+ // ----------------------------------------------------
+ // CHDR Crossbar
+ // ----------------------------------------------------
+ wire [CHDR_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 ep0_to_xb_tlast ;
+ wire ep0_to_xb_tvalid;
+ wire ep0_to_xb_tready;
+ wire [CHDR_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 ep1_to_xb_tlast ;
+ wire ep1_to_xb_tvalid;
+ wire ep1_to_xb_tready;
+ wire [CHDR_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 ep4_to_xb_tlast ;
+ wire ep4_to_xb_tvalid;
+ wire ep4_to_xb_tready;
+ wire [CHDR_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 ep5_to_xb_tlast ;
+ wire ep5_to_xb_tvalid;
+ wire ep5_to_xb_tready;
+
+ chdr_crossbar_nxn #(
+ .CHDR_W (CHDR_W),
+ .NPORTS (7),
+ .DEFAULT_PORT (0),
+ .MTU (MTU),
+ .ROUTE_TBL_SIZE (6),
+ .MUX_ALLOC ("ROUND-ROBIN"),
+ .OPTIMIZE ("AREA"),
+ .NPORTS_MGMT (3),
+ .EXT_RTCFG_PORT (0),
+ .PROTOVER (PROTOVER)
+ ) chdr_xb_i (
+ .clk (rfnoc_chdr_clk),
+ .reset (rfnoc_chdr_rst),
+ .device_id (device_id),
+ .s_axis_tdata ({ep5_to_xb_tdata, ep4_to_xb_tdata, ep1_to_xb_tdata, ep0_to_xb_tdata, s_dma_tdata, s_eth1_tdata, s_eth0_tdata}),
+ .s_axis_tlast ({ep5_to_xb_tlast, ep4_to_xb_tlast, ep1_to_xb_tlast, ep0_to_xb_tlast, s_dma_tlast, s_eth1_tlast, s_eth0_tlast}),
+ .s_axis_tvalid ({ep5_to_xb_tvalid, ep4_to_xb_tvalid, ep1_to_xb_tvalid, ep0_to_xb_tvalid, s_dma_tvalid, s_eth1_tvalid, s_eth0_tvalid}),
+ .s_axis_tready ({ep5_to_xb_tready, ep4_to_xb_tready, ep1_to_xb_tready, ep0_to_xb_tready, s_dma_tready, s_eth1_tready, s_eth0_tready}),
+ .m_axis_tdata ({xb_to_ep5_tdata, xb_to_ep4_tdata, xb_to_ep1_tdata, xb_to_ep0_tdata, m_dma_tdata, m_eth1_tdata, m_eth0_tdata}),
+ .m_axis_tlast ({xb_to_ep5_tlast, xb_to_ep4_tlast, xb_to_ep1_tlast, xb_to_ep0_tlast, m_dma_tlast, m_eth1_tlast, m_eth0_tlast}),
+ .m_axis_tvalid ({xb_to_ep5_tvalid, xb_to_ep4_tvalid, xb_to_ep1_tvalid, xb_to_ep0_tvalid, m_dma_tvalid, m_eth1_tvalid, m_eth0_tvalid}),
+ .m_axis_tready ({xb_to_ep5_tready, xb_to_ep4_tready, xb_to_ep1_tready, xb_to_ep0_tready, m_dma_tready, m_eth1_tready, m_eth0_tready}),
+ .ext_rtcfg_stb (1'h0),
+ .ext_rtcfg_addr (16'h0),
+ .ext_rtcfg_data (32'h0),
+ .ext_rtcfg_ack ()
+ );
+
+ // ----------------------------------------------------
+ // Stream Endpoints
+ // ----------------------------------------------------
+
+ 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;
+
+ chdr_stream_endpoint #(
+ .PROTOVER (PROTOVER),
+ .CHDR_W (CHDR_W),
+ .AXIS_CTRL_EN (1),
+ .AXIS_DATA_EN (1),
+ .NUM_DATA_I (1),
+ .NUM_DATA_O (1),
+ .INST_NUM (0),
+ .CTRL_XBAR_PORT (1),
+ .INGRESS_BUFF_SIZE (15),
+ .MTU (MTU),
+ .REPORT_STRM_ERRS (1)
+ ) ep0_i (
+ .rfnoc_chdr_clk (rfnoc_chdr_clk ),
+ .rfnoc_chdr_rst (rfnoc_chdr_rst ),
+ .rfnoc_ctrl_clk (rfnoc_ctrl_clk ),
+ .rfnoc_ctrl_rst (rfnoc_ctrl_rst ),
+ .device_id (device_id ),
+ .s_axis_chdr_tdata (xb_to_ep0_tdata ),
+ .s_axis_chdr_tlast (xb_to_ep0_tlast ),
+ .s_axis_chdr_tvalid (xb_to_ep0_tvalid ),
+ .s_axis_chdr_tready (xb_to_ep0_tready ),
+ .m_axis_chdr_tdata (ep0_to_xb_tdata ),
+ .m_axis_chdr_tlast (ep0_to_xb_tlast ),
+ .m_axis_chdr_tvalid (ep0_to_xb_tvalid ),
+ .m_axis_chdr_tready (ep0_to_xb_tready ),
+ .s_axis_data_tdata ({s_ep0_in0_tdata}),
+ .s_axis_data_tlast ({s_ep0_in0_tlast}),
+ .s_axis_data_tvalid ({s_ep0_in0_tvalid}),
+ .s_axis_data_tready ({s_ep0_in0_tready}),
+ .m_axis_data_tdata ({m_ep0_out0_tdata}),
+ .m_axis_data_tlast ({m_ep0_out0_tlast}),
+ .m_axis_data_tvalid ({m_ep0_out0_tvalid}),
+ .m_axis_data_tready ({m_ep0_out0_tready}),
+ .s_axis_ctrl_tdata (s_ep0_ctrl_tdata ),
+ .s_axis_ctrl_tlast (s_ep0_ctrl_tlast ),
+ .s_axis_ctrl_tvalid (s_ep0_ctrl_tvalid),
+ .s_axis_ctrl_tready (s_ep0_ctrl_tready),
+ .m_axis_ctrl_tdata (m_ep0_ctrl_tdata ),
+ .m_axis_ctrl_tlast (m_ep0_ctrl_tlast ),
+ .m_axis_ctrl_tvalid (m_ep0_ctrl_tvalid),
+ .m_axis_ctrl_tready (m_ep0_ctrl_tready),
+ .strm_seq_err_stb ( ),
+ .strm_data_err_stb ( ),
+ .strm_route_err_stb ( ),
+ .signal_data_err (1'b0 )
+ );
+
+ 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;
+
+ chdr_stream_endpoint #(
+ .PROTOVER (PROTOVER),
+ .CHDR_W (CHDR_W),
+ .AXIS_CTRL_EN (0),
+ .AXIS_DATA_EN (1),
+ .NUM_DATA_I (1),
+ .NUM_DATA_O (1),
+ .INST_NUM (1),
+ .CTRL_XBAR_PORT (2),
+ .INGRESS_BUFF_SIZE (15),
+ .MTU (MTU),
+ .REPORT_STRM_ERRS (1)
+ ) ep1_i (
+ .rfnoc_chdr_clk (rfnoc_chdr_clk ),
+ .rfnoc_chdr_rst (rfnoc_chdr_rst ),
+ .rfnoc_ctrl_clk (rfnoc_ctrl_clk ),
+ .rfnoc_ctrl_rst (rfnoc_ctrl_rst ),
+ .device_id (device_id ),
+ .s_axis_chdr_tdata (xb_to_ep1_tdata ),
+ .s_axis_chdr_tlast (xb_to_ep1_tlast ),
+ .s_axis_chdr_tvalid (xb_to_ep1_tvalid ),
+ .s_axis_chdr_tready (xb_to_ep1_tready ),
+ .m_axis_chdr_tdata (ep1_to_xb_tdata ),
+ .m_axis_chdr_tlast (ep1_to_xb_tlast ),
+ .m_axis_chdr_tvalid (ep1_to_xb_tvalid ),
+ .m_axis_chdr_tready (ep1_to_xb_tready ),
+ .s_axis_data_tdata ({s_ep1_in0_tdata}),
+ .s_axis_data_tlast ({s_ep1_in0_tlast}),
+ .s_axis_data_tvalid ({s_ep1_in0_tvalid}),
+ .s_axis_data_tready ({s_ep1_in0_tready}),
+ .m_axis_data_tdata ({m_ep1_out0_tdata}),
+ .m_axis_data_tlast ({m_ep1_out0_tlast}),
+ .m_axis_data_tvalid ({m_ep1_out0_tvalid}),
+ .m_axis_data_tready ({m_ep1_out0_tready}),
+ .s_axis_ctrl_tdata (s_ep1_ctrl_tdata ),
+ .s_axis_ctrl_tlast (s_ep1_ctrl_tlast ),
+ .s_axis_ctrl_tvalid (s_ep1_ctrl_tvalid),
+ .s_axis_ctrl_tready (s_ep1_ctrl_tready),
+ .m_axis_ctrl_tdata (m_ep1_ctrl_tdata ),
+ .m_axis_ctrl_tlast (m_ep1_ctrl_tlast ),
+ .m_axis_ctrl_tvalid (m_ep1_ctrl_tvalid),
+ .m_axis_ctrl_tready (m_ep1_ctrl_tready),
+ .strm_seq_err_stb ( ),
+ .strm_data_err_stb ( ),
+ .strm_route_err_stb ( ),
+ .signal_data_err (1'b0 )
+ );
+
+ 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;
+
+ chdr_stream_endpoint #(
+ .PROTOVER (PROTOVER),
+ .CHDR_W (CHDR_W),
+ .AXIS_CTRL_EN (0),
+ .AXIS_DATA_EN (1),
+ .NUM_DATA_I (1),
+ .NUM_DATA_O (1),
+ .INST_NUM (2),
+ .CTRL_XBAR_PORT (3),
+ .INGRESS_BUFF_SIZE (15),
+ .MTU (MTU),
+ .REPORT_STRM_ERRS (1)
+ ) ep4_i (
+ .rfnoc_chdr_clk (rfnoc_chdr_clk ),
+ .rfnoc_chdr_rst (rfnoc_chdr_rst ),
+ .rfnoc_ctrl_clk (rfnoc_ctrl_clk ),
+ .rfnoc_ctrl_rst (rfnoc_ctrl_rst ),
+ .device_id (device_id ),
+ .s_axis_chdr_tdata (xb_to_ep4_tdata ),
+ .s_axis_chdr_tlast (xb_to_ep4_tlast ),
+ .s_axis_chdr_tvalid (xb_to_ep4_tvalid ),
+ .s_axis_chdr_tready (xb_to_ep4_tready ),
+ .m_axis_chdr_tdata (ep4_to_xb_tdata ),
+ .m_axis_chdr_tlast (ep4_to_xb_tlast ),
+ .m_axis_chdr_tvalid (ep4_to_xb_tvalid ),
+ .m_axis_chdr_tready (ep4_to_xb_tready ),
+ .s_axis_data_tdata ({s_ep4_in0_tdata}),
+ .s_axis_data_tlast ({s_ep4_in0_tlast}),
+ .s_axis_data_tvalid ({s_ep4_in0_tvalid}),
+ .s_axis_data_tready ({s_ep4_in0_tready}),
+ .m_axis_data_tdata ({m_ep4_out0_tdata}),
+ .m_axis_data_tlast ({m_ep4_out0_tlast}),
+ .m_axis_data_tvalid ({m_ep4_out0_tvalid}),
+ .m_axis_data_tready ({m_ep4_out0_tready}),
+ .s_axis_ctrl_tdata (s_ep4_ctrl_tdata ),
+ .s_axis_ctrl_tlast (s_ep4_ctrl_tlast ),
+ .s_axis_ctrl_tvalid (s_ep4_ctrl_tvalid),
+ .s_axis_ctrl_tready (s_ep4_ctrl_tready),
+ .m_axis_ctrl_tdata (m_ep4_ctrl_tdata ),
+ .m_axis_ctrl_tlast (m_ep4_ctrl_tlast ),
+ .m_axis_ctrl_tvalid (m_ep4_ctrl_tvalid),
+ .m_axis_ctrl_tready (m_ep4_ctrl_tready),
+ .strm_seq_err_stb ( ),
+ .strm_data_err_stb ( ),
+ .strm_route_err_stb ( ),
+ .signal_data_err (1'b0 )
+ );
+
+ 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;
+
+ chdr_stream_endpoint #(
+ .PROTOVER (PROTOVER),
+ .CHDR_W (CHDR_W),
+ .AXIS_CTRL_EN (0),
+ .AXIS_DATA_EN (1),
+ .NUM_DATA_I (1),
+ .NUM_DATA_O (1),
+ .INST_NUM (3),
+ .CTRL_XBAR_PORT (4),
+ .INGRESS_BUFF_SIZE (15),
+ .MTU (MTU),
+ .REPORT_STRM_ERRS (1)
+ ) ep5_i (
+ .rfnoc_chdr_clk (rfnoc_chdr_clk ),
+ .rfnoc_chdr_rst (rfnoc_chdr_rst ),
+ .rfnoc_ctrl_clk (rfnoc_ctrl_clk ),
+ .rfnoc_ctrl_rst (rfnoc_ctrl_rst ),
+ .device_id (device_id ),
+ .s_axis_chdr_tdata (xb_to_ep5_tdata ),
+ .s_axis_chdr_tlast (xb_to_ep5_tlast ),
+ .s_axis_chdr_tvalid (xb_to_ep5_tvalid ),
+ .s_axis_chdr_tready (xb_to_ep5_tready ),
+ .m_axis_chdr_tdata (ep5_to_xb_tdata ),
+ .m_axis_chdr_tlast (ep5_to_xb_tlast ),
+ .m_axis_chdr_tvalid (ep5_to_xb_tvalid ),
+ .m_axis_chdr_tready (ep5_to_xb_tready ),
+ .s_axis_data_tdata ({s_ep5_in0_tdata}),
+ .s_axis_data_tlast ({s_ep5_in0_tlast}),
+ .s_axis_data_tvalid ({s_ep5_in0_tvalid}),
+ .s_axis_data_tready ({s_ep5_in0_tready}),
+ .m_axis_data_tdata ({m_ep5_out0_tdata}),
+ .m_axis_data_tlast ({m_ep5_out0_tlast}),
+ .m_axis_data_tvalid ({m_ep5_out0_tvalid}),
+ .m_axis_data_tready ({m_ep5_out0_tready}),
+ .s_axis_ctrl_tdata (s_ep5_ctrl_tdata ),
+ .s_axis_ctrl_tlast (s_ep5_ctrl_tlast ),
+ .s_axis_ctrl_tvalid (s_ep5_ctrl_tvalid),
+ .s_axis_ctrl_tready (s_ep5_ctrl_tready),
+ .m_axis_ctrl_tdata (m_ep5_ctrl_tdata ),
+ .m_axis_ctrl_tlast (m_ep5_ctrl_tlast ),
+ .m_axis_ctrl_tvalid (m_ep5_ctrl_tvalid),
+ .m_axis_ctrl_tready (m_ep5_ctrl_tready),
+ .strm_seq_err_stb ( ),
+ .strm_data_err_stb ( ),
+ .strm_route_err_stb ( ),
+ .signal_data_err (1'b0 )
+ );
+
+
+
+ // ----------------------------------------------------
+ // Control Crossbar
+ // ----------------------------------------------------
+
+ wire [31:0] m_core_ctrl_tdata , s_core_ctrl_tdata ;
+ wire m_core_ctrl_tlast , s_core_ctrl_tlast ;
+ wire m_core_ctrl_tvalid, s_core_ctrl_tvalid;
+ wire m_core_ctrl_tready, s_core_ctrl_tready;
+ wire [31:0] m_radio0_ctrl_tdata , s_radio0_ctrl_tdata ;
+ wire m_radio0_ctrl_tlast , s_radio0_ctrl_tlast ;
+ wire m_radio0_ctrl_tvalid, s_radio0_ctrl_tvalid;
+ wire m_radio0_ctrl_tready, s_radio0_ctrl_tready;
+ wire [31:0] m_radio1_ctrl_tdata , s_radio1_ctrl_tdata ;
+ wire m_radio1_ctrl_tlast , s_radio1_ctrl_tlast ;
+ wire m_radio1_ctrl_tvalid, s_radio1_ctrl_tvalid;
+ wire m_radio1_ctrl_tready, s_radio1_ctrl_tready;
+ wire [31:0] m_fifo0_ctrl_tdata , s_fifo0_ctrl_tdata ;
+ wire m_fifo0_ctrl_tlast , s_fifo0_ctrl_tlast ;
+ wire m_fifo0_ctrl_tvalid, s_fifo0_ctrl_tvalid;
+ wire m_fifo0_ctrl_tready, s_fifo0_ctrl_tready;
+
+ axis_ctrl_crossbar_nxn #(
+ .WIDTH (32),
+ .NPORTS (5),
+ .TOPOLOGY ("TORUS"),
+ .INGRESS_BUFF_SIZE(5),
+ .ROUTER_BUFF_SIZE (5),
+ .ROUTING_ALLOC ("WORMHOLE"),
+ .SWITCH_ALLOC ("PRIO")
+ ) ctrl_xb_i (
+ .clk (rfnoc_ctrl_clk),
+ .reset (rfnoc_ctrl_rst),
+ .s_axis_tdata ({m_fifo0_ctrl_tdata , m_radio1_ctrl_tdata , m_radio0_ctrl_tdata , m_ep0_ctrl_tdata , m_core_ctrl_tdata }),
+ .s_axis_tvalid ({m_fifo0_ctrl_tvalid, m_radio1_ctrl_tvalid, m_radio0_ctrl_tvalid, m_ep0_ctrl_tvalid, m_core_ctrl_tvalid}),
+ .s_axis_tlast ({m_fifo0_ctrl_tlast , m_radio1_ctrl_tlast , m_radio0_ctrl_tlast , m_ep0_ctrl_tlast , m_core_ctrl_tlast }),
+ .s_axis_tready ({m_fifo0_ctrl_tready, m_radio1_ctrl_tready, m_radio0_ctrl_tready, m_ep0_ctrl_tready, m_core_ctrl_tready}),
+ .m_axis_tdata ({s_fifo0_ctrl_tdata , s_radio1_ctrl_tdata , s_radio0_ctrl_tdata , s_ep0_ctrl_tdata , s_core_ctrl_tdata }),
+ .m_axis_tvalid ({s_fifo0_ctrl_tvalid, s_radio1_ctrl_tvalid, s_radio0_ctrl_tvalid, s_ep0_ctrl_tvalid, s_core_ctrl_tvalid}),
+ .m_axis_tlast ({s_fifo0_ctrl_tlast , s_radio1_ctrl_tlast , s_radio0_ctrl_tlast , s_ep0_ctrl_tlast , s_core_ctrl_tlast }),
+ .m_axis_tready ({s_fifo0_ctrl_tready, s_radio1_ctrl_tready, s_radio0_ctrl_tready, s_ep0_ctrl_tready, s_core_ctrl_tready}),
+ .deadlock_detected()
+ );
+
+ // ----------------------------------------------------
+ // RFNoC Core Kernel
+ // ----------------------------------------------------
+ wire [(512*3)-1:0] rfnoc_core_config, rfnoc_core_status;
+
+ rfnoc_core_kernel #(
+ .PROTOVER (PROTOVER),
+ .DEVICE_TYPE (16'h1320),
+ .DEVICE_FAMILY ("7SERIES"),
+ .SAFE_START_CLKS (0),
+ .NUM_BLOCKS (3),
+ .NUM_STREAM_ENDPOINTS(4),
+ .NUM_ENDPOINTS_CTRL (1),
+ .NUM_TRANSPORTS (3),
+ .NUM_EDGES (8),
+ .CHDR_XBAR_PRESENT (1),
+ .EDGE_TBL_FILE (EDGE_TBL_FILE)
+ ) core_kernel_i (
+ .chdr_aclk (chdr_aclk),
+ .chdr_aclk_locked (1'b1),
+ .ctrl_aclk (ctrl_aclk),
+ .ctrl_aclk_locked (1'b1),
+ .core_arst (core_arst),
+ .core_chdr_clk (rfnoc_chdr_clk),
+ .core_chdr_rst (rfnoc_chdr_rst),
+ .core_ctrl_clk (rfnoc_ctrl_clk),
+ .core_ctrl_rst (rfnoc_ctrl_rst),
+ .s_axis_ctrl_tdata (s_core_ctrl_tdata ),
+ .s_axis_ctrl_tlast (s_core_ctrl_tlast ),
+ .s_axis_ctrl_tvalid (s_core_ctrl_tvalid),
+ .s_axis_ctrl_tready (s_core_ctrl_tready),
+ .m_axis_ctrl_tdata (m_core_ctrl_tdata ),
+ .m_axis_ctrl_tlast (m_core_ctrl_tlast ),
+ .m_axis_ctrl_tvalid (m_core_ctrl_tvalid),
+ .m_axis_ctrl_tready (m_core_ctrl_tready),
+ .device_id (device_id),
+ .rfnoc_core_config (rfnoc_core_config),
+ .rfnoc_core_status (rfnoc_core_status)
+ );
+
+ // ----------------------------------------------------
+ // Blocks
+ // ----------------------------------------------------
+
+ // ----------------------------------------------------
+ // radio0
+ // ----------------------------------------------------
+ wire radio0_radio_clk;
+ wire [CHDR_W-1:0] s_radio0_in_0_tdata ;
+ wire s_radio0_in_0_tlast ;
+ wire s_radio0_in_0_tvalid;
+ wire s_radio0_in_0_tready;
+ wire [CHDR_W-1:0] m_radio0_out_0_tdata ;
+ wire m_radio0_out_0_tlast ;
+ wire m_radio0_out_0_tvalid;
+ wire m_radio0_out_0_tready;
+
+ // ctrl_port
+ wire [ 1-1:0] radio0_m_ctrlport_req_wr;
+ wire [ 1-1:0] radio0_m_ctrlport_req_rd;
+ wire [ 20-1:0] radio0_m_ctrlport_req_addr;
+ wire [ 32-1:0] radio0_m_ctrlport_req_data;
+ wire [ 4-1:0] radio0_m_ctrlport_req_byte_en;
+ wire [ 1-1:0] radio0_m_ctrlport_req_has_time;
+ wire [ 64-1:0] radio0_m_ctrlport_req_time;
+ wire [ 1-1:0] radio0_m_ctrlport_resp_ack;
+ wire [ 2-1:0] radio0_m_ctrlport_resp_status;
+ wire [ 32-1:0] radio0_m_ctrlport_resp_data;
+ // time_keeper
+ wire [ 64-1:0] radio0_radio_time;
+ // radio_iface
+ wire [ 32-1:0] radio0_radio_rx_data;
+ wire [ 1-1:0] radio0_radio_rx_stb;
+ wire [ 1-1:0] radio0_radio_rx_running;
+ wire [ 32-1:0] radio0_radio_tx_data;
+ wire [ 1-1:0] radio0_radio_tx_stb;
+ wire [ 1-1:0] radio0_radio_tx_running;
+
+ rfnoc_block_radio #(
+ .THIS_PORTID(2),
+ .CHDR_W(CHDR_W),
+ .NUM_PORTS(1),
+ .MTU(MTU)
+ ) b_radio0_0 (
+ .rfnoc_chdr_clk (rfnoc_chdr_clk),
+ .rfnoc_ctrl_clk (rfnoc_ctrl_clk),
+ .radio_clk(radio0_radio_clk),
+ .rfnoc_core_config (rfnoc_core_config[512*1-1:512*0]),
+ .rfnoc_core_status (rfnoc_core_status[512*1-1:512*0]),
+
+ .m_ctrlport_req_wr(radio0_m_ctrlport_req_wr),
+ .m_ctrlport_req_rd(radio0_m_ctrlport_req_rd),
+ .m_ctrlport_req_addr(radio0_m_ctrlport_req_addr),
+ .m_ctrlport_req_data(radio0_m_ctrlport_req_data),
+ .m_ctrlport_req_byte_en(radio0_m_ctrlport_req_byte_en),
+ .m_ctrlport_req_has_time(radio0_m_ctrlport_req_has_time),
+ .m_ctrlport_req_time(radio0_m_ctrlport_req_time),
+ .m_ctrlport_resp_ack(radio0_m_ctrlport_resp_ack),
+ .m_ctrlport_resp_status(radio0_m_ctrlport_resp_status),
+ .m_ctrlport_resp_data(radio0_m_ctrlport_resp_data),
+ .radio_time(radio0_radio_time),
+ .radio_rx_data(radio0_radio_rx_data),
+ .radio_rx_stb(radio0_radio_rx_stb),
+ .radio_rx_running(radio0_radio_rx_running),
+ .radio_tx_data(radio0_radio_tx_data),
+ .radio_tx_stb(radio0_radio_tx_stb),
+ .radio_tx_running(radio0_radio_tx_running),
+
+ .s_rfnoc_chdr_tdata ({s_radio0_in_0_tdata }),
+ .s_rfnoc_chdr_tlast ({s_radio0_in_0_tlast }),
+ .s_rfnoc_chdr_tvalid({s_radio0_in_0_tvalid}),
+ .s_rfnoc_chdr_tready({s_radio0_in_0_tready}),
+ .m_rfnoc_chdr_tdata ({m_radio0_out_0_tdata }),
+ .m_rfnoc_chdr_tlast ({m_radio0_out_0_tlast }),
+ .m_rfnoc_chdr_tvalid({m_radio0_out_0_tvalid}),
+ .m_rfnoc_chdr_tready({m_radio0_out_0_tready}),
+ .s_rfnoc_ctrl_tdata (s_radio0_ctrl_tdata ),
+ .s_rfnoc_ctrl_tlast (s_radio0_ctrl_tlast ),
+ .s_rfnoc_ctrl_tvalid(s_radio0_ctrl_tvalid),
+ .s_rfnoc_ctrl_tready(s_radio0_ctrl_tready),
+ .m_rfnoc_ctrl_tdata (m_radio0_ctrl_tdata ),
+ .m_rfnoc_ctrl_tlast (m_radio0_ctrl_tlast ),
+ .m_rfnoc_ctrl_tvalid(m_radio0_ctrl_tvalid),
+ .m_rfnoc_ctrl_tready(m_radio0_ctrl_tready)
+ );
+
+
+ // ----------------------------------------------------
+ // radio1
+ // ----------------------------------------------------
+ wire radio1_radio_clk;
+ wire [CHDR_W-1:0] s_radio1_in_0_tdata ;
+ wire s_radio1_in_0_tlast ;
+ wire s_radio1_in_0_tvalid;
+ wire s_radio1_in_0_tready;
+ wire [CHDR_W-1:0] m_radio1_out_0_tdata ;
+ wire m_radio1_out_0_tlast ;
+ wire m_radio1_out_0_tvalid;
+ wire m_radio1_out_0_tready;
+
+ // ctrl_port
+ wire [ 1-1:0] radio1_m_ctrlport_req_wr;
+ wire [ 1-1:0] radio1_m_ctrlport_req_rd;
+ wire [ 20-1:0] radio1_m_ctrlport_req_addr;
+ wire [ 32-1:0] radio1_m_ctrlport_req_data;
+ wire [ 4-1:0] radio1_m_ctrlport_req_byte_en;
+ wire [ 1-1:0] radio1_m_ctrlport_req_has_time;
+ wire [ 64-1:0] radio1_m_ctrlport_req_time;
+ wire [ 1-1:0] radio1_m_ctrlport_resp_ack;
+ wire [ 2-1:0] radio1_m_ctrlport_resp_status;
+ wire [ 32-1:0] radio1_m_ctrlport_resp_data;
+ // time_keeper
+ wire [ 64-1:0] radio1_radio_time;
+ // radio_iface
+ wire [ 32-1:0] radio1_radio_rx_data;
+ wire [ 1-1:0] radio1_radio_rx_stb;
+ wire [ 1-1:0] radio1_radio_rx_running;
+ wire [ 32-1:0] radio1_radio_tx_data;
+ wire [ 1-1:0] radio1_radio_tx_stb;
+ wire [ 1-1:0] radio1_radio_tx_running;
+
+ rfnoc_block_radio #(
+ .THIS_PORTID(3),
+ .CHDR_W(CHDR_W),
+ .NUM_PORTS(1),
+ .MTU(MTU)
+ ) b_radio1_1 (
+ .rfnoc_chdr_clk (rfnoc_chdr_clk),
+ .rfnoc_ctrl_clk (rfnoc_ctrl_clk),
+ .radio_clk(radio1_radio_clk),
+ .rfnoc_core_config (rfnoc_core_config[512*2-1:512*1]),
+ .rfnoc_core_status (rfnoc_core_status[512*2-1:512*1]),
+
+ .m_ctrlport_req_wr(radio1_m_ctrlport_req_wr),
+ .m_ctrlport_req_rd(radio1_m_ctrlport_req_rd),
+ .m_ctrlport_req_addr(radio1_m_ctrlport_req_addr),
+ .m_ctrlport_req_data(radio1_m_ctrlport_req_data),
+ .m_ctrlport_req_byte_en(radio1_m_ctrlport_req_byte_en),
+ .m_ctrlport_req_has_time(radio1_m_ctrlport_req_has_time),
+ .m_ctrlport_req_time(radio1_m_ctrlport_req_time),
+ .m_ctrlport_resp_ack(radio1_m_ctrlport_resp_ack),
+ .m_ctrlport_resp_status(radio1_m_ctrlport_resp_status),
+ .m_ctrlport_resp_data(radio1_m_ctrlport_resp_data),
+ .radio_time(radio1_radio_time),
+ .radio_rx_data(radio1_radio_rx_data),
+ .radio_rx_stb(radio1_radio_rx_stb),
+ .radio_rx_running(radio1_radio_rx_running),
+ .radio_tx_data(radio1_radio_tx_data),
+ .radio_tx_stb(radio1_radio_tx_stb),
+ .radio_tx_running(radio1_radio_tx_running),
+
+ .s_rfnoc_chdr_tdata ({s_radio1_in_0_tdata }),
+ .s_rfnoc_chdr_tlast ({s_radio1_in_0_tlast }),
+ .s_rfnoc_chdr_tvalid({s_radio1_in_0_tvalid}),
+ .s_rfnoc_chdr_tready({s_radio1_in_0_tready}),
+ .m_rfnoc_chdr_tdata ({m_radio1_out_0_tdata }),
+ .m_rfnoc_chdr_tlast ({m_radio1_out_0_tlast }),
+ .m_rfnoc_chdr_tvalid({m_radio1_out_0_tvalid}),
+ .m_rfnoc_chdr_tready({m_radio1_out_0_tready}),
+ .s_rfnoc_ctrl_tdata (s_radio1_ctrl_tdata ),
+ .s_rfnoc_ctrl_tlast (s_radio1_ctrl_tlast ),
+ .s_rfnoc_ctrl_tvalid(s_radio1_ctrl_tvalid),
+ .s_rfnoc_ctrl_tready(s_radio1_ctrl_tready),
+ .m_rfnoc_ctrl_tdata (m_radio1_ctrl_tdata ),
+ .m_rfnoc_ctrl_tlast (m_radio1_ctrl_tlast ),
+ .m_rfnoc_ctrl_tvalid(m_radio1_ctrl_tvalid),
+ .m_rfnoc_ctrl_tready(m_radio1_ctrl_tready)
+ );
+
+
+ // ----------------------------------------------------
+ // fifo0
+ // ----------------------------------------------------
+ wire fifo0_mem_clk;
+ wire [CHDR_W-1:0] s_fifo0_in_3_tdata , s_fifo0_in_2_tdata , s_fifo0_in_1_tdata , s_fifo0_in_0_tdata ;
+ wire s_fifo0_in_3_tlast , s_fifo0_in_2_tlast , s_fifo0_in_1_tlast , s_fifo0_in_0_tlast ;
+ wire s_fifo0_in_3_tvalid, s_fifo0_in_2_tvalid, s_fifo0_in_1_tvalid, s_fifo0_in_0_tvalid;
+ wire s_fifo0_in_3_tready, s_fifo0_in_2_tready, s_fifo0_in_1_tready, s_fifo0_in_0_tready;
+ wire [CHDR_W-1:0] m_fifo0_out_3_tdata , m_fifo0_out_2_tdata , m_fifo0_out_1_tdata , m_fifo0_out_0_tdata ;
+ wire m_fifo0_out_3_tlast , m_fifo0_out_2_tlast , m_fifo0_out_1_tlast , m_fifo0_out_0_tlast ;
+ wire m_fifo0_out_3_tvalid, m_fifo0_out_2_tvalid, m_fifo0_out_1_tvalid, m_fifo0_out_0_tvalid;
+ wire m_fifo0_out_3_tready, m_fifo0_out_2_tready, m_fifo0_out_1_tready, m_fifo0_out_0_tready;
+
+ // axi_ram
+ wire [ 1-1:0] fifo0_axi_rst;
+ wire [ 4-1:0] fifo0_m_axi_awid;
+ wire [128-1:0] fifo0_m_axi_awaddr;
+ wire [ 32-1:0] fifo0_m_axi_awlen;
+ wire [ 12-1:0] fifo0_m_axi_awsize;
+ wire [ 8-1:0] fifo0_m_axi_awburst;
+ wire [ 4-1:0] fifo0_m_axi_awlock;
+ wire [ 16-1:0] fifo0_m_axi_awcache;
+ wire [ 12-1:0] fifo0_m_axi_awprot;
+ wire [ 16-1:0] fifo0_m_axi_awqos;
+ wire [ 16-1:0] fifo0_m_axi_awregion;
+ wire [ 4-1:0] fifo0_m_axi_awuser;
+ wire [ 4-1:0] fifo0_m_axi_awvalid;
+ wire [ 4-1:0] fifo0_m_axi_awready;
+ wire [256-1:0] fifo0_m_axi_wdata;
+ wire [ 32-1:0] fifo0_m_axi_wstrb;
+ wire [ 4-1:0] fifo0_m_axi_wlast;
+ wire [ 4-1:0] fifo0_m_axi_wuser;
+ wire [ 4-1:0] fifo0_m_axi_wvalid;
+ wire [ 4-1:0] fifo0_m_axi_wready;
+ wire [ 4-1:0] fifo0_m_axi_bid;
+ wire [ 8-1:0] fifo0_m_axi_bresp;
+ wire [ 4-1:0] fifo0_m_axi_buser;
+ wire [ 4-1:0] fifo0_m_axi_bvalid;
+ wire [ 4-1:0] fifo0_m_axi_bready;
+ wire [ 4-1:0] fifo0_m_axi_arid;
+ wire [128-1:0] fifo0_m_axi_araddr;
+ wire [ 32-1:0] fifo0_m_axi_arlen;
+ wire [ 12-1:0] fifo0_m_axi_arsize;
+ wire [ 8-1:0] fifo0_m_axi_arburst;
+ wire [ 4-1:0] fifo0_m_axi_arlock;
+ wire [ 16-1:0] fifo0_m_axi_arcache;
+ wire [ 12-1:0] fifo0_m_axi_arprot;
+ wire [ 16-1:0] fifo0_m_axi_arqos;
+ wire [ 16-1:0] fifo0_m_axi_arregion;
+ wire [ 4-1:0] fifo0_m_axi_aruser;
+ wire [ 4-1:0] fifo0_m_axi_arvalid;
+ wire [ 4-1:0] fifo0_m_axi_arready;
+ wire [ 4-1:0] fifo0_m_axi_rid;
+ wire [256-1:0] fifo0_m_axi_rdata;
+ wire [ 8-1:0] fifo0_m_axi_rresp;
+ wire [ 4-1:0] fifo0_m_axi_rlast;
+ wire [ 4-1:0] fifo0_m_axi_ruser;
+ wire [ 4-1:0] fifo0_m_axi_rvalid;
+ wire [ 4-1:0] fifo0_m_axi_rready;
+
+ rfnoc_block_axi_ram_fifo #(
+ .THIS_PORTID(4),
+ .CHDR_W(CHDR_W),
+ .NUM_PORTS(4),
+ .MEM_DATA_W(64),
+ .MEM_ADDR_W(31),
+ .FIFO_ADDR_BASE({30'h06000000, 30'h04000000, 30'h02000000, 30'h00000000}),
+ .FIFO_ADDR_MASK({30'h01FFFFFF, 30'h01FFFFFF, 30'h01FFFFFF, 30'h01FFFFFF}),
+ .MEM_CLK_RATE(303819444),
+ .MTU(MTU)
+ ) b_fifo0_2 (
+ .rfnoc_chdr_clk (rfnoc_chdr_clk),
+ .rfnoc_ctrl_clk (rfnoc_ctrl_clk),
+ .mem_clk(fifo0_mem_clk),
+ .rfnoc_core_config (rfnoc_core_config[512*3-1:512*2]),
+ .rfnoc_core_status (rfnoc_core_status[512*3-1:512*2]),
+
+ .axi_rst(fifo0_axi_rst),
+ .m_axi_awid(fifo0_m_axi_awid),
+ .m_axi_awaddr(fifo0_m_axi_awaddr),
+ .m_axi_awlen(fifo0_m_axi_awlen),
+ .m_axi_awsize(fifo0_m_axi_awsize),
+ .m_axi_awburst(fifo0_m_axi_awburst),
+ .m_axi_awlock(fifo0_m_axi_awlock),
+ .m_axi_awcache(fifo0_m_axi_awcache),
+ .m_axi_awprot(fifo0_m_axi_awprot),
+ .m_axi_awqos(fifo0_m_axi_awqos),
+ .m_axi_awregion(fifo0_m_axi_awregion),
+ .m_axi_awuser(fifo0_m_axi_awuser),
+ .m_axi_awvalid(fifo0_m_axi_awvalid),
+ .m_axi_awready(fifo0_m_axi_awready),
+ .m_axi_wdata(fifo0_m_axi_wdata),
+ .m_axi_wstrb(fifo0_m_axi_wstrb),
+ .m_axi_wlast(fifo0_m_axi_wlast),
+ .m_axi_wuser(fifo0_m_axi_wuser),
+ .m_axi_wvalid(fifo0_m_axi_wvalid),
+ .m_axi_wready(fifo0_m_axi_wready),
+ .m_axi_bid(fifo0_m_axi_bid),
+ .m_axi_bresp(fifo0_m_axi_bresp),
+ .m_axi_buser(fifo0_m_axi_buser),
+ .m_axi_bvalid(fifo0_m_axi_bvalid),
+ .m_axi_bready(fifo0_m_axi_bready),
+ .m_axi_arid(fifo0_m_axi_arid),
+ .m_axi_araddr(fifo0_m_axi_araddr),
+ .m_axi_arlen(fifo0_m_axi_arlen),
+ .m_axi_arsize(fifo0_m_axi_arsize),
+ .m_axi_arburst(fifo0_m_axi_arburst),
+ .m_axi_arlock(fifo0_m_axi_arlock),
+ .m_axi_arcache(fifo0_m_axi_arcache),
+ .m_axi_arprot(fifo0_m_axi_arprot),
+ .m_axi_arqos(fifo0_m_axi_arqos),
+ .m_axi_arregion(fifo0_m_axi_arregion),
+ .m_axi_aruser(fifo0_m_axi_aruser),
+ .m_axi_arvalid(fifo0_m_axi_arvalid),
+ .m_axi_arready(fifo0_m_axi_arready),
+ .m_axi_rid(fifo0_m_axi_rid),
+ .m_axi_rdata(fifo0_m_axi_rdata),
+ .m_axi_rresp(fifo0_m_axi_rresp),
+ .m_axi_rlast(fifo0_m_axi_rlast),
+ .m_axi_ruser(fifo0_m_axi_ruser),
+ .m_axi_rvalid(fifo0_m_axi_rvalid),
+ .m_axi_rready(fifo0_m_axi_rready),
+
+ .s_rfnoc_chdr_tdata ({s_fifo0_in_3_tdata , s_fifo0_in_2_tdata , s_fifo0_in_1_tdata , s_fifo0_in_0_tdata }),
+ .s_rfnoc_chdr_tlast ({s_fifo0_in_3_tlast , s_fifo0_in_2_tlast , s_fifo0_in_1_tlast , s_fifo0_in_0_tlast }),
+ .s_rfnoc_chdr_tvalid({s_fifo0_in_3_tvalid, s_fifo0_in_2_tvalid, s_fifo0_in_1_tvalid, s_fifo0_in_0_tvalid}),
+ .s_rfnoc_chdr_tready({s_fifo0_in_3_tready, s_fifo0_in_2_tready, s_fifo0_in_1_tready, s_fifo0_in_0_tready}),
+ .m_rfnoc_chdr_tdata ({m_fifo0_out_3_tdata , m_fifo0_out_2_tdata , m_fifo0_out_1_tdata , m_fifo0_out_0_tdata }),
+ .m_rfnoc_chdr_tlast ({m_fifo0_out_3_tlast , m_fifo0_out_2_tlast , m_fifo0_out_1_tlast , m_fifo0_out_0_tlast }),
+ .m_rfnoc_chdr_tvalid({m_fifo0_out_3_tvalid, m_fifo0_out_2_tvalid, m_fifo0_out_1_tvalid, m_fifo0_out_0_tvalid}),
+ .m_rfnoc_chdr_tready({m_fifo0_out_3_tready, m_fifo0_out_2_tready, m_fifo0_out_1_tready, m_fifo0_out_0_tready}),
+ .s_rfnoc_ctrl_tdata (s_fifo0_ctrl_tdata ),
+ .s_rfnoc_ctrl_tlast (s_fifo0_ctrl_tlast ),
+ .s_rfnoc_ctrl_tvalid(s_fifo0_ctrl_tvalid),
+ .s_rfnoc_ctrl_tready(s_fifo0_ctrl_tready),
+ .m_rfnoc_ctrl_tdata (m_fifo0_ctrl_tdata ),
+ .m_rfnoc_ctrl_tlast (m_fifo0_ctrl_tlast ),
+ .m_rfnoc_ctrl_tvalid(m_fifo0_ctrl_tvalid),
+ .m_rfnoc_ctrl_tready(m_fifo0_ctrl_tready)
+ );
+
+
+ // ----------------------------------------------------
+ // Static Router
+ // ----------------------------------------------------
+ assign s_radio0_in_0_tdata = m_ep0_out0_tdata ;
+ assign s_radio0_in_0_tlast = m_ep0_out0_tlast ;
+ assign s_radio0_in_0_tvalid = m_ep0_out0_tvalid;
+ assign m_ep0_out0_tready = s_radio0_in_0_tready;
+
+ assign s_ep0_in0_tdata = m_radio0_out_0_tdata ;
+ assign s_ep0_in0_tlast = m_radio0_out_0_tlast ;
+ assign s_ep0_in0_tvalid = m_radio0_out_0_tvalid;
+ assign m_radio0_out_0_tready = s_ep0_in0_tready;
+
+ assign s_radio1_in_0_tdata = m_ep1_out0_tdata ;
+ assign s_radio1_in_0_tlast = m_ep1_out0_tlast ;
+ assign s_radio1_in_0_tvalid = m_ep1_out0_tvalid;
+ assign m_ep1_out0_tready = s_radio1_in_0_tready;
+
+ assign s_ep1_in0_tdata = m_radio1_out_0_tdata ;
+ assign s_ep1_in0_tlast = m_radio1_out_0_tlast ;
+ assign s_ep1_in0_tvalid = m_radio1_out_0_tvalid;
+ assign m_radio1_out_0_tready = s_ep1_in0_tready;
+
+ assign s_fifo0_in_0_tdata = m_ep4_out0_tdata ;
+ assign s_fifo0_in_0_tlast = m_ep4_out0_tlast ;
+ assign s_fifo0_in_0_tvalid = m_ep4_out0_tvalid;
+ assign m_ep4_out0_tready = s_fifo0_in_0_tready;
+
+ assign s_ep4_in0_tdata = m_fifo0_out_0_tdata ;
+ assign s_ep4_in0_tlast = m_fifo0_out_0_tlast ;
+ assign s_ep4_in0_tvalid = m_fifo0_out_0_tvalid;
+ assign m_fifo0_out_0_tready = s_ep4_in0_tready;
+
+ assign s_fifo0_in_1_tdata = m_ep5_out0_tdata ;
+ assign s_fifo0_in_1_tlast = m_ep5_out0_tlast ;
+ assign s_fifo0_in_1_tvalid = m_ep5_out0_tvalid;
+ assign m_ep5_out0_tready = s_fifo0_in_1_tready;
+
+ assign s_ep5_in0_tdata = m_fifo0_out_1_tdata ;
+ assign s_ep5_in0_tlast = m_fifo0_out_1_tlast ;
+ assign s_ep5_in0_tvalid = m_fifo0_out_1_tvalid;
+ assign m_fifo0_out_1_tready = s_ep5_in0_tready;
+
+
+ // ----------------------------------------------------
+ // Unused Ports
+ // ----------------------------------------------------
+ assign s_fifo0_in_2_tdata = {CHDR_W{1'b0}};
+ assign s_fifo0_in_2_tlast = 1'b0;
+ assign s_fifo0_in_2_tvalid = 1'b0;
+ assign s_fifo0_in_3_tdata = {CHDR_W{1'b0}};
+ assign s_fifo0_in_3_tlast = 1'b0;
+ assign s_fifo0_in_3_tvalid = 1'b0;
+ assign m_fifo0_out_2_tready = 1'b1;
+ assign m_fifo0_out_3_tready = 1'b1;
+
+ // ----------------------------------------------------
+ // Clock Domains
+ // ----------------------------------------------------
+ assign radio0_radio_clk = radio_clk;
+ assign radio1_radio_clk = radio_clk;
+ assign fifo0_mem_clk = dram_clk;
+
+
+ // ----------------------------------------------------
+ // IO Port Connection
+ // ----------------------------------------------------
+ // Master/Slave Connections:
+ assign m_ctrlport_radio0_req_wr = radio0_m_ctrlport_req_wr;
+ assign m_ctrlport_radio0_req_rd = radio0_m_ctrlport_req_rd;
+ assign m_ctrlport_radio0_req_addr = radio0_m_ctrlport_req_addr;
+ assign m_ctrlport_radio0_req_data = radio0_m_ctrlport_req_data;
+ assign m_ctrlport_radio0_req_byte_en = radio0_m_ctrlport_req_byte_en;
+ assign m_ctrlport_radio0_req_has_time = radio0_m_ctrlport_req_has_time;
+ assign m_ctrlport_radio0_req_time = radio0_m_ctrlport_req_time;
+ assign radio0_m_ctrlport_resp_ack = m_ctrlport_radio0_resp_ack;
+ assign radio0_m_ctrlport_resp_status = m_ctrlport_radio0_resp_status;
+ assign radio0_m_ctrlport_resp_data = m_ctrlport_radio0_resp_data;
+
+ assign m_ctrlport_radio1_req_wr = radio1_m_ctrlport_req_wr;
+ assign m_ctrlport_radio1_req_rd = radio1_m_ctrlport_req_rd;
+ assign m_ctrlport_radio1_req_addr = radio1_m_ctrlport_req_addr;
+ assign m_ctrlport_radio1_req_data = radio1_m_ctrlport_req_data;
+ assign m_ctrlport_radio1_req_byte_en = radio1_m_ctrlport_req_byte_en;
+ assign m_ctrlport_radio1_req_has_time = radio1_m_ctrlport_req_has_time;
+ assign m_ctrlport_radio1_req_time = radio1_m_ctrlport_req_time;
+ assign radio1_m_ctrlport_resp_ack = m_ctrlport_radio1_resp_ack;
+ assign radio1_m_ctrlport_resp_status = m_ctrlport_radio1_resp_status;
+ assign radio1_m_ctrlport_resp_data = m_ctrlport_radio1_resp_data;
+
+ assign radio0_radio_rx_data = radio_rx_data_radio0;
+ assign radio0_radio_rx_stb = radio_rx_stb_radio0;
+ assign radio_rx_running_radio0 = radio0_radio_rx_running;
+ assign radio_tx_data_radio0 = radio0_radio_tx_data;
+ assign radio0_radio_tx_stb = radio_tx_stb_radio0;
+ assign radio_tx_running_radio0 = radio0_radio_tx_running;
+
+ assign radio1_radio_rx_data = radio_rx_data_radio1;
+ assign radio1_radio_rx_stb = radio_rx_stb_radio1;
+ assign radio_rx_running_radio1 = radio1_radio_rx_running;
+ assign radio_tx_data_radio1 = radio1_radio_tx_data;
+ assign radio1_radio_tx_stb = radio_tx_stb_radio1;
+ assign radio_tx_running_radio1 = radio1_radio_tx_running;
+
+ assign fifo0_axi_rst = axi_rst;
+ assign m_axi_awid = fifo0_m_axi_awid;
+ assign m_axi_awaddr = fifo0_m_axi_awaddr;
+ assign m_axi_awlen = fifo0_m_axi_awlen;
+ assign m_axi_awsize = fifo0_m_axi_awsize;
+ assign m_axi_awburst = fifo0_m_axi_awburst;
+ assign m_axi_awlock = fifo0_m_axi_awlock;
+ assign m_axi_awcache = fifo0_m_axi_awcache;
+ assign m_axi_awprot = fifo0_m_axi_awprot;
+ assign m_axi_awqos = fifo0_m_axi_awqos;
+ assign m_axi_awregion = fifo0_m_axi_awregion;
+ assign m_axi_awuser = fifo0_m_axi_awuser;
+ assign m_axi_awvalid = fifo0_m_axi_awvalid;
+ assign fifo0_m_axi_awready = m_axi_awready;
+ assign m_axi_wdata = fifo0_m_axi_wdata;
+ assign m_axi_wstrb = fifo0_m_axi_wstrb;
+ assign m_axi_wlast = fifo0_m_axi_wlast;
+ assign m_axi_wuser = fifo0_m_axi_wuser;
+ assign m_axi_wvalid = fifo0_m_axi_wvalid;
+ assign fifo0_m_axi_wready = m_axi_wready;
+ assign fifo0_m_axi_bid = m_axi_bid;
+ assign fifo0_m_axi_bresp = m_axi_bresp;
+ assign fifo0_m_axi_buser = m_axi_buser;
+ assign fifo0_m_axi_bvalid = m_axi_bvalid;
+ assign m_axi_bready = fifo0_m_axi_bready;
+ assign m_axi_arid = fifo0_m_axi_arid;
+ assign m_axi_araddr = fifo0_m_axi_araddr;
+ assign m_axi_arlen = fifo0_m_axi_arlen;
+ assign m_axi_arsize = fifo0_m_axi_arsize;
+ assign m_axi_arburst = fifo0_m_axi_arburst;
+ assign m_axi_arlock = fifo0_m_axi_arlock;
+ assign m_axi_arcache = fifo0_m_axi_arcache;
+ assign m_axi_arprot = fifo0_m_axi_arprot;
+ assign m_axi_arqos = fifo0_m_axi_arqos;
+ assign m_axi_arregion = fifo0_m_axi_arregion;
+ assign m_axi_aruser = fifo0_m_axi_aruser;
+ assign m_axi_arvalid = fifo0_m_axi_arvalid;
+ assign fifo0_m_axi_arready = m_axi_arready;
+ assign fifo0_m_axi_rid = m_axi_rid;
+ assign fifo0_m_axi_rdata = m_axi_rdata;
+ assign fifo0_m_axi_rresp = m_axi_rresp;
+ assign fifo0_m_axi_rlast = m_axi_rlast;
+ assign fifo0_m_axi_ruser = m_axi_ruser;
+ assign fifo0_m_axi_rvalid = m_axi_rvalid;
+ assign m_axi_rready = fifo0_m_axi_rready;
+
+ // Broadcaster/Listener Connections:
+ assign radio0_radio_time = radio_time;
+
+ assign radio1_radio_time = radio_time;
+
+endmodule
diff --git a/fpga/usrp3/top/n3xx/n320_bist_image_core.yml b/fpga/usrp3/top/n3xx/n320_bist_image_core.yml
new file mode 100644
index 000000000..bc9fb18a1
--- /dev/null
+++ b/fpga/usrp3/top/n3xx/n320_bist_image_core.yml
@@ -0,0 +1,93 @@
+# General parameters
+# -----------------------------------------
+schema: rfnoc_imagebuilder_args # Identifier for the schema used to validate this file
+copyright: 'Ettus Research, A National Instruments Brand' # Copyright information used in file headers
+license: 'SPDX-License-Identifier: LGPL-3.0-or-later' # License information used in file headers
+version: 1.0 # File version
+rfnoc_version: 1.0 # RFNoC protocol version
+chdr_width: 64 # Bitwidth of the CHDR bus for this block
+device: 'n320'
+default_target: 'N320_AA'
+
+# A list of all stream endpoints in design
+# ----------------------------------------
+stream_endpoints:
+ ep0: # Stream endpoint name
+ ctrl: True # Endpoint passes control traffic
+ data: True # Endpoint passes data traffic
+ buff_size: 32768 # Ingress buffer size for data
+ ep1: # Stream endpoint name
+ ctrl: False # Endpoint passes control traffic
+ data: True # Endpoint passes data traffic
+ buff_size: 32768 # Ingress buffer size for data
+ # We call the next endpoints 4 and 5 to keep them consistent with the
+ # N310 version of this file
+ ep4: # Stream endpoint name
+ ctrl: False # Endpoint passes control traffic
+ data: True # Endpoint passes data traffic
+ buff_size: 32768 # Ingress buffer size for data
+ ep5: # Stream endpoint name
+ ctrl: False # Endpoint passes control traffic
+ data: True # Endpoint passes data traffic
+ buff_size: 32768 # Ingress buffer size for data
+
+# A list of all NoC blocks in design
+# ----------------------------------
+noc_blocks:
+ radio0:
+ block_desc: 'radio_1x64.yml'
+ radio1:
+ block_desc: 'radio_1x64.yml'
+ fifo0:
+ block_desc: 'axi_ram_fifo_4x64.yml'
+ parameters:
+ # These parameters match the memory interface on the N3XX
+ NUM_PORTS: 4
+ MEM_DATA_W: 64
+ MEM_ADDR_W: 31
+ FIFO_ADDR_BASE: "{30'h06000000, 30'h04000000, 30'h02000000, 30'h00000000}"
+ FIFO_ADDR_MASK: "{30'h01FFFFFF, 30'h01FFFFFF, 30'h01FFFFFF, 30'h01FFFFFF}"
+ MEM_CLK_RATE: "303819444" # 166.666666 MHz * 21.875 / 4 / 3 = 303.819444 MHz
+
+# A list of all static connections in design
+# ------------------------------------------
+# Format: A list of connection maps (list of key-value pairs) with the following keys
+# - srcblk = Source block to connect
+# - srcport = Port on the source block to connect
+# - dstblk = Destination block to connect
+# - dstport = Port on the destination block to connect
+connections:
+ # ep0 to radio0(0) - RF0 TX
+ - { srcblk: ep0, srcport: out0, dstblk: radio0, dstport: in_0 }
+ # radio0(0) to ep0 - RF0 RX
+ - { srcblk: radio0, srcport: out_0, dstblk: ep0, dstport: in0 }
+ # ep1 to radio1(0) - RF1 TX
+ - { srcblk: ep1, srcport: out0, dstblk: radio1, dstport: in_0 }
+ # radio1(0) to ep1 - RF1 RX
+ - { srcblk: radio1, srcport: out_0, dstblk: ep1, dstport: in0 }
+ # ep4 to fifo0(0)
+ - { srcblk: ep4, srcport: out0, dstblk: fifo0, dstport: in_0 }
+ - { srcblk: fifo0, srcport: out_0, dstblk: ep4, dstport: in0 }
+ # ep5 to fifo0(1)
+ - { srcblk: ep5, srcport: out0, dstblk: fifo0, dstport: in_1 }
+ - { srcblk: fifo0, srcport: out_1, dstblk: ep5, dstport: in0 }
+ # BSP Connections
+ - { srcblk: radio0, srcport: ctrl_port, dstblk: _device_, dstport: ctrlport_radio0 }
+ - { srcblk: radio1, srcport: ctrl_port, dstblk: _device_, dstport: ctrlport_radio1 }
+ - { srcblk: _device_, srcport: radio_ch0, dstblk: radio0, dstport: radio_iface }
+ - { srcblk: _device_, srcport: radio_ch1, dstblk: radio1, dstport: radio_iface }
+ - { srcblk: _device_, srcport: time_keeper, dstblk: radio0, dstport: time_keeper }
+ - { srcblk: _device_, srcport: time_keeper, dstblk: radio1, dstport: time_keeper }
+ - { srcblk: fifo0, srcport: axi_ram, dstblk: _device_, dstport: dram }
+
+# A list of all clock domain connections in design
+# ------------------------------------------
+# Format: A list of connection maps (list of key-value pairs) with the following keys
+# - srcblk = Source block to connect (Always "_device"_)
+# - srcport = Clock domain on the source block to connect
+# - dstblk = Destination block to connect
+# - dstport = Clock domain on the destination block to connect
+clk_domains:
+ - { srcblk: _device_, srcport: radio, dstblk: radio0, dstport: radio }
+ - { srcblk: _device_, srcport: radio, dstblk: radio1, dstport: radio }
+ - { srcblk: _device_, srcport: dram, dstblk: fifo0, dstport: mem }
diff --git a/fpga/usrp3/top/n3xx/n320_bist_static_router.hex b/fpga/usrp3/top/n3xx/n320_bist_static_router.hex
new file mode 100644
index 000000000..3bf392b9e
--- /dev/null
+++ b/fpga/usrp3/top/n3xx/n320_bist_static_router.hex
@@ -0,0 +1,9 @@
+00000008
+00400140
+01400040
+00800180
+01800080
+00c001c0
+01c000c0
+010001c1
+01c10100