-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.travis.yml
95 lines (94 loc) · 2.97 KB
/
.travis.yml
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
os : linux
language: c
dist : bionic
env :
global:
- TOOLS_DIR: ~/tools
- VERILATOR_ROOT: ~/tools/verilator
- YOSYS_ROOT: ~/tools/yosys
- RISCV: ~/tools/riscv64-unknown-elf
before_install :
- sudo apt-get --yes install flex bison libfl2 libfl-dev perl build-essential clang bison flex libreadline-dev gawk tcl-dev libffi-dev graphviz xdot pkg-config python3 libboost-system-dev libboost-python-dev libboost-filesystem-dev zlib1g-dev
jobs:
include:
- name: "Confidence Checks - Core"
script:
- source ./bin/install-verilator.sh
- source ./bin/install-toolchain.sh
- source ./bin/conf.sh
- make -B build-core_top
- make run-unit-core-example
- make run-unit-core-branch-tgt-trap
- make run-unit-core-imem-access-trap
- make run-unit-core-mul
- make run-unit-core-div
- name: "Confidence Checks - CCX"
script:
- source ./bin/install-verilator.sh
- source ./bin/install-toolchain.sh
- source ./bin/conf.sh
- make -B build-ccx_top
- make -B build-unit-tests-ccx
- make -B run-unit-tests-ccx
- name: "Arch Tests - I"
script:
- source ./bin/install-verilator.sh
- source ./bin/install-toolchain.sh
- source ./bin/conf.sh
- make -B build-ccx_top
- make arch-test-verify-croyde-I
- name: "Arch Tests - M"
script:
- source ./bin/install-verilator.sh
- source ./bin/install-toolchain.sh
- source ./bin/conf.sh
- make -B build-ccx_top
- make arch-test-verify-croyde-M
- name: "Arch Tests - C"
script:
- source ./bin/install-verilator.sh
- source ./bin/install-toolchain.sh
- source ./bin/conf.sh
- make -B build-ccx_top
- make arch-test-verify-croyde-C
- name: "Designer Assertions"
script:
- source ./bin/install-yosys.sh
- source ./bin/install-symbiyosys.sh
- source ./bin/install-boolector.sh
- source ./bin/conf.sh
- make -j $(nproc) da-prove-all
- name: "riscv-formal"
script:
- source ./bin/install-yosys.sh
- source ./bin/install-symbiyosys.sh
- source ./bin/install-boolector.sh
- source ./bin/conf.sh
- make riscv-formal-clean riscv-formal-prepare
- export PATH=$YOSYS_ROOT:$PATH
- make -C work/core/riscv-formal insn_add_ch0
- make -C work/core/riscv-formal insn_beq_ch0
- make -C work/core/riscv-formal insn_ld_ch0
- make -C work/core/riscv-formal insn_sd_ch0
- name: "Synthesis - Core"
script:
- source ./bin/install-yosys.sh
- source ./bin/conf.sh
- make synthesise-cmos
- name: "Benchmarks - Embench IoT"
script:
- source ./bin/install-verilator.sh
- source ./bin/install-toolchain.sh
- source ./bin/conf.sh
- make build-ccx_top
- make build-embench-binaries
- make build-embench-targets
- make -j 2 run-embench-targets
- grep -rn ">> Finished after .* clock cycles" work/embench/src/ | sort
cache :
directories:
- ~/tools/verilator
- ~/tools/yosys
- ~/tools/symbiyosys
- ~/tools/boolector
- ~/tools/riscv64-unknown-elf