Altera Quartus II Scripting Manuale Utente Pagina 268

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 634
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 267
3–138 Chapter 3: Tcl Packages & Commands
insystem_source_probe
Quartus II Scripting Reference Manual © July 2013 Altera Corporation
write_source_data
Usage
write_source_data -instance_index <instance_index> -value <value> [-value_in_hex]
Options
-instance_index <instance_index>: Index of the In-System Sources and Probes instance to
communicate with
-value <value>: Value for the source
-value_in_hex: Specify that the value string is represented in hexadecimal format
Description
Sets values for the sources.
A value string is sent to the source values. MSB is on the left and LSB is on the right. The value string is is
truncated on the left (MSB) side if necessary.
By default, the values are represented as a binary string. Optionally, the option -value_in_hex makes the
values hex strings.
Example
#List probe data of instance 0
start_insystem_source_probe -hardware_name "USB-Blaster \[USB-0\]" \
-device_name "@1: EP1S25/_HARDCOPY_FPGA_PROTOTYPE (0x020030DD)"
puts "write source data 10010"
write_source_data -instance_index 0 -value "10010"
puts "source data of instance 0"
puts [read_source_data -instance_index 0]
end_insystem_source_probe
Vedere la pagina 267
1 2 ... 263 264 265 266 267 268 269 270 271 272 273 ... 633 634

Commenti su questo manuale

Nessun commento