Formatting BIN Files for Delivery to Internal Configuration Ports - 2021.2 English

Vivado Design Suite User Guide: Dynamic Function eXchange (UG909)

Document ID
UG909
Release Date
2022-02-25
Version
2021.2 English

Partial bit files have the same basic format as full bit files, but they are reduced to the set of configuration frames for the target region and restricted to the set of events that make sense for active devices. Partial bit files can be:

  • Delivered to external interfaces, such as JTAG or slave configuration ports.
  • Reformatted as BIN files to be delivered to the internal configuration ports: ICAP (7 series or UltraScale devices), PCAP (Zynq devices only) or MCAP (UltraScale devices only).

Generate BIN files using the write_cfgmem utility. Three options are critical:

  • Set -format as BIN to generate that file type.
  • Use -interface to select the SelectMap width, and use SMAPx32 for PCAP or MCAP for UltraScale ICAP.
    • SMAPx16 and SMAPx8 (default) can also be used for the 7 series ICAP.
    • SMAPx8 is required for 7 series encrypted partial bitstreams.
  • You must use -disablebitswap to target the PCAP or MCAP.

Examples

ICAP (for 7 series devices)

write_cfgmem -format BIN -interface SMAPx8 -loadbit "up 0x0 <partial_bitfile>"

ICAP (for UltraScale devices)

write_cfgmem -format BIN -interface SMAPx32 -loadbit "up 0x0 <partial_bitfile>"

PCAP (for Zynq-7000 SoC devices) or MCAP (for one specific PCIe block per UltraScale device)

write_cfgmem -format BIN -interface SMAPx32 -disablebitswap -loadbit "up 0x0 
<partial_bitfile>"