Altera Quartus II Scripting Manuale Utente Pagina 291

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 634
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 290
Chapter 3: Tcl Packages & Commands 3–161
logic_analyzer_interface
© July 2013 Altera Corporation Quartus II Scripting Reference Manual
begin_logic_analyzer_interface_control
Usage
begin_logic_analyzer_interface_control -device_name <device name> -file_path <file
path> -hardware_name <hardware name>
Options
-device_name <device name>: Name of the device to be controlled
-file_path <file path>: Path of the Logic Analyzer Interface (.lai) file
-hardware_name <hardware name>: Name of the hardware that connects to the JTAG chain
Description
Starts the Logic Analyzer Interface control sequence to query the Logic Analyzer Interface output pin state
and change output pins state. The control sequence should be terminated with
end_logic_analyzer_interface_control.
The hardware and device name can be obtained by using get_hardware_names and get_device_names
respectively from the jtag package.
Example
# Start a new control sequence.
begin_logic_analyzer_interface_control -hardware_name "USB-Blaster \
\[USB-0\]" -device_name "@1: EP1C20 (0x020840DD)" -file_path \
"lai_demo.lai"
# Query the output pin state.
puts "Current output pin state of instance auto_lai_0:"
puts [get_current_state_of_output_pin -instance_name "auto_lai_0"]
# Change input bank source to the output pins
change_bank_to_output_pin -instance_name "auto_lai_0" -bank_name "Bank 1"
# Query the output pin state.
puts "Current output pin state of instance auto_lai_0:"
puts [get_current_state_of_output_pin -instance_name "auto_lai_0"]
# Change input bank source to the output pins
change_bank_to_output_pin -instance_name "auto_lai_0" -bank_index 0
# Query the output pin state.
puts "Current output pin state of instance auto_lai_0:"
puts [get_current_state_of_output_pin -instance_name "auto_lai_0"]
# Tristate the output pins
tristate_output_pin -instance_name "auto_lai_0"
# Query the output pin state.
puts "Current output pin state of instance auto_lai_0:"
puts [get_current_state_of_output_pin -instance_name "auto_lai_0"]
# End the control sequence.
end_logic_analyzer_interface_control
Vedere la pagina 290
1 2 ... 286 287 288 289 290 291 292 293 294 295 296 ... 633 634

Commenti su questo manuale

Nessun commento