43 #ifndef TOP_ENTITY_HPP 44 #define TOP_ENTITY_HPP structural_managerRef SM
reference to the resulting circuit
const HLS_managerRef HLSMgr
information about all the HLS synthesis
DesignFlowStep_Status InternalExec() override
Execute the step.
RelationshipType
The relationship type.
const unsigned int funId
identifier of the function to be processed (0 means that it is a global step)
This class manages the circuit structures.
void add_ports(structural_objectRef circuit, structural_objectRef clock_port, structural_objectRef reset_port)
Adds the input/output ports to the circuit.
top_entity(const ParameterConstRef _parameters, const HLS_managerRef HLSMgr, unsigned int funId, const DesignFlowManagerConstRef design_flow_manager, const HLSFlowStep_Type=HLSFlowStep_Type::TOP_ENTITY_CREATION)
Constructor.
~top_entity() override
Destructor.
const Wrefcount< const DesignFlowManager > design_flow_manager
The design flow manager.
virtual void add_input_register(structural_objectRef port_in, const std::string &port_prefix, structural_objectRef circuit, structural_objectRef clock_port, structural_objectRef reset_port, structural_objectRef e_port)
Add the register to store input parameters.
DesignFlowStep_Status
The status of a step.
REF_FORWARD_DECL(structural_manager)
void add_command_signals(structural_objectRef circuit)
Adds the command signals to the circuit.
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.
Base object for all the structural objects.