-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile
62 lines (46 loc) · 1.07 KB
/
Makefile
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
default: simulate
export VERILATOR ?= verilator
export VERIBLE ?= verible
export PYTHON ?= python3
export SERIAL ?= /dev/ttyUSB0
export BASEDIR ?= $(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
export BENCHMARK ?= benchmark
export QUARTUS ?= quartus
export VIVADO ?= vivado
export JTAGCONFIG ?= jtagconfig
export XVLOG ?= xvlog
export XELAB ?= xelab
export XSIM ?= xsim
export VLIB ?= vlib
export VLOG ?= vlog
export VSIM ?= vsim
export SYNTHESIS ?= 0# "1" on, "0" off
export PROGRAM ?= coremark
export SRAM_SIZE ?= 0x80000# Altera -> 0x80000, Xilinx -> 0x40000
export RISCV ?= /opt/rv32imfdcb
export ARCH ?= rv32imfdc_zba_zbb_zbc_zbs_zicsr_zifencei
export ABI ?= ilp32d
export MAXTIME ?= 10000000
export DUMP ?= 0# "1" on, "0" off
compile:
benchmark/riscv-tests.sh
benchmark/coremark.sh
benchmark/whetstone.sh
benchmark/free-rtos.sh
benchmark/isa.sh
benchmark/rom.sh
parse:
check/run.sh
vsim:
sim/vsim/run.sh
xsim:
sim/xsim/run.sh
quartus:
fpga/quartus/run.sh
vivado:
fpga/vivado/run.sh
program:
serial/transfer.sh
tool:
tools/riscv.sh
tools/verible.sh