gem5 v25.0.0.1
Loading...
Searching...
No Matches
gem5::tlm::chi::TlmGenerator::Transaction::Assertion Class Reference

Assertion: Will check for a specific condition and will fail if the condition is not met. More...

#include <generator.hh>

Inheritance diagram for gem5::tlm::chi::TlmGenerator::Transaction::Assertion:
gem5::tlm::chi::TlmGenerator::Transaction::Expectation gem5::tlm::chi::TlmGenerator::Transaction::Action

Public Member Functions

 Assertion (std::string exp_name, Callback _cb)
bool run (Transaction *tran) override
Public Member Functions inherited from gem5::tlm::chi::TlmGenerator::Transaction::Expectation
 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.

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

Detailed Description

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.

Constructor & Destructor Documentation

◆ Assertion()

gem5::tlm::chi::TlmGenerator::Transaction::Assertion::Assertion ( std::string exp_name,
Callback _cb )
inline

Member Function Documentation

◆ run()

bool gem5::tlm::chi::TlmGenerator::Transaction::Assertion::run ( Transaction * tran)
overridevirtual

The documentation for this class was generated from the following files:

Generated on Sat Oct 18 2025 08:07:04 for gem5 by doxygen 1.14.0