forked from pretis/flexpret
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.mk
45 lines (39 loc) · 1.4 KB
/
config.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
# Default configuration of core, programs, and target.
#
# Michael Zimmer ([email protected])
# Default FlexPRET core configuration.
# THREADS=[1-8]: Specify number of hardware threads
# FLEXPRET=[true/false]: Use flexible thread scheduling
# ISPM_KBYTES=[]: Size of instruction scratchpad memory (32 bit words)
# DSPM_KBYTES=[]: Size of instruction scratchpad memory (32 bit words)
# STATS=[true/false]: Count instructions and cycles for each thread
# EXCEPTIONS=[true/false]: Allow exception to interrupt execution
# GET_TIME=[true/false]: Enable instruction to get current time in nanoseconds
# DELAY_UNTIL=[true/false]: Enable instruction to stall until future time
# EXCEPTION_ON_EXPIRE=[true/false]: Enable instruction to interrupt execution at certain time
THREADS ?= 8
FLEX ?= true
ISPM_KBYTES ?= 128
DSPM_KBYTES ?= 128
MUL_STAGES ?= 2
STATS ?= true
EXCEPTIONS ?= true
GET_TIME ?= true
DELAY_UNTIL ?= true
EXCEPTION_ON_EXPIRE ?= true
#EXCEPTIONS ?= false
#GET_TIME ?= false
#DELAY_UNTIL ?= false
#EXCEPTION_ON_EXPIRE ?= false
# Target
# TARGET=[emulator/fpga]: Select target
# DEBUG=[true/false]: Generate waveform dump.
TARGET ?= emulator
DEBUG ?= false
# Default program compilation
# PROG_DIR=[path]: Directory of programs in tests/ to compile and/or run
# PROG_CONFIG=[]: Program configuration, start with target name
#PROG_DIR ?= complex-mc
#PROG_DIR ?= simple-mc
PROG_DIR ?= asm-sodor
PROG_CONFIG ?= $(TARGET)