Read_source_data, Usage, Options – Altera Quartus II Scripting User Manual

Page 266: Description, Example, Read_source_data –136

Advertising
background image

3–136

Chapter 3: Tcl Packages & Commands

insystem_source_probe

Quartus II Scripting Reference Manual

© July 2013

Altera Corporation

read_source_data

Usage

read_source_data -instance_index <instance_index> [-value_in_hex]

Options

-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 will make the
value a hex string.

Example

#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

Advertising