64 const DesignFlowManagerConstRef _design_flow_manager)
94 "-->Register binding information for function " +
95 HLSMgr->CGetFunctionBehavior(
funId)->CGetBehavioralHelper()->get_function_name() +
":");
103 "Time to perform register binding: " +
print_cpu_time(step_time) +
" seconds");
Class specification to contain liveness information.
const HLS_managerRef HLSMgr
information about all the HLS synthesis
Data structure representing the entire HLS information.
File containing functions and utilities to support the printing of debug messagges.
refcount< reg_binding > reg_bindingRef
RefCount type definition of the reg_binding class structure.
const int output_level
The output level.
Class managing the register binding.
#define INDENT_OUT_MEX(outLevel, curOutLevel, mex)
void set_used_regs(unsigned int regs)
sets number of used register
const unsigned int funId
identifier of the function to be processed (0 means that it is a global step)
void bind(unsigned int sv, unsigned int index)
#define OUTPUT_LEVEL_MINIMUM
minimum debugging print is performed.
Include a set of utilities used to manage CPU time measures.
unique_binding_register(const ParameterConstRef Param, const HLS_managerRef HLSMgr, unsigned int funId, const DesignFlowManagerConstRef design_flow_manager)
Constructor of the class.
#define START_TIME(time_var)
Macro used to store the start time into time_var.
Data structure used to store the register binding of variables.
StorageValueInformationRef storage_value_information
data-structure for storage values
#define STOP_TIME(time_var)
Macro used to store the elapsed time into time_var.
Generic class managing the different register allocation algorithms.
DesignFlowStep_Status
The status of a step.
reg_bindingRef Rreg
Store the refcounted register binding of the variables.
livenessRef Rliv
data-structure containing the variable liveness
std::string print_cpu_time(long int t)
massage a long which represents a time interval in milliseconds, into a string suitable for output ...
virtual void print() const
Function that prints the class variable2obj.
#define OUTPUT_LEVEL_PEDANTIC
verbose debugging print is performed.
#define OUTPUT_LEVEL_VERY_PEDANTIC
verbose debugging print is performed.
hlsRef HLS
HLS data structure of the function to be analyzed.
Class specification of unique binding register allocation algorithm.
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.
Data structure definition for high-level synthesis flow.
DesignFlowStep_Status RegisterBinding() final
~unique_binding_register() override
#define THROW_ASSERT(cond, str_expr)
helper function used to check an assert and if needed to throw an error in a standard way ...