64 const DesignFlowManagerConstRef _design_flow_manager)
76 switch(relationship_type)
102 const auto top_symbols =
parameters->getOption<std::vector<std::string>>(OPT_top_functions_names);
103 THROW_ASSERT(top_symbols.size() == 1,
"Expected single top function name");
104 const auto top_fnode =
HLSMgr->get_tree_manager()->GetFunction(top_symbols.front());
106 const auto suffix =
"_beh";
108 std::list<std::string> full_list;
109 std::copy(
HLSMgr->aux_files.begin(),
HLSMgr->aux_files.end(), std::back_inserter(full_list));
110 std::copy(
HLSMgr->hdl_files.begin(),
HLSMgr->hdl_files.end(), std::back_inserter(full_list));
111 std::string inc_dirs;
114 inc_dirs =
parameters->getOption<std::string>(OPT_lattice_inc_dirs);
117 full_list.push_back(
HLSMgr->RSim->filename_bench);
124 HLSMgr->RSim->sim_tool->GenerateSimulationScript(top_hls->top->get_circ()->get_id(), full_list);
#define DEBUG_LEVEL_VERY_PEDANTIC
extremely verbose debugging print is performed.
const HLS_managerRef HLSMgr
information about all the HLS synthesis
Data structure representing the entire HLS information.
#define INDENT_DBG_MEX(dbgLevel, curDbgLevel, mex)
We are producing a debug version of the program, so the message is printed;.
File containing functions and utilities to support the printing of debug messagges.
Wrapper used to generate simulation scripts.
#define GET_CLASS(obj)
Macro returning the actual type of an object.
RelationshipType
The relationship type.
Source must be executed to satisfy target.
static type_t DetermineBackendFlowType(const generic_deviceRef device, const ParameterConstRef parameters)
Determines the type of the backend flow based on the target device.
#define THROW_UNREACHABLE(str_expr)
helper function used to specify that some points should never be reached
const CustomUnorderedSet< std::tuple< HLSFlowStep_Type, HLSFlowStepSpecializationConstRef, HLSFlowStep_Relationship > > ComputeHLSRelationships(const DesignFlowStep::RelationshipType relationship_type) const override
Return the set of analyses in relationship with this design step.
Target must be reexecuted.
redefinition of set to manage ordered/unordered structures
~GenerateSimulationScripts() override
Destructor.
GenerateSimulationScripts(const ParameterConstRef _parameters, const HLS_managerRef HLSMgr, const DesignFlowManagerConstRef design_flow_manager)
Constructor.
const ParameterConstRef parameters
Set of input parameters.
DesignFlowStep_Status
The status of a step.
This file collects some utility functions and macros.
This file collects some utility functions.
This file contains the definition of the configurable flow for generating and executing synthesis scr...
DesignFlowStep_Status Exec() override
Execute the step.
Class specification of the tree_reindex support class.
bool HasToBeExecuted() const override
Check if this step has actually to be executed.
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.
Class implementation of the structural_manager.
int debug_level
The debug level.
refcount< const HLSFlowStepSpecialization > HLSFlowStepSpecializationConstRef
const refcount definition of the class
#define GET_INDEX_CONST_NODE(t)
Data structure definition for high-level synthesis flow.
Class specification of the manager of the tree structures extracted from the raw file.
HLS specialization of generic_device.
#define THROW_ASSERT(cond, str_expr)
helper function used to check an assert and if needed to throw an error in a standard way ...