Intel® Quartus® Prime Pro Edition User Guide: Scripting

ID 683432
Date 12/13/2021

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

Document Table of Contents 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

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]
Return Value Code Name