CIRCT 21.0.0git
|
Top level accelerator class. More...
#include <Accelerator.h>
Public Member Functions | |
Accelerator ()=delete | |
Accelerator (const Accelerator &)=delete | |
~Accelerator ()=default | |
Accelerator (std::optional< ModuleInfo > info, std::vector< std::unique_ptr< Instance > > children, std::vector< services::Service * > services, std::vector< std::unique_ptr< BundlePort > > &ports) | |
![]() | |
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, 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. | |
const HWModule * | resolveInst (const AppIDPath &path, AppIDPath &lastLookup) const |
Attempt to resolve a path to a module instance. | |
BundlePort * | resolvePort (const AppIDPath &path, AppIDPath &lastLookup) const |
Attempt to resolve a path to a port. | |
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) | |
![]() | |
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, BundlePort & > | portIndex |
Top level accelerator class.
Maintains a shared pointer to the manifest, which owns objects used in the design hierarchy owned by this class. Since this class owns the entire design hierarchy, when it gets destroyed the entire design hierarchy gets destroyed so all of the instances, ports, etc. are no longer valid pointers.
Definition at line 60 of file Accelerator.h.
|
delete |
|
delete |
|
default |
|
inline |
Definition at line 65 of file Accelerator.h.