read_probe_data (::quartus::insystem_source_probe)
The following table displays information for the read_probe_data Tcl command:
Tcl Package and Version |
Belongs to ::quartus::insystem_source_probe 1.0 |
|||
Syntax | read_probe_data [-h | -help] [-long_help] -instance_index <instance_index> [-value_in_hex] | |||
Arguments | -h | -help | Short help | ||
-long_help | Long help with examples and possible return values | |||
-instance_index <instance_index> | Index of the In-System Sources and Probes instance to communicate with | |||
-value_in_hex | Specifies that the value string is represented in hexadecimal format | |||
Description |
Retrieves the current value of the probes. A string is returned specifying the status of each probe, with the MSB on the left and LSB on the right. By default, the value is represented as a binary string. Optionally, the option -value_in_hex makes the value a hex string. |
|||
Example Usage |
#List probe data of instance 0 start_insystem_sourc_probe -hardware_name "USB-Blaster \[USB-0\]" -device_name "@1: EP1S25/_HARDCOPY_FPGA_PROTOTYPE (0x020030DD)" puts "probe data of instance 0" puts [read_probe_data -instance_index 0] end_insystem_source_probe |
|||
Return Value | Code Name | Code | String Return | |
TCL_OK | 0 | INFO: Operation successful | ||
TCL_ERROR | 1 | ERROR: The specified device is not found. | ||
TCL_ERROR | 1 | ERROR: The specified hardware is not found. | ||
TCL_ERROR | 1 | ERROR: An internal Tcl interpreter error occurred. | ||
TCL_ERROR | 1 | ERROR: The specified In-System Sources and Probes instance index is invalid. | ||
TCL_ERROR | 1 | ERROR: No In-System Sources and Probes instance was found. |