CIRCT
20.0.0git
|
Bundles represent a collection of channels. More...
#include <Types.h>
Public Types | |
enum | Direction { To , From } |
using | ChannelVector = std::vector< std::tuple< std::string, Direction, const Type * > > |
Public Types inherited from esi::Type | |
using | ID = std::string |
Public Member Functions | |
BundleType (const ID &id, const ChannelVector &channels) | |
const ChannelVector & | getChannels () const |
std::ptrdiff_t | getBitWidth () const override |
Public Member Functions inherited from esi::Type | |
Type (const ID &id) | |
virtual | ~Type ()=default |
ID | getID () const |
Protected Attributes | |
ChannelVector | channels |
Protected Attributes inherited from esi::Type | |
ID | id |
Bundles represent a collection of channels.
Services exclusively expose bundles (sometimes of just one channel). As such, they are the type of accessible ports on an accelerator, from a host API perspective. TODO: Add a good description of direction?
using esi::BundleType::ChannelVector = std::vector<std::tuple<std::string, Direction, const Type *> > |
|
inline |
|
inlineoverridevirtual |
|
inline |
Definition at line 54 of file Types.h.
References channels.
Referenced by PYBIND11_MODULE(), esi::backends::trace::TraceAccelerator::Impl::requestChannelsFor(), and esi::backends::cosim::CosimAccelerator::requestChannelsFor().
|
protected |
Definition at line 58 of file Types.h.
Referenced by getChannels().