Altera Quartus II Scripting Manuale Utente Pagina 486

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 634
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 485
3–356 Chapter 3: Tcl Packages & Commands
simulator
Quartus II Scripting Reference Manual © July 2013 Altera Corporation
enable_all_simulation_breakpoint
Usage
enable_all_simulation_breakpoint
Options
None
Description
Enables 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
Vedere la pagina 485
1 2 ... 481 482 483 484 485 486 487 488 489 490 491 ... 633 634

Commenti su questo manuale

Nessun commento