PandA-2024.02
|
The information about how memory allocation has to be specialized. More...
#include <memory_allocation.hpp>
Public Member Functions | |
MemoryAllocationSpecialization (const MemoryAllocation_Policy memory_allocation_policy, const MemoryAllocation_ChannelsType memory_allocation_channels_type) | |
Constructor. More... | |
std::string | GetKindText () const override |
Return the string representation of this. More... | |
std::string | GetSignature () const override |
Return the contribution to the signature of a step given by the specialization. More... | |
Public Member Functions inherited from HLSFlowStepSpecialization | |
HLSFlowStepSpecialization () | |
header include More... | |
virtual | ~HLSFlowStepSpecialization () |
Data Fields | |
const MemoryAllocation_Policy | memory_allocation_policy |
memory allocation policy More... | |
const MemoryAllocation_ChannelsType | memory_allocation_channels_type |
number of channels More... | |
The information about how memory allocation has to be specialized.
Definition at line 89 of file memory_allocation.hpp.
MemoryAllocationSpecialization::MemoryAllocationSpecialization | ( | const MemoryAllocation_Policy | memory_allocation_policy, |
const MemoryAllocation_ChannelsType | memory_allocation_channels_type | ||
) |
Constructor.
memory_allocation_policy | is the memory allocation policy |
memory_allocation_channels_type | is the number of channels |
Definition at line 73 of file memory_allocation.cpp.
|
overridevirtual |
Return the string representation of this.
Implements HLSFlowStepSpecialization.
Definition at line 81 of file memory_allocation.cpp.
References ALL_BRAM, EXT_PIPELINED_BRAM, GSS, LSS, MEM_ACC_11, MEM_ACC_CS, MEM_ACC_N1, MEM_ACC_NN, MEM_ACC_P1N, memory_allocation_channels_type, memory_allocation_policy, NO_BRAM, NONE, and THROW_UNREACHABLE.
|
overridevirtual |
Return the contribution to the signature of a step given by the specialization.
Implements HLSFlowStepSpecialization.
Definition at line 129 of file memory_allocation.cpp.
References memory_allocation_channels_type, memory_allocation_policy, and STR.
const MemoryAllocation_ChannelsType MemoryAllocationSpecialization::memory_allocation_channels_type |
number of channels
Definition at line 96 of file memory_allocation.hpp.
Referenced by GetKindText(), and GetSignature().
const MemoryAllocation_Policy MemoryAllocationSpecialization::memory_allocation_policy |
memory allocation policy
Definition at line 93 of file memory_allocation.hpp.
Referenced by GetKindText(), and GetSignature().