| CAPI=2: |
| # Copyright lowRISC contributors. |
| # Licensed under the Apache License, Version 2.0, see LICENSE for details. |
| # SPDX-License-Identifier: Apache-2.0 |
| name: "lowrisc:ip:keymgr:0.1" |
| description: "Key Manager" |
| |
| filesets: |
| files_rtl: |
| depend: |
| - lowrisc:prim:all |
| - lowrisc:prim:count |
| - lowrisc:prim:edn_req |
| - lowrisc:prim:lc_sync |
| - lowrisc:prim:lfsr |
| - lowrisc:prim:msb_extend |
| - lowrisc:prim:mubi |
| - lowrisc:prim:sec_anchor |
| - lowrisc:prim:secded |
| - lowrisc:prim:sparse_fsm |
| - lowrisc:ip:flash_ctrl_pkg |
| - lowrisc:ip:keymgr_pkg |
| - lowrisc:ip:kmac_pkg |
| - lowrisc:ip:otp_ctrl_pkg |
| - lowrisc:ip:rom_ctrl_pkg |
| - lowrisc:ip:tlul |
| files: |
| - rtl/keymgr.sv |
| - rtl/keymgr_ctrl.sv |
| - rtl/keymgr_cfg_en.sv |
| - rtl/keymgr_data_en_state.sv |
| - rtl/keymgr_err.sv |
| - rtl/keymgr_input_checks.sv |
| - rtl/keymgr_kmac_if.sv |
| - rtl/keymgr_op_state_ctrl.sv |
| - rtl/keymgr_reg_top.sv |
| - rtl/keymgr_reseed_ctrl.sv |
| - rtl/keymgr_sideload_key.sv |
| - rtl/keymgr_sideload_key_ctrl.sv |
| file_type: systemVerilogSource |
| |
| files_verilator_waiver: |
| depend: |
| # common waivers |
| - lowrisc:lint:common |
| - lowrisc:lint:comportable |
| files: |
| - lint/keymgr.vlt |
| file_type: vlt |
| |
| files_ascentlint_waiver: |
| depend: |
| # common waivers |
| - lowrisc:lint:common |
| - lowrisc:lint:comportable |
| files: |
| - lint/keymgr.waiver |
| file_type: waiver |
| |
| parameters: |
| SYNTHESIS: |
| datatype: bool |
| paramtype: vlogdefine |
| |
| |
| targets: |
| default: &default_target |
| filesets: |
| - tool_verilator ? (files_verilator_waiver) |
| - tool_ascentlint ? (files_ascentlint_waiver) |
| - files_rtl |
| toplevel: keymgr |
| |
| lint: |
| <<: *default_target |
| default_tool: verilator |
| parameters: |
| - SYNTHESIS=true |
| tools: |
| verilator: |
| mode: lint-only |
| verilator_options: |
| - "-Wall" |
| |
| syn: |
| <<: *default_target |
| # TODO: set default to DC once |
| # this option is available |
| # olofk/edalize#89 |
| default_tool: icarus |
| parameters: |
| - SYNTHESIS=true |
| |
| formal: |
| filesets: |
| - files_rtl |
| toplevel: keymgr_ctrl |