Tcl Command Example for Setting Device Configuration Modes - 2021.2 English

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

Document ID
UG899
Release Date
2021-11-10
Version
2021.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]