58 unsigned int _funId,
const DesignFlowManagerConstRef _design_flow_manager,
60 :
HLSFunctionStep(_Param, _HLSMgr, _funId, _design_flow_manager, _hls_flow_step_type)
70 switch(relationship_type)
81 if(
HLSMgr->GetFunctionBehavior(
funId)->is_simple_pipeline())
88 ret.insert(std::make_tuple(
HLSMgr->get_HLS(
funId)->module_binding_algorithm,
93 if(
HLSMgr->GetFunctionBehavior(
funId)->is_simple_pipeline())
121 const auto FB =
HLSMgr->CGetFunctionBehavior(
funId);
122 const auto BH = FB->CGetBehavioralHelper();
126 const auto function_parameters = BH->get_parameters();
128 for(
auto function_parameter : function_parameters)
134 const unsigned int return_type_index = BH->GetFunctionReturnType(BH->get_function_index());
135 if(return_type_index)
138 "Return format " + BH->print_type(return_type_index) +
" (OUT) ");
const HLS_managerRef HLSMgr
information about all the HLS synthesis
Data structure representing the entire HLS information.
Module binding based on the analysis of the control data flow chained graph.
conn_binding_creator(const ParameterConstRef Param, const HLS_managerRef HLSMgr, unsigned int funId, const DesignFlowManagerConstRef design_flow_manager, const HLSFlowStep_Type hls_flow_step_type)
Constructor.
File containing functions and utilities to support the printing of debug messagges.
const CustomUnorderedSet< std::tuple< HLSFlowStep_Type, HLSFlowStepSpecializationConstRef, HLSFlowStep_Relationship > > ComputeHLSRelationships(const DesignFlowStep::RelationshipType relationship_type) const override
Compute the relationship of this step.
#define PRINT_DBG_MEX(dbgLevel, curDbgLevel, mex)
We are producing a debug version of the program, so the message is printed;.
#define DEBUG_LEVEL_PEDANTIC
very verbose debugging print is performed.
RelationshipType
The relationship type.
Source must be executed to satisfy target.
const unsigned int funId
identifier of the function to be processed (0 means that it is a global step)
generic_objRef bind_port(unsigned int var, direction_type dir)
Bind variable to a port object.
#define PRINT_DBG_STRING(dbgLevel, curDbgLevel, mex)
We are producing a debug version of the program, so the message is printed; no newline is added;...
#define STR(s)
Macro which performs a lexical_cast to a string.
Base class for all interconnection binding algorithms.
#define THROW_UNREACHABLE(str_expr)
helper function used to specify that some points should never be reached
Data structure used to store the interconnection binding of datapath elements.
std::map< unsigned int, generic_objRef > input_ports
map between input port variable and generic object
Target must be reexecuted.
const ParameterConstRef parameters
Set of input parameters.
This file collects some utility functions and macros.
hlsRef HLS
HLS data structure of the function to be analyzed.
Template borrowed from the ANTLR library by Terence Parr (http://www.jGuru.com - Software rights: htt...
this class is used to manage the command-line or XML options.
std::map< unsigned int, generic_objRef > output_ports
map between output port variable and generic object
int debug_level
The debug level.
refcount< const HLSFlowStepSpecialization > HLSFlowStepSpecializationConstRef
const refcount definition of the class
Data structure definition for high-level synthesis flow.
conn_bindingRef Rconn
Store the refcounted interconnection of datapath elements.
~conn_binding_creator() override
Destructor.
A brief description of the C++ Header File.
void add_parameter_ports()
Add ports representing parameter values.