Tcl Command Example for Setting Device Configuration Modes - 2022.2 English

Vivado Design Suite User Guide: I/O and Clock Planning (UG899)

Document ID
UG899
Release Date
2022-10-19
Version
2022.2 English
set_property CONFIG_MODE SPIx2 [current_design]
Note: By default, configuration pins are not set to persist after configuration. To ensure that pins are used as configuration pins and not as general purpose I/Os after configuration, enter the following Tcl command:
set_property BITSTREAM.CONFIG.PERSIST YES [current_design]