mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-24 22:07:43 -04:00
Lint: Enable lint for ibex_core_tracing
Add fusesoc description for core with tracing enabled, implicitly linting the ibex_tracer as well. Run with $ fusesoc --cores-root=. run --target=lint lowrisc:ibex:ibex_core_tracing
This commit is contained in:
parent
87c29694f0
commit
1377e42a17
1 changed files with 41 additions and 0 deletions
|
@ -13,6 +13,14 @@ filesets:
|
||||||
- rtl/ibex_core_tracing.sv
|
- rtl/ibex_core_tracing.sv
|
||||||
file_type: systemVerilogSource
|
file_type: systemVerilogSource
|
||||||
|
|
||||||
|
files_lint:
|
||||||
|
files:
|
||||||
|
- dv/uvm/tb/prim_clock_gating.sv: {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:
|
||||||
|
@ -20,9 +28,42 @@ parameters:
|
||||||
paramtype: vlogdefine
|
paramtype: vlogdefine
|
||||||
default: true
|
default: true
|
||||||
|
|
||||||
|
SYNTHESIS:
|
||||||
|
datatype: bool
|
||||||
|
paramtype: vlogdefine
|
||||||
|
|
||||||
|
RV32E:
|
||||||
|
datatype: bool
|
||||||
|
paramtype: vlogparam
|
||||||
|
|
||||||
|
RV32M:
|
||||||
|
datatype: bool
|
||||||
|
paramtype: vlogparam
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
targets:
|
targets:
|
||||||
default:
|
default:
|
||||||
filesets:
|
filesets:
|
||||||
- files_rtl
|
- files_rtl
|
||||||
parameters:
|
parameters:
|
||||||
- RVFI=true
|
- RVFI=true
|
||||||
|
|
||||||
|
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
|
||||||
|
- files_lint
|
||||||
|
parameters:
|
||||||
|
- RVFI=true
|
||||||
|
- SYNTHESIS=true
|
||||||
|
default_tool: verilator
|
||||||
|
toplevel: ibex_core_tracing
|
||||||
|
tools:
|
||||||
|
verilator:
|
||||||
|
mode: lint-only
|
||||||
|
verilator_options:
|
||||||
|
- "-Wall"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue