blob: 9eb0bf08bc3ea210880ac6f813bd891c3d105ac4 [file] [log] [blame]
Eunchan Kimf5cc9d12020-10-28 14:09:22 -07001CAPI=2:
2# Copyright lowRISC contributors.
3# Licensed under the Apache License, Version 2.0, see LICENSE for details.
4# SPDX-License-Identifier: Apache-2.0
5name: "lowrisc:ip:sha3:0.1"
6description: "SHA3 core"
7filesets:
8 files_rtl:
9 depend:
10 - lowrisc:prim:all
11 - lowrisc:prim:prim_dom_and_2share
12 - lowrisc:prim:assert
Eunchan Kim06f53192022-07-26 14:57:17 -070013 - lowrisc:prim:mubi
Eunchan Kimf5cc9d12020-10-28 14:09:22 -070014 - lowrisc:ip:tlul
15 files:
Eunchan Kim40979092020-11-02 14:39:38 -080016 - rtl/sha3_pkg.sv
Eunchan Kimf5cc9d12020-10-28 14:09:22 -070017 - rtl/keccak_round.sv
18 - rtl/keccak_2share.sv
19 - rtl/sha3pad.sv
20 - rtl/sha3.sv
21 file_type: systemVerilogSource
22
Pirmin Vogel6abe0ff2021-04-06 20:32:10 +020023 files_verilator_waiver:
24 depend:
25 # common waivers
26 - lowrisc:lint:common
27 files:
28 - lint/sha3.vlt
29 file_type: vlt
30
31 files_ascentlint_waiver:
32 depend:
33 # common waivers
34 - lowrisc:lint:common
35 files:
36 - lint/sha3.waiver
37 file_type: waiver
38
39 files_veriblelint_waiver:
40 depend:
41 # common waivers
42 - lowrisc:lint:common
43 - lowrisc:lint:comportable
Eunchan Kimf5cc9d12020-10-28 14:09:22 -070044
45parameters:
46 SYNTHESIS:
47 datatype: bool
48 paramtype: vlogdefine
49
50
51targets:
52 default: &default_target
53 filesets:
Pirmin Vogel6abe0ff2021-04-06 20:32:10 +020054 - tool_verilator ? (files_verilator_waiver)
55 - tool_ascentlint ? (files_ascentlint_waiver)
56 - tool_veriblelint ? (files_veriblelint_waiver)
Eunchan Kimf5cc9d12020-10-28 14:09:22 -070057 - files_rtl
58 toplevel: sha3
59
60 formal:
61 filesets:
62 - files_rtl
63 toplevel: sha3
64
Pirmin Vogel6abe0ff2021-04-06 20:32:10 +020065 lint:
66 <<: *default_target
67 default_tool: verilator
68 parameters:
69 - SYNTHESIS=true
70 tools:
71 verilator:
72 mode: lint-only
73 verilator_options:
74 - "-Wall"