CAPI=2:
# Copyright lowRISC contributors (OpenTitan project).
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

name: "lowrisc:prim:alert"
description: "Alert send and receive"
filesets:
  files_rtl:
    depend:
      - lowrisc:prim:assert
      - lowrisc:prim:diff_decode
      - lowrisc:prim:buf
      - lowrisc:prim:flop
      - lowrisc:prim:sec_anchor
      - lowrisc:prim:mubi
      - lowrisc:ip:lc_ctrl_pkg
    files:
      - rtl/prim_alert_pkg.sv
      - rtl/prim_alert_receiver.sv
      - rtl/prim_alert_sender.sv
    file_type: systemVerilogSource

  files_verilator_waiver:
    depend:
      # common waivers
      - lowrisc:lint:common

  files_ascentlint_waiver:
    depend:
      # common waivers
      - lowrisc:lint:common

  files_veriblelint_waiver:
    depend:
      # common waivers
      - lowrisc:lint:common

targets:
  default:
    filesets:
      - tool_verilator   ? (files_verilator_waiver)
      - tool_ascentlint  ? (files_ascentlint_waiver)
      - tool_veriblelint ? (files_veriblelint_waiver)
      - files_rtl
