CIRCT
20.0.0git
|
Subclass of HWModule
which represents a submodule instance.
More...
#include <Design.h>
Public Member Functions | |
Instance ()=delete | |
Instance (const Instance &)=delete | |
~Instance ()=default | |
Instance (AppID id, std::optional< ModuleInfo > info, std::vector< std::unique_ptr< Instance >> children, std::vector< services::Service * > services, std::vector< std::unique_ptr< BundlePort >> &ports) | |
const AppID | getID () const |
Get the instance's ID, which it will always have. More... | |
Public Member Functions inherited from esi::HWModule | |
virtual | ~HWModule ()=default |
std::optional< ModuleInfo > | getInfo () const |
Access the module's metadata, if any. More... | |
std::vector< const Instance * > | getChildrenOrdered () const |
Get a vector of the module's children in a deterministic order. More... | |
const std::map< AppID, Instance * > & | getChildren () const |
Access the module's children by ID. More... | |
std::vector< std::reference_wrapper< BundlePort > > | getPortsOrdered () const |
Get the module's ports in a deterministic order. More... | |
const std::map< AppID, const BundlePort & > & | getPorts () const |
Access the module's ports by ID. More... | |
const std::vector< services::Service * > & | getServices () const |
Access the services provided by this module. More... | |
bool | poll () |
Master poll method. More... | |
Protected Attributes | |
const AppID | id |
Protected Attributes inherited from esi::HWModule | |
const std::optional< ModuleInfo > | info |
const std::vector< std::unique_ptr< Instance > > | children |
const std::map< AppID, Instance * > | childIndex |
const std::vector< services::Service * > | services |
const std::vector< std::unique_ptr< BundlePort > > | ports |
const std::map< AppID, const BundlePort & > | portIndex |
Additional Inherited Members | |
Protected Member Functions inherited from esi::HWModule | |
HWModule (std::optional< ModuleInfo > info, std::vector< std::unique_ptr< Instance >> children, std::vector< services::Service * > services, std::vector< std::unique_ptr< BundlePort >> &ports) | |
Subclass of HWModule
which represents a submodule instance.
Adds an AppID, which the top level doesn't have or need.
|
delete |
|
delete |
|
default |
|
inline |
|
inline |
Get the instance's ID, which it will always have.
Definition at line 112 of file Design.h.
References id.
Referenced by PYBIND11_MODULE().
|
protected |