mirror of
https://github.com/EttusResearch/uhd.git
synced 2026-10-25 17:36:10 +00:00
utils: image_builder: make OPTIMIZE parameter of crossbar editable
This commit is contained in:
parent
60de3a3c6a
commit
533d2e7403
@ -104,6 +104,12 @@ module rfnoc_image_core #(
|
||||
//---------------------------------------------------------------------------
|
||||
// CHDR Crossbar
|
||||
//---------------------------------------------------------------------------
|
||||
`define STRINGIFY(x) `"x`"
|
||||
`ifdef CHDR_CROSSBAR_OPTIMIZE
|
||||
localparam CHDR_CROSSBAR_OPTIMIZE = `STRINGIFY(`CHDR_CROSSBAR_OPTIMIZE);
|
||||
`else
|
||||
localparam CHDR_CROSSBAR_OPTIMIZE = "AREA";
|
||||
`endif
|
||||
|
||||
<%include file="/modules/sep_xb_wires.v.mako" args="seps=config.stream_endpoints"/>\
|
||||
<%
|
||||
@ -140,7 +146,7 @@ module rfnoc_image_core #(
|
||||
.BYTE_MTU (BYTE_MTU),
|
||||
.ROUTE_TBL_SIZE (6),
|
||||
.MUX_ALLOC ("ROUND-ROBIN"),
|
||||
.OPTIMIZE ("AREA"),
|
||||
.OPTIMIZE (CHDR_CROSSBAR_OPTIMIZE),
|
||||
.NPORTS_MGMT (${num_tas}),
|
||||
.EXT_RTCFG_PORT (0),
|
||||
.PROTOVER (PROTOVER)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user