21.13.1.30 mss_export_register

Description

This command reads the selected registers by mss_add_register command and save the content to a *.csv file.

mss_export_register -file_name {path the file} [-all]

Arguments

ParameterTypeDescription

deviceName

string

Optional user-defined device name. The device name is not required if there is only one device in the current configuration, or a device has already been selected using the set_debug_device command.

file_name

string

Specifies the path to the file, where the command saves the exported data.

all

none

This is an optional parameter that is used to export all registers shown in the hierarchy.

Return TypeDescription
NoneNone

Error Codes

Error CodeDescription

None

Register Access: Must specify '-file_name.

None

Parameter 'file_name' has illegal value.

None

Register Access: file specified for Export must have .csv extension.

None

Cannot export register information to the file: List of selected registers is empty.

None

Parameter 'param_name' is not defined. Valid command formatting is 'mss_export_register [-deviceName "device name"] [-file_name "File Name"] [-all "TRUE | FALSE"]'.

Supported Families

PolarFire SoC

Example

This example exports all mss registers into {./mss_exp.csv} file.

mss_export_register -file_name {./mss_exp.csv} -all 

See Also

  • mss_add_register

  • mss_read_register

  • mss_write_register