gem5 v24.1.0.1
|
Expectation: Will check for a specific condition and will warn if the condition is not met. More...
#include <generator.hh>
Public Member Functions | |
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. | |
Private Attributes | |
std::string | _name |
Additional Inherited Members | |
![]() | |
using | Callback = std::function< bool(Transaction *tran) > |
![]() | |
Callback | cb |
bool | _wait |
Expectation: Will check for a specific condition and will warn if the condition is not met.
The expectation is never a waiting action
Definition at line 160 of file generator.hh.
|
inline |
Definition at line 163 of file generator.hh.
|
inline |
|
overridevirtual |
Reimplemented from gem5::tlm::chi::TlmGenerator::Transaction::Action.
Definition at line 48 of file generator.cc.
References gem5::tlm::chi::TlmGenerator::Transaction::Action::cb, gem5::csprintf(), inform, and name().
Referenced by gem5::tlm::chi::TlmGenerator::Transaction::Assertion::run().
|
private |
Definition at line 172 of file generator.hh.
Referenced by name().