|
gem5 v25.0.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 |
| Public Member Functions inherited from gem5::tlm::chi::TlmGenerator::Transaction::Action | |
| 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 | |
| Public Types inherited from gem5::tlm::chi::TlmGenerator::Transaction::Action | |
| using | Callback |
| Protected Attributes inherited from gem5::tlm::chi::TlmGenerator::Transaction::Action | |
| 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.
References _name, and gem5::tlm::chi::TlmGenerator::Transaction::Action::Action().
Referenced by gem5::tlm::chi::TlmGenerator::Transaction::Assertion::Assertion().
|
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, name(), and gem5::tlm::chi::TlmGenerator::Transaction::Transaction().
Referenced by gem5::tlm::chi::TlmGenerator::Transaction::Assertion::run().
|
private |
Definition at line 172 of file generator.hh.
Referenced by Expectation(), and name().