21.13.1.72 tvs_monitor

Description

This Tcl command reads the Temperature and Voltage Sensor (TVS) values from device and saves the values in a .csv user specified extension file.

Important: This command is valid only when the TVS IP is presented in Libero Design.

Arguments

ParameterTypeDescription
deviceNamestring

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.

startnoneStarts the TVS monitor.
stopnoneStops the TVS monitor.
intervalintegerSpecifies the duration in Seconds. The allowed limit is 1 sec to 60 sec. This parameter is optional. The default interval is 1 sec.
filestringSpecify the name of the file where output is redirected. This argument is mandatory.

Error Codes

Error CodeDescription
NoneTVS Monitor feature is not available for this design.
NoneFailed to read TVS Channels values.
NoneParameters are absent. Either -start or -stop should be passed as a parameter.

Supported Families

PolarFire

PolarFire SoC

Example

This tcl example reads the TVS.

tvs_monitor -start -file {./temp.csv}
tvs_monitor -start -interval 10 -file {./temp.csv}
tvs_monitor -stop