-
Notifications
You must be signed in to change notification settings - Fork 61
Expand file tree
/
Copy pathconfig.mk
More file actions
70 lines (54 loc) · 1.74 KB
/
Copy pathconfig.mk
File metadata and controls
70 lines (54 loc) · 1.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# Copyright 2021 ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
# Author: Samuel Riedel, ETH Zurich
# Matheus Cavalcante, ETH Zurich
######################
## MemPool flavor ##
######################
# Choose a MemPool flavor, either "minpool" or "mempool".
# Check the README for more details
ifndef config
ifdef MEMPOOL_CONFIGURATION
config := $(MEMPOOL_CONFIGURATION)
else
# Default configuration, if neither `config` nor `MEMPOOL_CONFIGURATION` was found
config := mempool
endif
endif
include $(MEMPOOL_DIR)/config/$(config).mk
#############################
## Address configuration ##
#############################
# Boot address (in dec)
boot_addr ?= 2684354560 # A0000000
# L2 memory configuration (in hex)
l2_base ?= 2147483648 # 80000000
l2_size ?= 4194304 # 400000
l2_banks ?= 4
# Size of sequential memory per core (in bytes)
# (must be a power of two)
seq_mem_size ?= 1024
# Size of stack in sequential memory per core (in bytes)
stack_size ?= 1024
#########################
## AXI configuration ##
#########################
# AXI bus data width (in bits)
axi_data_width ?= 256
# Read-only cache line width in AXI interconnect (in bits)
ro_line_width ?= 256
# Number of DMA backends in each group
dmas_per_group ?= 4
#############################
## Xqueues configuration ##
#############################
# Hardware queues for systolic (atomic ISA extension in TCDM adapter)
xqueue ?= 0
# XQueue extension's queue size in each memory bank (in words)
xqueue_size ?= 0
################################
## Optional functionalities ##
################################
# Enable the XpulpIMG extension
xpulpimg ?= 1