21.10.4 configure_spiflash

Description

This Tcl command configures the SPI Flash clients in the SPI Flash tab of the Design and Memory Initialization tool. Can specify user SPI FLASH clients using this command.

Note: You must run Generate Design Initialization Data (generate_design_initialization_data) after configuring SPI Flash (configure_spiflash) and/or Design Initialization (configure_design_initialization_data).
configure_spiflash -cfg_file {path_to_configuration_file.cfg}

Arguments

ParameterTypeDescription
cfg_filestringSpecifies the path to the configuration file of the SPI FLASH client. This parameter is mandatory.
Return TypeDescription
NoneNone

Error Codes

Error CodeDescription
NoneRequired parameter 'cfg_file' is missing.
NoneUnable to locate or read SPI Flash configuration file '*SNVM.cfg'.
NoneYou have to specify SPI Flash configuration file for 'cfg_file' parameter.
NoneParameter 'cfg_file' has illegal value.
NoneParameter 'param_name' is not defined. Valid command formatting is 'configure_spiflash -cfg_file "cfg_file"'.

Supported Families

PolarFire®
PolarFire SoC

Example

This example configures the SPI Flash clients with {./src/spiflash.cfg} file.

configure_spiflash -cfg_file {./src/spiflash.cfg}