|
CIRCT 22.0.0git
|
Windows represent a fixed-size sliding window over a stream of data. More...
#include <Types.h>


Classes | |
| struct | Field |
| Field information describing a field within a frame. More... | |
| struct | Frame |
| Frame information describing which fields are included in a particular frame. More... | |
Public Member Functions | |
| WindowType (const ID &id, const std::string &name, const Type *intoType, const Type *loweredType, const std::vector< Frame > &frames) | |
| const std::string & | getName () const |
| const Type * | getIntoType () const |
| const Type * | getLoweredType () const |
| const std::vector< Frame > & | getFrames () const |
| std::ptrdiff_t | getBitWidth () const override |
Public Member Functions inherited from esi::Type | |
| Type (const ID &id) | |
| virtual | ~Type ()=default |
| ID | getID () const |
| virtual MutableBitVector | serialize (const std::any &obj) const |
| Serialize an object to a MutableBitVector (LSB-first stream). | |
| virtual std::any | deserialize (BitVector &data) const |
| Deserialize from a BitVector stream (LSB-first). | |
| std::any | deserialize (const MessageData &data) const |
| virtual void | ensureValid (const std::any &obj) const |
| Ensure that a std::any object is valid for this type. | |
| std::optional< std::string > | isValid (const std::any &obj) const |
| void | dump (std::ostream &os, bool oneLine=false) const |
| std::string | toString (bool oneLine=false) const |
Private Attributes | |
| std::string | name |
| const Type * | intoType |
| const Type * | loweredType |
| std::vector< Frame > | frames |
Additional Inherited Members | |
Public Types inherited from esi::Type | |
| using | ID = std::string |
Protected Attributes inherited from esi::Type | |
| ID | id |
Windows represent a fixed-size sliding window over a stream of data.
They define an "into" type (the data structure being windowed) and a "loweredType" (the hardware representation including control signals).
|
inlineoverridevirtual |
Reimplemented from esi::Type.
Definition at line 306 of file Types.h.
References esi::Type::getBitWidth(), and loweredType.
|
inline |
Definition at line 304 of file Types.h.
References frames.
Referenced by esi::ChannelPort::TranslationInfo::precomputeFrameInfo().
|
inline |
Definition at line 302 of file Types.h.
References intoType.
Referenced by esi::ChannelPort::TranslationInfo::precomputeFrameInfo().
|
inline |
Definition at line 303 of file Types.h.
References loweredType.
|
inline |
|
private |
Definition at line 314 of file Types.h.
Referenced by getFrames().
|
private |
Definition at line 312 of file Types.h.
Referenced by getIntoType().
|
private |
Definition at line 313 of file Types.h.
Referenced by getBitWidth(), and getLoweredType().
|
private |