-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.gitlab-ci.yml
55 lines (49 loc) · 1.37 KB
/
.gitlab-ci.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
# Copyright 2023 ETH Zurich and University of Bologna.
# Solderpad Hardware License, Version 0.51, see LICENSE for details.
# SPDX-License-Identifier: SHL-0.51
#
# Luca Valente <[email protected]>
before_script:
- export PATH=/home/ci-pulp/:$PATH
- cp -r /home/ci-pulp/s27ks0641/ ./models
stages:
- compile
- simulate-simple
- simulate-random
vsim-compile:
stage: compile
script:
- make clean
- bender update
- make scripts/compile.tcl
- make build
- (! grep -n "Error:" transcript)
- (! grep -n "Fatal:" transcript)
artifacts:
expire_in: 1 week
paths:
- work
vsim-simple:
stage: simulate-simple
needs:
- vsim-compile
script:
- vsim -c hyperbus_tb -t 1ps -voptargs=+acc -classdebug -logfile hyperbus.vsim.log -do "run -all"
- (! grep -n "Error:" hyperbus.vsim.log)
- (! grep -n "Fatal:" hyperbus.vsim.log)
- (! grep -n "Unexpected" hyperbus.vsim.log)
artifacts:
paths:
- hyperbus.vsim.log
vsim-random:
stage: simulate-random
needs:
- vsim-compile
script:
- vsim -c axi_hyper_tb -t 1ps -voptargs=+acc -classdebug -logfile hyperbus-rnd.vsim.log -do "run -all"
- (! grep -n "Error:" hyperbus-rnd.vsim.log)
- (! grep -n "Fatal:" hyperbus-rnd.vsim.log)
- (! grep -n "Unexpected" hyperbus-rnd.vsim.log)
artifacts:
paths:
- hyperbus-rnd.vsim.log