gem5 v24.1.0.1
|
Assertion: Will check for a specific condition and will fail if the condition is not met. More...
#include <generator.hh>
Public Member Functions | |
Assertion (std::string exp_name, Callback _cb) | |
bool | run (Transaction *tran) override |
![]() | |
Expectation (std::string exp_name, Callback _cb) | |
bool | run (Transaction *tran) override |
std::string | name () const |
![]() | |
Action (Callback _cb, bool waiting) | |
virtual | ~Action () |
bool | wait () const |
Returns true if the action dispatcher should break the dispatching loop once the action has been executed. | |
Additional Inherited Members | |
![]() | |
using | Callback = std::function< bool(Transaction *tran) > |
![]() | |
Callback | cb |
bool | _wait |
Assertion: Will check for a specific condition and will fail if the condition is not met.
The assertion is never a waiting action
Definition at line 181 of file generator.hh.
|
inline |
Definition at line 184 of file generator.hh.
|
overridevirtual |
Reimplemented from gem5::tlm::chi::TlmGenerator::Transaction::Action.
Definition at line 61 of file generator.cc.
References panic, and gem5::tlm::chi::TlmGenerator::Transaction::Expectation::run().