Altera Quartus II Scripting Bedienungsanleitung Seite 281

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 634
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 280
Chapter 3: Tcl Packages & Commands 3–151
jtag
© July 2013 Altera Corporation Quartus II Scripting Reference Manual
device_run_test_idle
Usage
device_run_test_idle [-num_clocks <state cycle count>]
Options
-num_clocks <state cycle count>: The number of times the Run_Test_Idle state is cycled
through. If not specified, this value is 1
Description
Drive the JTAG controller into the Run_Test_Idle state for a number cycles specified with the -num_clocks
option.
The device must be locked before you can perform this operation.
Example
# List all available programming hardware, and select the USB-Blaster.
# (Note: this example assumes only one USB-Blaster is connected.)
puts "Programming Hardware:"
foreach hardware_name [get_hardware_names] {
puts $hardware_name
if { [string match "USB-Blaster*" $hardware_name] } {
set usbblaster_name $hardware_name
}
}
puts "\nSelect JTAG chain connected to $usbblaster_name.\n";
# List all devices on the chain, and select the first device on the
# chain.
puts "\nDevices on the JTAG chain:"
foreach device_name [get_device_names -hardware_name $usbblaster_name] {
puts $device_name
if { [string match "@1*" $device_name] } {
set test_device $device_name
}
}
puts "\nSelect device: $test_device.\n";
# Open device
open_device -hardware_name $usbblaster_name -device_name $test_device
# Retrieve device id code.
# IDCODE instruction value is 6; The ID code is 32 bits long.
# IR and DR shift should be locked together to ensure that other
# applications
# will not change the instruction register before the id code value is
# shifted
# out while the instruction register is still holding the IDCODE
# instruction.
device_lock -timeout 10000
device_ir_shift -ir_value 6 -no_captured_ir_value
puts "IDCODE: 0x[device_dr_shift -length 32 -value_in_hex]"
# Goto the Run_Test_Idle state and stay there for 8 cycles.
device_run_test_idle -num_clocks 8
device_unlock
# Close device
close_device
Seitenansicht 280
1 2 ... 276 277 278 279 280 281 282 283 284 285 286 ... 633 634

Kommentare zu diesen Handbüchern

Keine Kommentare

Maxum Détecteurs de monoxyde de carbone (CO) manuels d'utilisation

La liste de Maxum Détecteurs de monoxyde de carbone (CO) produits contient 2 manuels d'utilisation pour les modèles 2. Tous les guides d'utilisation en format pdf peuvent être téléchargés ou consultés en ligne.

Cliquez sur un alphabet ci-dessous pour faire défiler la liste complète des modèles commençant par cette lettre

Modèles Type de document
1800MX
Spécifications   Maxum 1800MX Specifications, 96 pages
2400 SC3
Spécifications   Maxum 2400 SC3 Specifications, 56 pages