40 #ifndef MEMORY_INITIALIZATION_WRITER_HPP 41 #define MEMORY_INITIALIZATION_WRITER_HPP 91 void Process(
const std::string& content)
override;
void FinalizeFileInit() override
do nothing
const tree_nodeConstRef function_parameter
The variable/parameter being printed.
const unsigned long int reserved_mem_bytes
The number of bytes to be written.
Functor used to write initialization of the memory writer.
Functor used to write initialization of the memory writer.
This class manages the tree structures extracted from the raw file.
Abstract pure class for the tree structure.
void Process(const std::string &content) override
Process an element.
Abstract base class for functor used to write initialization of the memory.
const BehavioralHelperConstRef behavioral_helper
The behavioral helper.
MemoryInitializationWriter(std::ofstream &output_stream, const tree_managerConstRef TM, const BehavioralHelperConstRef behavioral_helper, const unsigned long int reserved_mem_bytes, const tree_nodeConstRef function_parameter, const TestbenchGeneration_MemoryType testbench_generation_memory_type, const ParameterConstRef parameters)
Constructor.
Template definition of refcount.
void ActivateFileInit(const std::string &) override
In this case the function does not activate anything.
std::ofstream & output_stream
The stream corresponding to the memory initialization file.
const TestbenchGeneration_MemoryType testbench_generation_memory_type
The type of initialization being written.
const tree_managerConstRef TM
The tree manager.
TestbenchGeneration_MemoryType
Enum class used to specify which type of content has to be printed for memory initialization.
CONSTREF_FORWARD_DECL(BehavioralHelper)
Superclass include.