40 #ifndef CREATE_ADDRESS_TRANSLATION_HPP 41 #define CREATE_ADDRESS_TRANSLATION_HPP 88 unsigned long long& bambu_address,
unsigned long long int& taste_address,
89 unsigned int& registers,
const bool first_level,
const bool little_endianess);
void Initialize() override
Initialize the step (i.e., like a constructor, but executed just before exec.
void ComputeAddress(const AsnTypeRef asn_type, const unsigned int tree_parameter_type, unsigned long long &bambu_address, unsigned long long int &taste_address, unsigned int ®isters, const bool first_level, const bool little_endianess)
Compute the addresses and add them to the writers.
RelationshipType
The relationship type.
bool HasToBeExecuted() const override
Check if this step has actually to be executed.
This class manages the tree structures extracted from the raw file.
Class which creates source code of hdl module to translate addresses from pci address space to bambu ...
const CustomUnorderedSet< std::pair< FrontendFlowStepType, FunctionRelationship > > ComputeFrontendRelationships(const DesignFlowStep::RelationshipType relationship_type) const override
Return the set of analyses in relationship with this design step.
IndentedOutputStreamRef memory_enabling
The memory enabling stream.
bool already_executed
True if it was already executed.
REF_FORWARD_DECL(AadlInformation)
~CreateAddressTranslation() override
Destructor.
const Wrefcount< const DesignFlowManager > design_flow_manager
The design flow manager.
const ParameterConstRef parameters
Set of input parameters.
DesignFlowStep_Status
The status of a step.
tree_managerConstRef TreeM
The tree manager.
IndentedOutputStreamRef data_size
The data size stream.
IndentedOutputStreamRef address_translation
The address translation stream.
CONSTREF_FORWARD_DECL(tree_manager)
const AadlInformationRef aadl_information
The asn information.
const application_managerRef AppM
The application manager.
Class to print indented code.
DesignFlowStep_Status Exec() override
Execute this step.
This class contains the base representation for a generic frontend flow step which works on the whole...
IndentedOutputStreamRef endianess_check
The endianess check stream.
CreateAddressTranslation(const application_managerRef AppM, const DesignFlowManagerConstRef design_flow_manager, const ParameterConstRef parameters)
Constructor.