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

  • 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 483
3–354 Chapter 3: Tcl Packages & Commands
simulator
Quartus II Scripting Reference Manual © July 2013 Altera Corporation
disable_all_simulation_breakpoint
Usage
disable_all_simulation_breakpoint
Options
None
Description
Disables all breakpoints.
Example
project_open one_wire
initialize_simulation
# Create breakpoint bp1 which will give warning message when simulation
# time reaches 10ns
create_simulation_breakpoint -breakpoint bp1 -equation "TIME_EQ(10ns)" \
-action "GIVE_WARNING"
# Create breakpoint bp2 which will give info message when time reaches
# 100ns
create_simulation_breakpoint -breakpoint bp2 -equation "TIME_EQ(100ns)" \
-action "GIVE_INFO"
# Create breakpoint bp3 which will give error message when time reaches
# 200ns
create_simulation_breakpoint -breakpoint bp3 -equation "TIME_EQ(200ns)" \
-action "GIVE_ERROR"
# All breakpoints will be disabled
disable_all_simulation_breakpoint
# Run simulation. It shouldn't break at time=10ns since bp1 has been
# disabled
run_simulation -time 50ns
enable_all_simulation_breakpoint
# Run simulation to the end. Expect bp2 and bp3 to break at 100ns and
# 200ns since all breakpoints have been enabled
run_simulation
project_close
Zobrazit stránku 483
1 2 ... 479 480 481 482 483 484 485 486 487 488 489 ... 633 634

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

Žádné komentáře