gem5 v24.0.0.0
|
Wraps a MinorBuffer with Input/Output interfaces to ensure that units within the model can only see the right end of buffers between them. More...
#include <buffers.hh>
Classes | |
class | Input |
Encapsulate wires on either input or output of the latch. More... | |
class | Output |
Public Types | |
typedef MinorBuffer< Data > | Buffer |
Public Member Functions | |
Latch (const std::string &name, const std::string &data_name, Cycles delay_=Cycles(1), bool report_backwards=false) | |
forward/backwardDelay specify the delay from input to output in each direction. | |
bool | empty () const |
Input | input () |
An interface to just the input of the buffer. | |
Output | output () |
An interface to just the output of the buffer. | |
void | minorTrace () const |
void | evaluate () |
Protected Attributes | |
Cycles | delay |
Delays, in cycles, writing data into the latch and seeing it on the latched wires. | |
Buffer | buffer |
Wraps a MinorBuffer with Input/Output interfaces to ensure that units within the model can only see the right end of buffers between them.
Definition at line 221 of file buffers.hh.
typedef MinorBuffer<Data> gem5::minor::Latch< Data >::Buffer |
Definition at line 224 of file buffers.hh.
|
inline |
forward/backwardDelay specify the delay from input to output in each direction.
These arguments must be >= 1
Definition at line 236 of file buffers.hh.
|
inline |
Definition at line 273 of file buffers.hh.
References gem5::minor::Latch< Data >::buffer, and gem5::minor::MinorBuffer< ElemType, ReportTraits, BubbleTraits >::empty().
|
inline |
Definition at line 283 of file buffers.hh.
References gem5::TimeBuffer< T >::advance(), and gem5::minor::Latch< Data >::buffer.
|
inline |
An interface to just the input of the buffer.
Definition at line 276 of file buffers.hh.
References gem5::minor::Latch< Data >::buffer, and gem5::TimeBuffer< T >::getWire().
|
inline |
Definition at line 281 of file buffers.hh.
References gem5::minor::Latch< Data >::buffer, and gem5::minor::MinorBuffer< ElemType, ReportTraits, BubbleTraits >::minorTrace().
|
inline |
An interface to just the output of the buffer.
Definition at line 279 of file buffers.hh.
References gem5::minor::Latch< Data >::buffer, gem5::minor::Latch< Data >::delay, and gem5::TimeBuffer< T >::getWire().
|
protected |
Definition at line 231 of file buffers.hh.
Referenced by gem5::minor::Latch< Data >::empty(), gem5::minor::Latch< Data >::evaluate(), gem5::minor::Latch< Data >::input(), gem5::minor::Latch< Data >::minorTrace(), and gem5::minor::Latch< Data >::output().
|
protected |
Delays, in cycles, writing data into the latch and seeing it on the latched wires.
Definition at line 229 of file buffers.hh.
Referenced by gem5::minor::Latch< Data >::output().