CIRCT 21.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. | |
![]() | |
virtual | ~HWModule ()=default |
std::optional< ModuleInfo > | getInfo () const |
Access the module's metadata, if any. | |
std::vector< const Instance * > | getChildrenOrdered () const |
Get a vector of the module's children in a deterministic order. | |
const std::map< AppID, Instance * > & | getChildren () const |
Access the module's children by ID. | |
std::vector< std::reference_wrapper< BundlePort > > | getPortsOrdered () const |
Get the module's ports in a deterministic order. | |
const std::map< AppID, const BundlePort & > & | getPorts () const |
Access the module's ports by ID. | |
const std::vector< services::Service * > & | getServices () const |
Access the services provided by this module. | |
bool | poll () |
Master poll method. | |
Protected Attributes | |
const AppID | id |
![]() | |
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 | |
![]() | |
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 |