65 #if(__GNUC__ == 4 && __GNUC_MINOR__ >= 7)
void ComputeRelationships(DesignFlowStepSet &design_flow_step_set, const DesignFlowStep::RelationshipType relationship_type) override
Compute the relationships of a step with other steps.
bool HasToBeExecuted() const override
Check if this step has actually to be executed.
const std::string c_testbench_basename
RelationshipType
The relationship type.
This class manages the tree structures extracted from the raw file.
static unsigned long long generate_init_file(const std::string &dat_filename, const tree_managerConstRef TreeM, unsigned int var, const memoryRef mem)
static std::vector< std::string > print_var_init(const tree_managerConstRef TreeM, unsigned int var, const memoryRef mem)
std::string hdl_testbench_basename
testbench basename
void Initialize() override
Initialize the step (i.e., like a constructor, but executed just before exec.
bool printCacheStats(const module *rootMod) const
This function takes care of printing cache hit/miss counters.
REF_FORWARD_DECL(language_writer)
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.
DesignFlowStep_Status Exec() override
Execute the step.
TestbenchGeneration(const ParameterConstRef parameters, const HLS_managerRef _HLSMgr, const DesignFlowManagerConstRef design_flow_manager)
Constructor.
const Wrefcount< const DesignFlowManager > design_flow_manager
The design flow manager.
DesignFlowStep_Status
The status of a step.
const std::string output_directory
output directory
const language_writerRef writer
Template definition of refcount.
Template borrowed from the ANTLR library by Terence Parr (http://www.jGuru.com - Software rights: htt...
HDL writer base class used to specify the interface of the different language writers.
std::string write_verilator_testbench() const
Write the verilator testbench.
CONSTREF_FORWARD_DECL(tree_manager)
This class describes a generic module.
TestbenchGeneration_MemoryType
Enum class used to specify which type of content has to be printed for memory initialization.
Base object for all the structural objects.