55 const DesignFlowManagerConstRef _design_flow_manager,
68 auto context_switch =
ceil_log2(
parameters->getOption<
unsigned long long int>(OPT_context_switch));
73 auto num_bits_acc =
ceil_log2(
parameters->getOption<
unsigned long long>(OPT_num_accelerators));
78 const auto tag_index = context_switch + num_bits_acc + 2ULL;
79 GetPointer<memory_cs>(
HLSMgr->Rmem)->set_bus_tag_bitsize(static_cast<unsigned>(tag_index));
const HLS_managerRef HLSMgr
information about all the HLS synthesis
Data structure representing the entire HLS information.
mem_dominator_allocation_cs(const ParameterConstRef _parameters, const HLS_managerRef HLSMgr, const DesignFlowManagerConstRef design_flow_manager, const HLSFlowStepSpecializationConstRef hls_flow_step_specialization, const HLSFlowStep_Type hls_flow_step_type)
Constructor.
#define GET_CLASS(obj)
Macro returning the actual type of an object.
mathematical utility function not provided by standard libraries
T ceil_log2(T x)
Return the smallest n such that 2**n >= X.
DesignFlowStep_Status Exec() override
Execute the step.
const ParameterConstRef parameters
Set of input parameters.
DesignFlowStep_Status
The status of a step.
This file collects some utility functions and macros.
~mem_dominator_allocation_cs() override
Destructor.
DesignFlowStep_Status Exec() override
Execute the step.
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.
int debug_level
The debug level.
Datastructure to describe functions allocation in high-level synthesis.
A brief description of the C++ Header File.