-
Notifications
You must be signed in to change notification settings - Fork 27
end_condition
Nicolai Mueller edited this page Oct 21, 2024
·
4 revisions
object
By default, the simulation stops after the specified number of clock cycles has been completed.
Specifies the condition for terminating the simulation. PROLEAD can stop the simulation when a set of primary output signals reach a defined state, such as when a "done" signal is set to logic 1. Alternatively, the simulation can be terminated after a predefined number of clock cycles.
None; select the option that best suits your design.
"simulation": {
"end_condition": {
"clock_cycles": 5
}
}
In this example, PROLEAD ends the simulation after 5 clock cycles.
"simulation": {
"end_condition": {
"signals": {
[
{
"name": "done",
"value": "1'b1"
}
]
}
}
}
In this example, PROLEAD ends the simulation if a signal named done
is set to one.