forked from andersondomingues/orca-software
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Configuration.mk
52 lines (42 loc) · 2.05 KB
/
Configuration.mk
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
# Apps to be compiled within kernel image. For multiple applications,
# use spacebar to separate names. Applications defined here will not
# be included in compilation unless you edit the file
# os/hellfireos/orca-core/src/orca-core.cpp,
# where you should simple of tasks in each of the cores.
ORCA_APPLICATIONS := mnist
#ORCA_APPLICATIONS := producer-consumer-pubsub producer-consumer app-spawner app-bloater deadline-monitor
# Software libraries (experimental)
#ORCA_LIBS := orca-pubsub orca-monitoring hf-printf
ORCA_LIBS := orca-monitoring
# part of the software, like the device drivers, might know plataform-specific details to parametrize the software.
# one example is the NoC driver and the orca-lib-client. Both of them require details about the Hw NoC, the size of the MpSoC, etc.
# ORCA_PLATFORM := (orca-mpsoc | single-core | single-core-nn)
ORCA_PLATFORM := single-core
# select among the supported OS
#ORCA_OS := (bare-metal/hf-riscv | hellfireos)
ORCA_OS := bare-metal/hf-riscv
# ==================================================================[ ORCA ]
# Number of cycles before calling the frequency analisys tool. Shorter
# values may compromise the performance of the simulation, while higher
# values may provide inaccurate measurements of the achieved frequency.
ORCA_EPOCH_LENGTH := 10000000
#ORCA_EPOCH_LENGTH := 50000000
# Number of pulses to simulate. Set to INF to simulate indefinitely.
ORCA_EPOCHS_TO_SIM := INF
#ORCA_EPOCHS_TO_SIM := 3
# ========================================================================
# GENERATION OF COMPILATION PARAMETERS STARTS HERE.
# DO NOT MODIFY BELOW THIS LINE!
# ========================================================================
#ORCA parameters
ifneq ($(ORCA_EPOCHS_TO_SIM), INF)
COMPLINE := $(COMPLINE) -DORCA_EPOCHS_TO_SIM=$(ORCA_EPOCHS_TO_SIM)
endif
COMPLINE := $(COMPLINE) -DORCA_EPOCH_LENGTH=$(ORCA_EPOCH_LENGTH)
ifeq ($(ORCA_ENABLE_MULTITHREADING), YES)
COMPLINE := $(COMPLINE) -DORCA_ENABLE_MULTITHREADING
endif
export COMPLINE
export ORCA_APPLICATIONS
export ORCA_OS
export ORCA_PLATFORM