forked from pulp-platform/common_cells
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
62 lines (57 loc) · 1.75 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
56
57
58
59
60
61
62
# Copyright 2023 ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
# Author: Nils Wistoff <[email protected]>
variables:
VSIM: questa-2022.3 vsim -64
VLIB: questa-2022.3 vlib
VMAP: questa-2022.3 vmap
VCOM: questa-2022.3 vcom -64
VLOG: questa-2022.3 vlog -64
VOPT: questa-2022.3 vopt -64
stages:
- test
.test-tpl:
stage: test
needs:
variables:
TOPLEVEL: ""
PARAM1: ""
PARAM2: ""
timeout: 10min
script:
- bender script vsim -t test > compile.tcl
- $VSIM -c -quiet -do 'source compile.tcl; quit'
- $VSIM -c $TOPLEVEL -voptargs="-timescale 1ns/100ps" -do "run -all" $PARAM1 $PARAM2
- (! grep -n "Error:" transcript)
tests:
extends: .test-tpl
parallel:
matrix:
- TOPLEVEL:
- addr_decode_tb
- cb_filter_tb
# - cdc_fifo_clearable_tb
- clk_int_div_tb
- clk_int_div_static_tb
- clk_mux_glitch_free_tb
- id_queue_tb
- isochronous_crossing_tb
- passthrough_stream_fifo_tb
- popcount_tb
- rr_arb_tree_tb
- stream_omega_net_tb
- stream_register_tb
- stream_to_mem_tb
- stream_xbar_tb
- sub_per_hash_tb
- lossy_valid_to_stream_tb
- TOPLEVEL: graycode_tb
PARAM1: [-GN=1, -GN=2, -GN=3, -GN=4, -GN=8, -GN=16]
- TOPLEVEL: fifo_tb
PARAM1: [-GDEPTH=1, -GDEPTH=13, -GDEPTH=32 -GFALL_THROUGH=1]
# - TOPLEVEL: [cdc_2phase_tb, cdc_2phase_clearable_tb]
# PARAM1: -GUNTIL=1000000
# - TOPLEVEL: cdc_fifo_tb
# PARAM1: [-GDEPTH=1, -GDEPTH=2, -GDEPTH=3, -GDEPTH=4, -GDEPTH=5]
# PARAM2: [-GGRAY=0, -GGRAY=1]