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
Parameter | Type | Description |
---|
cfg_file | string | Specifies the path to the configuration file of the SPI FLASH client. This parameter is mandatory. |
Return Type | Description |
---|
None | None |
Error Codes
Error Code | Description |
---|
None | Required parameter 'cfg_file' is missing. |
None | Unable to locate or read SPI Flash configuration file '*SNVM.cfg'. |
None | You have to specify SPI Flash configuration file for 'cfg_file' parameter. |
None | Parameter 'cfg_file' has illegal value. |
None | Parameter 'param_name' is not defined. Valid command formatting is 'configure_spiflash -cfg_file "cfg_file"'. |
Example
This example configures the SPI Flash clients with {./src/spiflash.cfg
}
file.
configure_spiflash -cfg_file {./src/spiflash.cfg}