blob: 8d1c453d1c94837b6c9b5037ca76d3f31d04ab63 [file] [log] [blame]
Philipp Wagneree59f9a2020-07-03 15:34:28 +01001CAPI=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
6name: "lowrisc:prim:lfsr:0.1"
7description: "A Linear-Feedback Shift Register (LFSR) primitive"
8filesets:
9 files_rtl:
10 depend:
11 - lowrisc:prim:assert
12 files:
13 - rtl/prim_lfsr.sv
14 file_type: systemVerilogSource
15
Cindy Chene4c36052020-11-02 17:32:42 -080016 files_verilator_waiver:
17 depend:
18 # common waivers
19 - lowrisc:lint:common
20 files:
21 file_type: vlt
22
23 files_ascentlint_waiver:
24 depend:
25 # common waivers
26 - lowrisc:lint:common
27 files:
Michael Schaffnerb4ca6642020-11-12 16:20:39 -080028 # - lint/prim_lfsr.waiver
Cindy Chene4c36052020-11-02 17:32:42 -080029 file_type: waiver
30
31 files_veriblelint_waiver:
32 depend:
33 # common waivers
34 - lowrisc:lint:common
Cindy Chene4c36052020-11-02 17:32:42 -080035
Philipp Wagneree59f9a2020-07-03 15:34:28 +010036targets:
Cindy Chene4c36052020-11-02 17:32:42 -080037 default: &default_target
Philipp Wagneree59f9a2020-07-03 15:34:28 +010038 filesets:
Cindy Chene4c36052020-11-02 17:32:42 -080039 - tool_verilator ? (files_verilator_waiver)
40 - tool_ascentlint ? (files_ascentlint_waiver)
41 - tool_veriblelint ? (files_veriblelint_waiver)
Philipp Wagneree59f9a2020-07-03 15:34:28 +010042 - files_rtl
Cindy Chene4c36052020-11-02 17:32:42 -080043
44 lint:
45 <<: *default_target
46 default_tool: verilator
47 parameters:
48 - SYNTHESIS=true
49 tools:
Cindy Chene4c36052020-11-02 17:32:42 -080050 verilator:
51 mode: lint-only
52 verilator_options:
53 - "-Wall"