File tree Expand file tree Collapse file tree 4 files changed +12
-2
lines changed Expand file tree Collapse file tree 4 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ on: [push, pull_request]
5
5
jobs :
6
6
lint :
7
7
runs-on : ubuntu-latest
8
+ strategy :
9
+ matrix :
10
+ width : [1, 4]
8
11
name : Linter
9
12
env :
10
13
REPO : serv
17
20
- run : sudo apt install verilator
18
21
- run : pip3 install fusesoc
19
22
- run : fusesoc library add $REPO $GITHUB_WORKSPACE/$REPO
20
- - run : fusesoc run --target=lint $VLNV
21
- - run : fusesoc run --target=lint servant
23
+ - run : fusesoc run --target=lint $VLNV --W=${{ matrix.width }}
24
+ - run : fusesoc run --target=lint servant --width=${{ matrix.width }}
22
25
- run : fusesoc run --target=lint serving
Original file line number Diff line number Diff line change @@ -12,3 +12,8 @@ lint_off -rule UNUSED -file "*/serv_top.v" -lines 70
12
12
//Some bufreg signals are not used in 1-bit mode
13
13
lint_off -rule UNUSED -file "*/serv_bufreg.v" -lines 10
14
14
lint_off -rule UNUSED -file "*/serv_bufreg.v" -lines 19-21
15
+
16
+ //Some signals not used in 4-bit mode
17
+ lint_off -rule UNUSED -file "*/serv_immdec.v" -lines 12
18
+ lint_off -rule UNUSED -file "*/serv_bufreg.v" -lines 9
19
+ lint_off -rule UNUSED -file "*/serv_ctrl.v" -lines 17
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ targets:
49
49
default_tool : verilator
50
50
description: Run static code checks (linting)
51
51
filesets : [core]
52
+ parameters: [W]
52
53
tools:
53
54
verilator:
54
55
mode : lint-only
Original file line number Diff line number Diff line change @@ -470,6 +470,7 @@ targets:
470
470
flow: lint
471
471
flow_options:
472
472
tool : verilator
473
+ parameters : [width]
473
474
toplevel : servant
474
475
475
476
lx9_microboard:
You can’t perform that action at this time.
0 commit comments