Intel® Quartus® Prime Pro Edition User Guide: Scripting

ID 683432
Date 10/04/2021
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

3.1.14.4. read_source_data (::quartus::insystem_source_probe)

The following table displays information for the read_source_data Tcl command:

Tcl Package and Version

Belongs to ::quartus::insystem_source_probe

Syntax read_source_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 sources. A string is returned specifying the status of each source, 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 source data of instance 0
start_insystem_source_probe -hardware_name "USB-Blaster \[USB-0\]" -device_name "@1: EP1S25/_HARDCOPY_FPGA_PROTOTYPE (0x020030DD)"
puts "source data of instance 0"
puts [read_source_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.

Did you find the information on this page useful?

Characters remaining:

Feedback Message