Tcl Command Example for Setting Device Configuration Modes - 2021.1 English

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

Document ID
UG899
Release Date
2021-03-09
Version
2021.1 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]