CIRCT  19.0.0git
Classes | Public Member Functions | Private Attributes | List of all members
esi::Manifest Class Reference

Class to parse a manifest. More...

#include <Manifest.h>

Collaboration diagram for esi::Manifest:
Collaboration graph
[legend]

Classes

class  Impl
 

Public Member Functions

 Manifest (const Manifest &)=delete
 
 Manifest (Context &ctxt, const std::string &jsonManifest)
 
 ~Manifest ()
 
uint32_t getApiVersion () const
 
std::vector< ModuleInfogetModuleInfos () const
 
std::unique_ptr< AcceleratorbuildAccelerator (AcceleratorConnection &acc) const
 
const std::vector< const Type * > & getTypeTable () const
 The Type Table is an ordered list of types. More...
 

Private Attributes

Implimpl
 

Detailed Description

Class to parse a manifest.

It also constructs the dynamic API for the accelerator.

Definition at line 39 of file Manifest.h.

Constructor & Destructor Documentation

◆ Manifest() [1/2]

esi::Manifest::Manifest ( const Manifest )
delete

◆ Manifest() [2/2]

Manifest::Manifest ( Context ctxt,
const std::string &  jsonManifest 
)

Definition at line 521 of file Manifest.cpp.

◆ ~Manifest()

Manifest::~Manifest ( )

Definition at line 524 of file Manifest.cpp.

References impl.

Member Function Documentation

◆ buildAccelerator()

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().

◆ getApiVersion()

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().

◆ getModuleInfos()

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().

◆ getTypeTable()

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().

Member Data Documentation

◆ impl

Impl* esi::Manifest::impl
private

Definition at line 62 of file Manifest.h.

Referenced by buildAccelerator(), getApiVersion(), getModuleInfos(), getTypeTable(), and ~Manifest().


The documentation for this class was generated from the following files: