image builder: Use RADIO_NIPC parameter

This simplifies image core files by generating a RADIO_NIPC parameter
for the X410, X440 and E31x BSP files. The IO port widths for X410 are
now dynamically widened based on the NIPC value, which is a function of
the RF_BW parameter, and cannot be modified.

The radio block can now read the NIPC value from the BSP, and populate
its spc parameter dynamically. This avoids having to know the right spc
value when writing YAML image core files and reduces redundancy.

This also removes the RADIO_NIPC parameter entirely from all the image
core files. This parameter was fine, but it was a bit confusing because
it referenced a Verilog parameter, which you just had to know was there
in the generated Verilog. By referencing the BSP parameter instead, the
YAML files (BSP, radio.yml, and image core file) are now self-contained
regarding the RADIO_NIPC/spc information.

As a minor upside, the input wire widths for X410's and N310's
rfnoc_image_core.sv module are now generated with the correct widths,
and not, as before, with the worst-case width (and then we assume Vivado
will do the right thing).


Original-commit: 53b4d7a21018fe7aabf9f774260aefb41297a41b
This commit is contained in:
Martin Braun
2024-11-05 15:30:50 +01:00
committed by joergho
parent 23b44d6538
commit f07af03214
10 changed files with 1 additions and 20 deletions
-1
View File
@@ -32,7 +32,6 @@ noc_blocks:
block_desc: 'radio.yml' # Block device descriptor
parameters:
NUM_PORTS: 2
NIPC: RADIO_NIPC
# A list of all static connections in design
# ------------------------------------------