PandA-2024.02
Data Structures | Enumerations | Functions
memory_allocation.hpp File Reference

Base class to allocate memories in high-level synthesis. More...

#include "custom_set.hpp"
#include "hls_step.hpp"
#include "refcount.hpp"
#include <list>
#include <map>
#include <string>
#include <tuple>
Include dependency graph for memory_allocation.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  MemoryAllocationSpecialization
 The information about how memory allocation has to be specialized. More...
 
class  memory_allocation
 Allocation memory class. More...
 

Enumerations

enum  MemoryAllocation_Policy {
  MemoryAllocation_Policy::LSS = 1, MemoryAllocation_Policy::GSS = 2, MemoryAllocation_Policy::ALL_BRAM = 3, MemoryAllocation_Policy::NO_BRAM = 0,
  MemoryAllocation_Policy::EXT_PIPELINED_BRAM, MemoryAllocation_Policy::NONE = 7
}
 The allocation memory polycy. More...
 
enum  MemoryAllocation_ChannelsType {
  MemoryAllocation_ChannelsType::MEM_ACC_11 = 0, MemoryAllocation_ChannelsType::MEM_ACC_N1 = 1, MemoryAllocation_ChannelsType::MEM_ACC_NN = 3, MemoryAllocation_ChannelsType::MEM_ACC_P1N,
  MemoryAllocation_ChannelsType::MEM_ACC_CS = 8
}
 The number of channels. More...
 

Functions

 REF_FORWARD_DECL (memory_allocation)
 
 REF_FORWARD_DECL (memory)
 

Detailed Description

Base class to allocate memories in high-level synthesis.

Author
Christian Pilato pilat.nosp@m.o@el.nosp@m.et.po.nosp@m.limi.nosp@m..it
Fabrizio Ferrandi fabri.nosp@m.zio..nosp@m.ferra.nosp@m.ndi@.nosp@m.polim.nosp@m.i.it $Revision$ $Date$ Last modified by $Author$

Definition in file memory_allocation.hpp.

Enumeration Type Documentation

◆ MemoryAllocation_ChannelsType

The number of channels.

Enumerator
MEM_ACC_11 
MEM_ACC_N1 

for each memory at maximum one direct access and one indirect access

MEM_ACC_NN 

for each memory at maximum n parallel direct accesses and one indirect access

MEM_ACC_P1N 

for each memory at maximum n parallel direct accesses and n parallel indirect accesses

MEM_ACC_CS 

only external memory access Datapath see only 1 memory port, while the bus manage parallel accesses

Definition at line 76 of file memory_allocation.hpp.

◆ MemoryAllocation_Policy

The allocation memory polycy.

Enumerator
LSS 
GSS 

all local variables, static variables and strings are allocated on BRAMs

ALL_BRAM 

all global variables, static variables and strings are allocated on BRAMs

NO_BRAM 

all objects that need to be stored in memory are allocated on BRAMs

EXT_PIPELINED_BRAM 

all objects that need to be stored in memory are allocated on an external memory

NONE 

all objects that need to be stored in memory are allocated on an external pipelined memory

Definition at line 62 of file memory_allocation.hpp.

Function Documentation

◆ REF_FORWARD_DECL() [1/2]

REF_FORWARD_DECL ( memory_allocation  )

◆ REF_FORWARD_DECL() [2/2]

REF_FORWARD_DECL ( memory  )

Generated on Mon Feb 12 2024 13:03:28 for PandA-2024.02 by doxygen 1.8.13