PandA-2024.02
Public Member Functions | Static Public Member Functions
HLS_device Class Reference

#include <hls_device.hpp>

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

Public Member Functions

 HLS_device (const ParameterConstRef &Param, const technology_managerRef &TM)
 Constructor. More...
 
 ~HLS_device () override
 Destructor. More...
 
- Public Member Functions inherited from generic_device
 generic_device (const ParameterConstRef &Param, const technology_managerRef &TM)
 Constructor of the class. More...
 
virtual ~generic_device ()
 Destructor of the class. More...
 
void xload (const xml_element *node)
 XML load specialization. More...
 
void xwrite (xml_element *node)
 XML write specialization. More...
 
void load_devices ()
 Load device characteristics. More...
 
template<typename G >
get_parameter (const std::string &key) const
 Returns a parameter by key. More...
 
template<typename G >
void set_parameter (const std::string &key, G value)
 Sets the value of the parameter. More...
 
bool has_parameter (const std::string &key) const
 Check if parameter exist. More...
 
const std::map< std::string, std::string > & get_device_bash_vars () const
 
technology_managerRef get_technology_manager () const
 Returns the technology manager. More...
 

Static Public Member Functions

static HLS_deviceRef factory (const ParameterRef &Param)
 Factory method from XML file. More...
 
- Static Public Member Functions inherited from generic_device
static generic_deviceRef factory (const ParameterConstRef &Param, const technology_managerRef &TM)
 Factory method. More...
 

Detailed Description

Definition at line 54 of file hls_device.hpp.

Constructor & Destructor Documentation

◆ HLS_device()

HLS_device::HLS_device ( const ParameterConstRef Param,
const technology_managerRef TM 
)

Constructor.

Header include.

Definition at line 51 of file hls_device.cpp.

References generic_device::set_parameter(), and ~HLS_device().

Referenced by factory().

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

◆ ~HLS_device()

HLS_device::~HLS_device ( )
overridedefault

Destructor.

Referenced by HLS_device().

Here is the caller graph for this function:

Member Function Documentation

◆ factory()

HLS_deviceRef HLS_device::factory ( const ParameterRef Param)
static

Factory method from XML file.

Definition at line 62 of file hls_device.cpp.

References xml_child::get_children(), HLS_device(), test_panda::parser, lenet_tvm::target, THROW_ERROR, and generic_device::TM.

Referenced by main().

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

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

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