CIRCT
19.0.0git
|
Class to parse a manifest. More...
#include <Manifest.h>
Classes | |
class | Impl |
Public Member Functions | |
Manifest (const Manifest &)=delete | |
Manifest (Context &ctxt, const std::string &jsonManifest) | |
~Manifest () | |
uint32_t | getApiVersion () const |
std::vector< ModuleInfo > | getModuleInfos () const |
std::unique_ptr< Accelerator > | buildAccelerator (AcceleratorConnection &acc) const |
const std::vector< const Type * > & | getTypeTable () const |
The Type Table is an ordered list of types. More... | |
Private Attributes | |
Impl * | impl |
Class to parse a manifest.
It also constructs the dynamic API for the accelerator.
Definition at line 39 of file Manifest.h.
|
delete |
Manifest::Manifest | ( | Context & | ctxt, |
const std::string & | jsonManifest | ||
) |
Definition at line 521 of file Manifest.cpp.
Manifest::~Manifest | ( | ) |
Definition at line 524 of file Manifest.cpp.
References impl.
std::unique_ptr< Accelerator > Manifest::buildAccelerator | ( | AcceleratorConnection & | acc | ) | const |
Definition at line 538 of file Manifest.cpp.
References esi::Manifest::Impl::buildAccelerator(), and impl.
Referenced by printHier(), and PYBIND11_MODULE().
uint32_t Manifest::getApiVersion | ( | ) | const |
Definition at line 526 of file Manifest.cpp.
References esi::Manifest::Impl::at(), and impl.
Referenced by printInfo(), and PYBIND11_MODULE().
std::vector< ModuleInfo > Manifest::getModuleInfos | ( | ) | const |
Definition at line 530 of file Manifest.cpp.
References esi::Manifest::Impl::at(), impl, and parseModuleInfo().
Referenced by printInfo(), and PYBIND11_MODULE().
const std::vector< const Type * > & Manifest::getTypeTable | ( | ) | const |
The Type Table is an ordered list of types.
The offset can be used to compactly and uniquely within a design. It does not include all of the types in a design – just the ones listed in the 'types' section of the manifest.
Definition at line 542 of file Manifest.cpp.
References esi::Manifest::Impl::getTypeTable(), and impl.
Referenced by printInfo(), and PYBIND11_MODULE().
|
private |
Definition at line 62 of file Manifest.h.
Referenced by buildAccelerator(), getApiVersion(), getModuleInfos(), getTypeTable(), and ~Manifest().