Altera Quartus II Scripting Instrukcja Użytkownika Strona 483

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 634
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 482
Chapter 3: Tcl Packages & Commands 3–353
simulator
© July 2013 Altera Corporation Quartus II Scripting Reference Manual
delete_simulation_breakpoint
Usage
delete_simulation_breakpoint -breakpoint <breakpoint_name>
Options
-breakpoint <breakpoint_name>: Option to delete a specified breakpoint
Description
Deletes a breakpoint with the specified name.
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 in_br has 0 in
# value
create_simulation_breakpoint -breakpoint bp2 -equation \
"EQUAL_TO(HPATH(|one_wire|in_br),BUS(0)))" -action "GIVE_INFO"
# Create breakpoint bp3 which will give error message when both in_br and
# out_br have 1 in value
create_simulation_breakpoint -breakpoint bp3 -equation \
"EQUAL_TO(HPATH(|one_wire|out_br),BUS(1)),EQUAL_TO(HPATH(|one_wire|in_br), \
BUS(1))" -action "GIVE_ERROR"
# Before running simulation, disable bp2
# Therefore it shouldn't break at time=0ns when in_br=0
disable_simulation_breakpoint -breakpoint bp2
# When running simulation for the first 50ns,
# expect to see bp1 breaks at time=10ns
run_simulation -time 50ns
delete_simulation_breakpoint -breakpoint bp1
enable_simulation_breakpoint -breakpoint bp2
# Since bp2 is enabled, expect to see bp2 breaks at time=100ns
# when in_br becomes 0 again
run_simulation -time 60ns
# Run simulation until the end of completion
run_simulation
project_close
Przeglądanie stron 482
1 2 ... 478 479 480 481 482 483 484 485 486 487 488 ... 633 634

Komentarze do niniejszej Instrukcji

Brak uwag