Altera Quartus II Scripting Manuel d'utilisateur Page 268

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 634
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 267
1 2 ... 263 264 265 266 267 268 269 270 271 272 273 ... 633 634

Commentaires sur ces manuels

Pas de commentaire