mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-22 12:57:13 -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
|
||||
# Verilator without increasing the unroll count (see Verilator#1266)
|
||||
- "--unroll-count 72"
|
||||
veriblelint:
|
||||
ruleset: default
|
||||
rules:
|
||||
- "-parameter-name-style"
|
||||
format:
|
||||
filesets:
|
||||
- files_rtl
|
||||
|
|
|
@ -13,11 +13,6 @@ filesets:
|
|||
- rtl/ibex_core_tracing.sv
|
||||
file_type: systemVerilogSource
|
||||
|
||||
|
||||
files_lint_verilator:
|
||||
files:
|
||||
- lint/verilator_waiver.vlt: {file_type: vlt}
|
||||
|
||||
parameters:
|
||||
# The tracer uses the RISC-V Formal Interface (RVFI) to collect trace signals.
|
||||
RVFI:
|
||||
|
@ -100,19 +95,15 @@ parameters:
|
|||
description: "Number of PMP regions"
|
||||
|
||||
targets:
|
||||
default:
|
||||
default: &default_target
|
||||
filesets:
|
||||
- files_rtl
|
||||
parameters:
|
||||
- RVFI=true
|
||||
toplevel: ibex_core_tracing
|
||||
|
||||
lint:
|
||||
filesets:
|
||||
# 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
|
||||
<<: *default_target
|
||||
parameters:
|
||||
- RVFI=true
|
||||
- SYNTHESIS=true
|
||||
|
@ -127,7 +118,6 @@ targets:
|
|||
- PMPGranularity
|
||||
- PMPNumRegions
|
||||
default_tool: verilator
|
||||
toplevel: ibex_core_tracing
|
||||
tools:
|
||||
verilator:
|
||||
mode: lint-only
|
||||
|
@ -136,10 +126,6 @@ targets:
|
|||
# RAM primitives wider than 64bit (required for ECC) fail to build in
|
||||
# Verilator without increasing the unroll count (see Verilator#1266)
|
||||
- "--unroll-count 72"
|
||||
veriblelint:
|
||||
ruleset: default
|
||||
rules:
|
||||
- "-parameter-name-style"
|
||||
format:
|
||||
filesets:
|
||||
- files_rtl
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue