21.13.1.74 tvs_monitor
(Ask a Question)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
| Parameter | Type | Description |
|---|---|---|
| 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
|
| start | none | Starts the TVS monitor. |
| stop | none | Stops the TVS monitor. |
| interval | integer | Specifies the duration in Seconds. The allowed limit is 1 sec to 60 sec. This parameter is optional. The default interval is 1 sec. |
| file | string | Specify the name of the file where output is redirected. This argument is mandatory. |
Error Codes
| Error Code | Description |
|---|---|
| None | TVS Monitor feature is not available for this design. |
| None | Failed to read TVS Channels values. |
| None | Parameters 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
