Delete_all_simulation_breakpoint, Usage, Options – Altera Quartus II Scripting User Manual

Page 482: Description, Example, Delete_all_simulation_breakpoint –352

Advertising
background image

3–352

Chapter 3: Tcl Packages & Commands

simulator

Quartus II Scripting Reference Manual

© July 2013

Altera Corporation

delete_all_simulation_breakpoint

Usage

delete_all_simulation_breakpoint

Options

None

Description

Deletes 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 deleted
delete_all_simulation_breakpoint

# Run simulation to the end. There should not be any breaks since all
# breakpoints have been deleted
run_simulation

project_close

Advertising