21.13.1.29 mss_import_register
(Ask a Question)Description
This Tcl command imports the register list from a *.csv file generated by register export operation.
mss_import_register \
-file_name {absolute or relative path to the *.csv file} \
[-deviceName "device name"]
Arguments
Parameter | Type | Description |
---|---|---|
file_name | string | Specifies the absolute and relative path to the *.csv file. |
deviceName | string | Specify the device name. This parameter is optional, if only one device is available in the current configuration. |
Return Type | Description |
---|---|
None | None |
Error Codes
Error Code | Description |
---|---|
None | Register Access: Must specify '-file_name'. |
None | Required parameter 'file_name' is missing. |
None | Parameter 'file_name' has illegal value. |
None | Register Access: file specified for import must have .csv extension. |
None | Unable to write to the file: |
None | Parameter 'param_name' is not defined. Valid command formatting is 'mss_import_register [-deviceName "device name"] -file_name "filename" '. |
Supported Families
PolarFire SoC |
Example
This example imports the register list from the {./MssRegisters_SmartDebug.csv} file.
mss_import_register -file_name {./MssRegisters_SmartDebug.csv}