21.13.1.54 run_frequency_monitor
(Ask a Question)Description
This tcl command calculates the frequency of any signal in the design that can be assigned to Live Probe channel A and displays the Frequency. The Frequency unit of measurement is in Megahertz (MHz).
It is run after setting the live probe signal to channel A.
run_frequency_monitor [-deviceName "device name"] \
-signal "signal name" \
-time "time in seconds to delay before calculate"
Arguments
Parameter | Type | Description |
---|---|---|
deviceName | string | Specify device name. This parameter is optional if only one device is available in the current configuration. |
signal | string | Specifies the signal name assigned to Live Probe channel A. This parameter must be specified with the -time parameter. |
time | integer or double | Specifies the duration in seconds to run frequency monitor. The value can be 0.1, 1, 5, 8, or 10. |
Return Type | Description |
---|---|
String | Displays the Frequency with value-property format. |
Error Codes
Error Code | Description |
---|---|
None | No recognized device 'device_name' is available for debugging. |
None | Parameters are missing. |
None | Parameter '-signal' is missing. |
None | Parameter '-time' is missing. |
None | Invalid monitor time specified. The values can be either 0.1, 1, 5, 8 or 10. |
None | Parameter 'param_name' is not defined. Valid command formatting is'run_frequency_monitor [-deviceName "device name"] [-signal "signal"] [-time "time"]'. |
Supported Families
PolarFire |
PolarFire SoC |
SmartFusion 2 |
IGLOO 2 |
RTG4 |
Example
set_live_probe -probeA {Q_c:DFN1_0:Q} -probeB {}
run_frequency_monitor -signal {Q_c:DFN1_0:Q} -time {0.1}
See Also
fhb_control
set_live_probe
event_counter