21.13.1.57 scan_ecc_memories

Description

This Tcl command scans and reports any errors detected in the PolarFire, PolarFire SoC, RTG4, and RT PolarFire TPSRAM blocks that have ECC enabled.

scan_ecc_memories [-deviceName "device name"] \
                  [-fileName "Output 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.

fileName

string

Specify the name of the file where output is redirected. This argument is mandatory.

Return TypeDescription

string

Reports memory blocks where data corruption has been detected.

Error Codes

Error CodeDescription

None

Parameter 'param_name' is not defined. Valid command formatting is'scan_ecc_memories [-deviceName "device name"] [-fileName "Output file name"]'.

None

Parameter 'fileName' has illegal value.

None

Unable to write to the file.

Supported Families

PolarFire
PolarFire SoC

RTG4

Example

This example scans TPSRAM blocks and saves the report into the {./output.txt} file. Log is provided with names of logical and physical blocks if corruption in data is detected. If no corruption is detected, then an appropriate message is provided.

scan_ecc_memories -filename {./output.txt}