Eunchan Kim | f5cc9d1 | 2020-10-28 14:09:22 -0700 | [diff] [blame] | 1 | CAPI=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 |
| 5 | name: "lowrisc:ip:sha3:0.1" |
| 6 | description: "SHA3 core" |
| 7 | filesets: |
| 8 | files_rtl: |
| 9 | depend: |
| 10 | - lowrisc:prim:all |
| 11 | - lowrisc:prim:prim_dom_and_2share |
| 12 | - lowrisc:prim:assert |
Eunchan Kim | 06f5319 | 2022-07-26 14:57:17 -0700 | [diff] [blame] | 13 | - lowrisc:prim:mubi |
Eunchan Kim | f5cc9d1 | 2020-10-28 14:09:22 -0700 | [diff] [blame] | 14 | - lowrisc:ip:tlul |
| 15 | files: |
Eunchan Kim | 4097909 | 2020-11-02 14:39:38 -0800 | [diff] [blame] | 16 | - rtl/sha3_pkg.sv |
Eunchan Kim | f5cc9d1 | 2020-10-28 14:09:22 -0700 | [diff] [blame] | 17 | - rtl/keccak_round.sv |
| 18 | - rtl/keccak_2share.sv |
| 19 | - rtl/sha3pad.sv |
| 20 | - rtl/sha3.sv |
| 21 | file_type: systemVerilogSource |
| 22 | |
Pirmin Vogel | 6abe0ff | 2021-04-06 20:32:10 +0200 | [diff] [blame] | 23 | 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 Kim | f5cc9d1 | 2020-10-28 14:09:22 -0700 | [diff] [blame] | 44 | |
| 45 | parameters: |
| 46 | SYNTHESIS: |
| 47 | datatype: bool |
| 48 | paramtype: vlogdefine |
| 49 | |
| 50 | |
| 51 | targets: |
| 52 | default: &default_target |
| 53 | filesets: |
Pirmin Vogel | 6abe0ff | 2021-04-06 20:32:10 +0200 | [diff] [blame] | 54 | - tool_verilator ? (files_verilator_waiver) |
| 55 | - tool_ascentlint ? (files_ascentlint_waiver) |
| 56 | - tool_veriblelint ? (files_veriblelint_waiver) |
Eunchan Kim | f5cc9d1 | 2020-10-28 14:09:22 -0700 | [diff] [blame] | 57 | - files_rtl |
| 58 | toplevel: sha3 |
| 59 | |
| 60 | formal: |
| 61 | filesets: |
| 62 | - files_rtl |
| 63 | toplevel: sha3 |
| 64 | |
Pirmin Vogel | 6abe0ff | 2021-04-06 20:32:10 +0200 | [diff] [blame] | 65 | 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" |