Altera Virtual JTAG IP Core User Manual
Page 16

Table 7: Tcl Commands Used with the Virtual JTAG Megafunction
Description
Arguments
Command
Perform an IR shift operation to the
virtual JTAG instance specified by
the
instance_index
. Note that
ir_
value
takes a numerical argument.
-instance_index
<instance_index>
-ir_value
<numeric_ir_value>
-no_captured_ir_value
(1)
-show_equivalent_device_ir_dr_shift
(1)
Device virtual ir shift
Perform a DR shift operation to the
virtual JTAG instance.
-instance_index
<instance_index>
-dr_value
<dr_value>
-length
<data_register_length>
-no_captured_dr_value
(1)
-show_equivalent_device_ir_dr_shift
-value_in_hex
(1)
Device virtual dr shift
Queries for all available program-
ming cables.
NONE
Get hardware names
Selects the active device on the
JTAG chain.
-device_name
<device_name>
-hardware_name
<hardware_name>
Open device
Ends communication with the active
JTAG device.
NONE
Close device
Obtains exclusive communication
to the JTAG chain.
-timeout
<timeout>
Device lock
Releases
device_lock
.
NONE
Device unlock
Performs a IR shift operation.
-ir_value
<ir_value>
-no_captured_ir_value
Device ir shift
Performs a DR shift operation.
-dr_value
<dr_value>
-length
<data register length>
-no_captured_dr_value
-value_in_hex
Device dr shift
Central to virtual JTAG megafunction are the
device_virtual_ir_shift
and
device_virtual_dr_shift
commands. These commands perform the shift operation to each VIR/VDR and provide the address to the
SLD hub for the active JTAG datapath.
(1)
This argument is optional.
Virtual JTAG Megafunction (sld_virtual_jtag)
Altera Corporation
UG-SLDVRTL
Run-Time Communication with the Virtual JTAG Megafunction
16
2014.03.19