PandA-2024.02
|
#include <hls_device.hpp>
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 > | |
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... | |
Definition at line 54 of file hls_device.hpp.
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().
|
overridedefault |
|
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().