mirror of
https://github.com/lowRISC/ibex.git
synced 2025-06-29 01:33:09 -04:00
Simplify lint targets
The only core which needs lint waivers is ibex_core.core; it will then inherit those waivers to other cores, such as ibex_core_tracing.core, and higher-up users of these cores (such as the simple system). Also remove the Verible lint configuration, which happens to be the default by now. This fixes #736 by making it unnecessary.
This commit is contained in:
parent
c436ea1b1b
commit
3bc105492f
2 changed files with 3 additions and 21 deletions
|
@ -154,10 +154,6 @@ targets:
|
||||||
# RAM primitives wider than 64bit (required for ECC) fail to build in
|
# RAM primitives wider than 64bit (required for ECC) fail to build in
|
||||||
# Verilator without increasing the unroll count (see Verilator#1266)
|
# Verilator without increasing the unroll count (see Verilator#1266)
|
||||||
- "--unroll-count 72"
|
- "--unroll-count 72"
|
||||||
veriblelint:
|
|
||||||
ruleset: default
|
|
||||||
rules:
|
|
||||||
- "-parameter-name-style"
|
|
||||||
format:
|
format:
|
||||||
filesets:
|
filesets:
|
||||||
- files_rtl
|
- files_rtl
|
||||||
|
|
|
@ -13,11 +13,6 @@ filesets:
|
||||||
- rtl/ibex_core_tracing.sv
|
- rtl/ibex_core_tracing.sv
|
||||||
file_type: systemVerilogSource
|
file_type: systemVerilogSource
|
||||||
|
|
||||||
|
|
||||||
files_lint_verilator:
|
|
||||||
files:
|
|
||||||
- lint/verilator_waiver.vlt: {file_type: vlt}
|
|
||||||
|
|
||||||
parameters:
|
parameters:
|
||||||
# The tracer uses the RISC-V Formal Interface (RVFI) to collect trace signals.
|
# The tracer uses the RISC-V Formal Interface (RVFI) to collect trace signals.
|
||||||
RVFI:
|
RVFI:
|
||||||
|
@ -100,19 +95,15 @@ parameters:
|
||||||
description: "Number of PMP regions"
|
description: "Number of PMP regions"
|
||||||
|
|
||||||
targets:
|
targets:
|
||||||
default:
|
default: &default_target
|
||||||
filesets:
|
filesets:
|
||||||
- files_rtl
|
- files_rtl
|
||||||
parameters:
|
parameters:
|
||||||
- RVFI=true
|
- RVFI=true
|
||||||
|
toplevel: ibex_core_tracing
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
filesets:
|
<<: *default_target
|
||||||
# Note on Verilator waivers:
|
|
||||||
# You *must* include the waiver file first, otherwise only global waivers
|
|
||||||
# are applied, but not file-specific waivers.
|
|
||||||
- tool_verilator ? (files_lint_verilator)
|
|
||||||
- files_rtl
|
|
||||||
parameters:
|
parameters:
|
||||||
- RVFI=true
|
- RVFI=true
|
||||||
- SYNTHESIS=true
|
- SYNTHESIS=true
|
||||||
|
@ -127,7 +118,6 @@ targets:
|
||||||
- PMPGranularity
|
- PMPGranularity
|
||||||
- PMPNumRegions
|
- PMPNumRegions
|
||||||
default_tool: verilator
|
default_tool: verilator
|
||||||
toplevel: ibex_core_tracing
|
|
||||||
tools:
|
tools:
|
||||||
verilator:
|
verilator:
|
||||||
mode: lint-only
|
mode: lint-only
|
||||||
|
@ -136,10 +126,6 @@ targets:
|
||||||
# RAM primitives wider than 64bit (required for ECC) fail to build in
|
# RAM primitives wider than 64bit (required for ECC) fail to build in
|
||||||
# Verilator without increasing the unroll count (see Verilator#1266)
|
# Verilator without increasing the unroll count (see Verilator#1266)
|
||||||
- "--unroll-count 72"
|
- "--unroll-count 72"
|
||||||
veriblelint:
|
|
||||||
ruleset: default
|
|
||||||
rules:
|
|
||||||
- "-parameter-name-style"
|
|
||||||
format:
|
format:
|
||||||
filesets:
|
filesets:
|
||||||
- files_rtl
|
- files_rtl
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue