21.13.1.50 record_actions

Description

This sequence can be used to access registers from an external processor to perform the same actions done in SmartDebug, to provide the register sequence for each of the actions performed in the XCVR Debug Window.

Note:

This command is valid only when the XCVR block is presented in Libero Design.

record_actions -start_recording | -stop_recording -file {file name}

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.

start_recording

none

Specifies the moment of start recording.

stop_recording

none

Specifies the moment of stop recording.

file

string

Specify path and the name of output *.txt file. This parameter is mandatory when stop_recording is specified.

Return TypeDescription
NoneNone

Error Codes

Error CodeDescription

None

Parameter 'file' has illegal value.

None​

Start Record parameter already set. Recording is in progress.

None​

Record action parameters are absent. Either -start_recording or -stop_recording should ba passed as a parameter.

None​

Both parameters cannot be passed. Either -start_recording or -stop_recording should ba passed as a parameter.

None​

Error: Parameter 'param_name' is not defined. Valid command formatting is'record_actions [-deviceName "device name"] [-start_recording "TRUE | FALSE"] [-stop_recording "TRUE | FALSE"] [-file "file name"]'.

Supported Families

PolarFire

PolarFire SoC

Example

This example starts recording, then stops it and saves the recorded data in the {./actions} file.

record_actions -start_recording
record_actions -stop_recording -file {./actions.txt}