Go to the documentation of this file.
51 StopPoint(), expression_(expression), frontend_(frontend),
52 isTriggered_(
false), lastCheckedCycle_(0) {
70 assert(conditionCopy != NULL);
bool conditional_
Tells whether the breakpoint is conditional or not.
virtual std::vector< std::string > script() const
virtual void setEnabled(bool flag)
virtual void setIgnoreCount(unsigned int count)
virtual void setDisabledAfterTriggered(bool flag)
const SimulatorFrontend & frontend_
The simulator frontend which is used to fetch the current PC.
virtual ConditionScript * copy() const
bool enabled_
Tells whether the breakpoint is enabled or disabled.
ConditionScript * condition_
The condition which is used to determine whether the breakpoint should be fired or not.
virtual const ExpressionScript & expression() const
#define assert(condition)
virtual std::string description() const
ExpressionScript expression_
The expression that is watched.
Watch(const SimulatorFrontend &frontend, const ExpressionScript &expression)
virtual StopPoint * copy() const
bool deletedAfterTriggered_
Tells if the breakpoint is deleted after it is triggered the next time.
bool isTriggered_
Flag which tells whether the watch was triggered in current simulation cycle.
ClockCycleCount cycleCount() const
bool disabledAfterTriggered_
Tells if the breakpoint is disabled after it is triggered the next time.
find Finds info of the inner loops in the false
virtual void setExpression(const ExpressionScript &expression)
ClockCycleCount lastCheckedCycle_
The simulation clock cycle in which the expression was checked the last time.
virtual void removeCondition()
unsigned int ignoreCount_
The number of times the condition is to be ignored before enabling the breakpoint.
virtual std::string description() const =0
virtual void setDeletedAfterTriggered(bool flag)
virtual void setCondition(const ConditionScript &condition)
virtual bool isTriggered() const