PandA-2024.02
Data Structures | Public Member Functions | Protected Member Functions | Protected Attributes
ModuleGenerator Class Referenceabstract

#include <ModuleGenerator.hpp>

Inheritance diagram for ModuleGenerator:
Inheritance graph
[legend]
Collaboration diagram for ModuleGenerator:
Collaboration graph
[legend]

Data Structures

struct  parameter
 

Public Member Functions

virtual ~ModuleGenerator ()=default
 
void Exec (std::ostream &out, structural_objectRef mod, unsigned int function_id, vertex op_v, const std::vector< parameter > &_p, const HDLWriter_Language language)
 

Protected Member Functions

 ModuleGenerator (Key, const HLS_managerRef &_HLSMgr)
 
virtual void InternalExec (std::ostream &out, structural_objectRef mod, unsigned int function_id, vertex op_v, const HDLWriter_Language language, const std::vector< parameter > &_p, const std::vector< parameter > &_ports_in, const std::vector< parameter > &_ports_out, const std::vector< parameter > &_ports_inout)=0
 

Protected Attributes

const HLS_managerRef HLSMgr
 

Additional Inherited Members

- Static Public Member Functions inherited from Factory< ModuleGenerator, const HLS_managerRef &>
static refcount< ModuleGeneratorCreate (const std::string &s, T &&... args)
 
- Data Fields inherited from Factory< ModuleGenerator, const HLS_managerRef &>
friend Base
 

Detailed Description

Definition at line 62 of file ModuleGenerator.hpp.

Constructor & Destructor Documentation

◆ ModuleGenerator()

ModuleGenerator::ModuleGenerator ( Key  ,
const HLS_managerRef _HLSMgr 
)
inlineprotected

Definition at line 79 of file ModuleGenerator.hpp.

References Exec(), InternalExec(), lenet_tvm::mod, and ~ModuleGenerator().

Here is the call graph for this function:

◆ ~ModuleGenerator()

virtual ModuleGenerator::~ModuleGenerator ( )
virtualdefault

Referenced by ModuleGenerator().

Here is the caller graph for this function:

Member Function Documentation

◆ Exec()

void ModuleGenerator::Exec ( std::ostream &  out,
structural_objectRef  mod,
unsigned int  function_id,
vertex  op_v,
const std::vector< parameter > &  _p,
const HDLWriter_Language  language 
)

Definition at line 58 of file ModuleGenerator.cpp.

References InternalExec(), lenet_tvm::mod, ModuleGenerator::parameter::parameter(), and U.

Referenced by ModuleGenerator().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InternalExec()

virtual void ModuleGenerator::InternalExec ( std::ostream &  out,
structural_objectRef  mod,
unsigned int  function_id,
vertex  op_v,
const HDLWriter_Language  language,
const std::vector< parameter > &  _p,
const std::vector< parameter > &  _ports_in,
const std::vector< parameter > &  _ports_out,
const std::vector< parameter > &  _ports_inout 
)
protectedpure virtual

Referenced by Exec(), and ModuleGenerator().

Here is the caller graph for this function:

Field Documentation

◆ HLSMgr

const HLS_managerRef ModuleGenerator::HLSMgr
protected

Definition at line 77 of file ModuleGenerator.hpp.


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

Generated on Mon Feb 12 2024 13:03:58 for PandA-2024.02 by doxygen 1.8.13