Altera Quartus II Scripting Uživatelský manuál Strana 494

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 634
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 493
3–364 Chapter 3: Tcl Packages & Commands
simulator
Quartus II Scripting Reference Manual © July 2013 Altera Corporation
group_simulation_signal
Usage
group_simulation_signal -name <group_name> <group_member>
Options
-name <group_name>: Name of the group of signals
<group_member>: List of member instance names that you want to group
Description
Groups the specified signals.
Example
project_open lelut
initialize_simulation -ignore_vector_file on -end_time 100ns
# Group "inDataa inDatab inDatac inDatad" as "input_bus"
group_simulation_signal -name input_bus {inDataa inDatab inDatac inDatad}
# Set value "1011" for the group of signals
force_simulation_value -node input_bus 1011
# Set value 0 for node "clk1"
force_simulation_value -node clk1 0
run_simulation -time 20ns
# Set value 1 for node "clk1"
force_simulation_value -node clk1 1
run_simulation
project_close
Zobrazit stránku 493
1 2 ... 489 490 491 492 493 494 495 496 497 498 499 ... 633 634

Komentáře k této Příručce

Žádné komentáře