| 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:csrng:0.1" |
| description: "csrng" |
| filesets: |
| files_rtl: |
| depend: |
| - lowrisc:constants:top_pkg |
| - lowrisc:prim:all |
| - lowrisc:prim:count |
| - lowrisc:prim:edge_detector |
| - lowrisc:prim:assert |
| - lowrisc:prim:lc_sync |
| - lowrisc:prim:sparse_fsm |
| - lowrisc:ip:tlul |
| - lowrisc:ip:aes |
| - lowrisc:ip:otp_ctrl_pkg |
| - lowrisc:ip:csrng_pkg |
| files: |
| - rtl/csrng_reg_top.sv |
| - rtl/csrng_main_sm.sv |
| - rtl/csrng_state_db.sv |
| - rtl/csrng_cmd_stage.sv |
| - rtl/csrng_block_encrypt.sv |
| - rtl/csrng_ctr_drbg_cmd.sv |
| - rtl/csrng_ctr_drbg_upd.sv |
| - rtl/csrng_ctr_drbg_gen.sv |
| - rtl/csrng_core.sv |
| - rtl/csrng.sv |
| file_type: systemVerilogSource |
| |
| files_verilator_waiver: |
| depend: |
| # common waivers |
| - lowrisc:lint:common |
| - lowrisc:lint:comportable |
| files: |
| - lint/csrng.vlt |
| file_type: vlt |
| |
| files_ascentlint_waiver: |
| depend: |
| # common waivers |
| - lowrisc:lint:common |
| - lowrisc:lint:comportable |
| files: |
| - lint/csrng.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: csrng |
| |
| lint: |
| <<: *default_target |
| default_tool: verilator |
| parameters: |
| - SYNTHESIS=true |
| tools: |
| verilator: |
| mode: lint-only |
| verilator_options: |
| - "-Wall" |