Altera Quartus II Scripting Instrukcja Użytkownika Strona 493

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 634
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 492
Chapter 3: Tcl Packages & Commands 3–363
simulator
© July 2013 Altera Corporation Quartus II Scripting Reference Manual
get_simulation_value
Usage
get_simulation_value -node <hpath>
Options
-node <hpath>: Hierarchical path name of the signal
Description
Returns the value of the specified signal.
Example
project_open gates
initialize_simulation -ignore_vector_file on -end_time 600ns
run_simulation -time 100ns
# Set input values for node "ina" and "inb"
force_simulation_value -node ina 0
force_simulation_value -node inb 1
run_simulation -time 100ns
# Check the value of "$ina NAND $inb"
if {[get_simulation_value -node nand_out] != [expr !($ina && $inb)]} {
puts "$ina NAND $inb = [get_simulation_value -node nand_out]"
}
run_simulation
project_close
Przeglądanie stron 492
1 2 ... 488 489 490 491 492 493 494 495 496 497 498 ... 633 634

Komentarze do niniejszej Instrukcji

Brak uwag