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:dv:prim_alert_sim:0.1"
description: "ALERT DV sim target"
filesets:
  files_rtl:
    depend:
      - lowrisc:prim:alert
    file_type: systemVerilogSource

  files_dv:
    depend:
      - lowrisc:dv:dv_utils
      - lowrisc:dv:dv_test_status
      - lowrisc:dv:common_ifs
    files:
      - tb/prim_alert_tb.sv
    file_type: systemVerilogSource

targets:
  sim: &sim_target
    toplevel: prim_alert_tb
    filesets:
      - files_rtl
      - files_dv
    default_tool: vcs

  lint:
    <<: *sim_target
