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]