Skip to content

Commit

Permalink
[lint] Add concrete implementation for lint targets
Browse files Browse the repository at this point in the history
Make many lint targets depend on the generic prims.

Signed-off-by: Alexander Williams <[email protected]>
  • Loading branch information
a-will committed Dec 18, 2024
1 parent e4cc586 commit d7f7f0b
Show file tree
Hide file tree
Showing 85 changed files with 503 additions and 4 deletions.
6 changes: 6 additions & 0 deletions hw/ip/adc_ctrl/adc_ctrl.core
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ filesets:
- lowrisc:lint:common
- lowrisc:lint:comportable

files_lint:
depend:
- lowrisc:prim_generic:all

parameters:
SYNTHESIS:
datatype: bool
Expand All @@ -59,6 +63,8 @@ targets:
lint:
<<: *default_target
default_tool: verilator
filesets_append:
- files_lint
parameters:
- SYNTHESIS=true
tools:
Expand Down
6 changes: 6 additions & 0 deletions hw/ip/aes/aes.core
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ filesets:
- lowrisc:lint:common
- lowrisc:lint:comportable

files_lint:
depend:
- lowrisc:prim_generic:all

parameters:
SYNTHESIS:
datatype: bool
Expand All @@ -97,6 +101,8 @@ targets:
lint:
<<: *default_target
default_tool: verilator
filesets_append:
- files_lint
parameters:
- SYNTHESIS=true
tools:
Expand Down
6 changes: 6 additions & 0 deletions hw/ip/aes/aes_wrap.core
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ filesets:
- lowrisc:lint:common
- lowrisc:lint:comportable

files_lint:
depend:
- lowrisc:prim_generic:all

parameters:
SYNTHESIS:
datatype: bool
Expand All @@ -54,6 +58,8 @@ targets:
lint:
<<: *default_target
default_tool: verilator
filesets_append:
- files_lint
parameters:
- SYNTHESIS=true
tools:
Expand Down
6 changes: 6 additions & 0 deletions hw/ip/aon_timer/aon_timer.core
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ filesets:
- lowrisc:lint:common
- lowrisc:lint:comportable

files_lint:
depend:
- lowrisc:prim_generic:all

parameters:
SYNTHESIS:
datatype: bool
Expand All @@ -59,6 +63,8 @@ targets:
lint:
<<: *default_target
default_tool: verilator
filesets_append:
- files_lint
parameters:
- SYNTHESIS=true
tools:
Expand Down
6 changes: 6 additions & 0 deletions hw/ip/ascon/ascon.core
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ filesets:
- lowrisc:lint:common
- lowrisc:lint:comportable

files_lint:
depend:
- lowrisc:prim_generic:all

parameters:
SYNTHESIS:
datatype: bool
Expand All @@ -64,6 +68,8 @@ targets:
lint:
<<: *default_target
default_tool: verilator
filesets_append:
- files_lint
parameters:
- SYNTHESIS=true
tools:
Expand Down
5 changes: 5 additions & 0 deletions hw/ip/csrng/csrng.core
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ filesets:
- lint/csrng.waiver
file_type: waiver

files_lint:
depend:
- lowrisc:prim_generic:all

parameters:
SYNTHESIS:
Expand All @@ -68,6 +71,8 @@ targets:
lint:
<<: *default_target
default_tool: verilator
filesets_append:
- files_lint
parameters:
- SYNTHESIS=true
tools:
Expand Down
6 changes: 6 additions & 0 deletions hw/ip/dma/dma.core
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ filesets:
- lowrisc:lint:common
- lowrisc:lint:comportable

files_lint:
depend:
- lowrisc:prim_generic:all

parameters:
SYNTHESIS:
datatype: bool
Expand All @@ -59,6 +63,8 @@ targets:
lint:
<<: *default_target
default_tool: verilator
filesets_append:
- files_lint
parameters:
- SYNTHESIS=true
tools:
Expand Down
6 changes: 6 additions & 0 deletions hw/ip/edn/edn.core
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ filesets:
- lint/edn.waiver
file_type: waiver

files_lint:
depend:
- lowrisc:prim_generic:all


parameters:
SYNTHESIS:
Expand All @@ -59,6 +63,8 @@ targets:
lint:
<<: *default_target
default_tool: verilator
filesets_append:
- files_lint
parameters:
- SYNTHESIS=true
tools:
Expand Down
6 changes: 6 additions & 0 deletions hw/ip/entropy_src/entropy_src.core
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ filesets:
- lint/entropy_src.waiver
file_type: waiver

files_lint:
depend:
- lowrisc:prim_generic:all


parameters:
SYNTHESIS:
Expand All @@ -78,6 +82,8 @@ targets:
lint:
<<: *default_target
default_tool: verilator
filesets_append:
- files_lint
parameters:
- SYNTHESIS=true
tools:
Expand Down
6 changes: 6 additions & 0 deletions hw/ip/gpio/gpio.core
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ filesets:
- lowrisc:lint:common
- lowrisc:lint:comportable

files_lint:
depend:
- lowrisc:prim_generic:all

parameters:
SYNTHESIS:
datatype: bool
Expand All @@ -58,6 +62,8 @@ targets:
lint:
<<: *default_target
default_tool: verilator
filesets_append:
- files_lint
parameters:
- SYNTHESIS=true
tools:
Expand Down
6 changes: 6 additions & 0 deletions hw/ip/hmac/hmac.core
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ filesets:
- lowrisc:lint:common
- lowrisc:lint:comportable

files_lint:
depend:
- lowrisc:prim_generic:all

parameters:
SYNTHESIS:
datatype: bool
Expand All @@ -57,6 +61,8 @@ targets:
lint:
<<: *default_target
default_tool: verilator
filesets_append:
- files_lint
parameters:
- SYNTHESIS=true
tools:
Expand Down
6 changes: 6 additions & 0 deletions hw/ip/i2c/i2c.core
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ filesets:
- lowrisc:lint:common
- lowrisc:lint:comportable

files_lint:
depend:
- lowrisc:prim_generic:all

parameters:
SYNTHESIS:
datatype: bool
Expand All @@ -67,6 +71,8 @@ targets:
lint:
<<: *default_target
default_tool: verilator
filesets_append:
- files_lint
parameters:
- SYNTHESIS=true
tools:
Expand Down
6 changes: 6 additions & 0 deletions hw/ip/keymgr/keymgr.core
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ filesets:
- lint/keymgr.waiver
file_type: waiver

files_lint:
depend:
- lowrisc:prim_generic:all

parameters:
SYNTHESIS:
datatype: bool
Expand All @@ -74,6 +78,8 @@ targets:
lint:
<<: *default_target
default_tool: verilator
filesets_append:
- files_lint
parameters:
- SYNTHESIS=true
tools:
Expand Down
6 changes: 6 additions & 0 deletions hw/ip/keymgr_dpe/keymgr_dpe.core
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ filesets:
- lint/keymgr_dpe.waiver
file_type: waiver

files_lint:
depend:
- lowrisc:prim_generic:all

parameters:
SYNTHESIS:
datatype: bool
Expand All @@ -66,6 +70,8 @@ targets:
lint:
<<: *default_target
default_tool: verilator
filesets_append:
- files_lint
parameters:
- SYNTHESIS=true
tools:
Expand Down
6 changes: 6 additions & 0 deletions hw/ip/kmac/kmac.core
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ filesets:
- lowrisc:lint:common
- lowrisc:lint:comportable

files_lint:
depend:
- lowrisc:prim_generic:all

parameters:
SYNTHESIS:
datatype: bool
Expand All @@ -83,6 +87,8 @@ targets:
lint:
<<: *default_target
default_tool: verilator
filesets_append:
- files_lint
parameters:
- SYNTHESIS=true
tools:
Expand Down
6 changes: 6 additions & 0 deletions hw/ip/kmac/kmac_reduced.core
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ filesets:
- lowrisc:lint:common
- lowrisc:lint:comportable

files_lint:
depend:
- lowrisc:prim_generic:all

parameters:
SYNTHESIS:
datatype: bool
Expand All @@ -59,6 +63,8 @@ targets:
lint:
<<: *default_target
default_tool: verilator
filesets_append:
- files_lint
parameters:
- SYNTHESIS=true
tools:
Expand Down
6 changes: 6 additions & 0 deletions hw/ip/kmac/sha3.core
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ filesets:
- lowrisc:lint:common
- lowrisc:lint:comportable

files_lint:
depend:
- lowrisc:prim_generic:all

parameters:
SYNTHESIS:
datatype: bool
Expand All @@ -65,6 +69,8 @@ targets:
lint:
<<: *default_target
default_tool: verilator
filesets_append:
- files_lint
parameters:
- SYNTHESIS=true
tools:
Expand Down
6 changes: 6 additions & 0 deletions hw/ip/lc_ctrl/lc_ctrl.core
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ filesets:
- lint/lc_ctrl.vbl
file_type: veribleLintWaiver

files_lint:
depend:
- lowrisc:prim_generic:all

parameters:
SYNTHESIS:
datatype: bool
Expand All @@ -78,6 +82,8 @@ targets:
lint:
<<: *default_target
default_tool: verilator
filesets_append:
- files_lint
parameters:
- SYNTHESIS=true
tools:
Expand Down
6 changes: 6 additions & 0 deletions hw/ip/lc_ctrl/lc_ctrl_pkg.core
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ filesets:
- lint/lc_ctrl_pkg.vbl
file_type: veribleLintWaiver

files_lint:
depend:
- lowrisc:prim_generic:all

parameters:
SYNTHESIS:
datatype: bool
Expand All @@ -57,6 +61,8 @@ targets:
lint:
<<: *default_target
default_tool: verilator
filesets_append:
- files_lint
parameters:
- SYNTHESIS=true
tools:
Expand Down
6 changes: 6 additions & 0 deletions hw/ip/mbx/mbx.core
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ filesets:
- lowrisc:lint:common
- lowrisc:lint:comportable

files_lint:
depend:
- lowrisc:prim_generic:all

parameters:
SYNTHESIS:
datatype: bool
Expand All @@ -64,6 +68,8 @@ targets:
lint:
<<: *default_target
default_tool: verilator
filesets_append:
- files_lint
parameters:
- SYNTHESIS=true
tools:
Expand Down
Loading

0 comments on commit d7f7f0b

Please sign in to comment.