Generating Configuration Memory Files - Generating Configuration Memory Files - UG570

UltraScale Architecture Configuration User Guide (UG570)

Document ID
UG570
Release Date
2025-03-04
Revision
1.20.1 English

Configuration memory files are generated from bitstream files with the write_cfgmem utility. You can access write_cfgmem directly from the command line or indirectly through the Vivado device programmer. For write_cfgmem syntax, refer to the Vivado Design Suite Tcl Command Reference Guide (UG835). The write_cfgmem command reformats bitstream files for flash memory programming and combines bitstream files for serial daisy chains.

The output from write_cfgmem is typically used to program the selected third-party flash memory device. The output format supported by your third-party programmer should be chosen. The write_cfgmem command -interface argument specifies the planned configuration interface. Valid values include SMAPx8 (default), SMAPx16, SMAPx32, SERIALx1, SPIx1, SPIx2, SPIx4, SPIx8, BPIx8, and BPIx16. This also determines if bit swapping is enabled or disabled (see Bit Swapping). Some parallel flash devices for BPI configuration require endian swapping to be enabled when creating the file. Refer to the flash vendor documentation.