The get_noc_interfaces command provides a
list of all available NMU/NSU interfaces in the design. It includes interfaces from all
design sources. These sources include DCPs, Block Designs, RTL files, and EDIF netlists.
Before making NoC connections in the XDC file, you can take the reference of the get_noc_interfaces command by executing it in the Tcl
Console. The following code snippet shows the output of the get_noc_interfaces when executed in the Tcl Console.
The get_noc_interfaces has the
following command-line switches:
- -mode
- Filters the NoC interfaces by mode. Valid values are NMU and
NSU. The following code snippet shows the
-modeswitch usage.Figure 2. -mode Code Example - -type
- Filters the NoC interfaces by type. Valid values are
AXIMMandAXISand the default value isAXIMM. The following code snippet shows the-typeswitch usage. - -category
- Filters the NoC interface by category. Default is PL. The
following code snippet shows the
-categoryswitch usage.Figure 4. -category Code Example
To report all the properties of the NoC interface, you can use the report_property –all command for the NoC interface in the
Vivado Tcl Console. You can modify traffic
classes by setting READ_TRAFFIC_CLASS and WRTIE_TRAFFIC_CLASS properties on NMU NoC
instances. To set an ISOCHRONOUS traffic class on a given
noc_interface, use the following set_property
command:
set_property -dict [list READ_TRAFFIC_CLASS ISOCHRONOUS WRITE_TRAFFIC_CLASS ISOCHRONOUS] [lindex [get_noc_interfaces] 1]