Configuring the Core Using Tcl Commands - 1.0 English

Dynamic Function eXchange Decoupler LogiCORE IP Product Guide (PG375)

Document ID
PG375
Release Date
2022-05-31
Version
1.0 English

The DFX Decoupler core can be configured from the Tcl command line by setting properties directly. A custom set_property command is generally required. The following command must be executed in the Vivado Tcl command line to access dfx_decoupler_v1_0::set_property:

source [get_property REPOSITORY \
     [get_ipdefs 
*dfx_decoupler:1.0]]/xilinx/dfx_decoupler_v1_0/tcl/api.tcl -notrace
Note: This can be placed in the Vivado Design Suite initialization file for ease of use.

Example 1: Decouple an AXI4-Stream Master on the Reconfigurable Partition

create_ip -vlnv xilinx.com:ip:dfx_decoupler:1.0 -module_name dfxd_0
dfx_decoupler_v1_0::set_property -dict [list \
  CONFIG.INTF.my_intf.VLNV xilinx.com:interface:axis_rtl:1.0 \
  ] [get_ips dfxd_0]

Example 2: Decouple an AXI4-Stream Master on the Reconfigurable Partition and an AXI4-MM slave on the Reconfigurable Partition

create_ip -vlnv xilinx.com:ip:dfx_decoupler:1.0 -module_name dfxd_1
dfx_decoupler_v1_0::set_property -dict [list \
 CONFIG.INTF.intf_0.VLNV xilinx.com:interface:axis_rtl:1.0 \
 CONFIG.INTF.intf_1.VLNV xilinx.com:interface:aximm_rtl:1.0 \
 CONFIG.INTF.intf_1.MODE slave \
 ] [get_ips dfxd_1]

Example 3: Decouple an AXI4-Stream Slave on the Reconfigurable Partition with TUSER Enabled and Decoupled

create_ip -vlnv xilinx.com:ip:dfx_decoupler:1.0 -module_name dfxd_2
dfx_decoupler_v1_0::set_property -dict [list \
 CONFIG.INTF.intf_0.VLNV xilinx.com:interface:axis_rtl:1.0 \
 CONFIG.INTF.intf_0.MODE slave \
 CONFIG.INTF.intf_0.SIGNAL.TUSER.PRESENT 1 \
 CONFIG.INTF.intf_0.SIGNAL.TUSER.WIDTH 32 \
 CONFIG.INTF.intf_0.SIGNAL.TUSER.DECOUPLED 1 \
 CONFIG.INTF.intf_0.SIGNAL.TUSER.DECOUPLED_VALUE 0xFFFFFFFF \
 ] [get_ips dfxd_2]

Interface parameters such as a reset polarity (POLARITY) or a clock frequency (FREQ_HZ) should be set using set_property as normal.