46 #ifndef _MODULE_GENERATOR_HPP_ 47 #define _MODULE_GENERATOR_HPP_ 95 vertex op_v,
const std::vector<std::tuple<unsigned int, unsigned int>>& required_variables,
99 const std::vector<std::tuple<unsigned int, unsigned int>>& required_variables,
103 const std::string& libraryId,
const std::string& new_fu_name,
104 std::map<std::string, technology_nodeRef>& new_fu);
107 const std::string& libraryId,
const std::string& new_fu_name);
structural_type_descriptorRef getDataType(unsigned int variable, const FunctionBehaviorConstRef function_behavior) const
Structure representing the most relevant information about the type of a structural object...
void specialize_fu(const std::string &fu_name, vertex ve, const FunctionBehaviorConstRef FB, const std::string &libraryId, const std::string &new_fu_name, std::map< std::string, technology_nodeRef > &new_fu)
CONSTREF_FORWARD_DECL(FunctionBehavior)
Class specification of the graph structures.
ModuleGeneratorManager(const HLS_managerRef HLSMgr, const ParameterConstRef parameters)
Constructor.
redefinition of map to manage ordered/unordered structures
void add_port_parameters(structural_objectRef generated_port, structural_objectRef original_port)
This class manages the technology library structures.
boost::graph_traits< graph >::vertex_descriptor vertex
vertex definition.
const ParameterConstRef parameters
The set of input parameters.
Template definition of refcount.
std::string GenerateHDL(const std::string &hdl_template, structural_objectRef mod, unsigned int function_id, vertex op_v, const std::vector< std::tuple< unsigned int, unsigned int >> &required_variables, HDLWriter_Language language)
const int debug_level
The debug level.
virtual ~ModuleGeneratorManager()
Destructor.
Template borrowed from the ANTLR library by Terence Parr (http://www.jGuru.com - Software rights: htt...
std::string get_specialized_name(unsigned int firstIndexToSpecialize, const std::vector< std::tuple< unsigned int, unsigned int >> &required_variables, const FunctionBehaviorConstRef FB) const
Generic device description.
void create_generic_module(const std::string &fu_name, vertex ve, const FunctionBehaviorConstRef FB, const std::string &libraryId, const std::string &new_fu_name)
REF_FORWARD_DECL(HLS_manager)
This class describes a generic module.
Abstract pure class for the technology structure.
Base object for all the structural objects.
const HLS_managerRef HLSMgr
The HLS manager.