21.13.1.29 mss_import_register

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

ParameterTypeDescription

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 TypeDescription
NoneNone

Error Codes

Error CodeDescription

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: /prj_path/imported_file.csv

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}

See Also