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_generic:clock_div"
description: "Generic clock divide"
virtual:
  - lowrisc:prim:clock_div

filesets:
  files_rtl:
    depend:
      - lowrisc:prim:assert
      - lowrisc:prim:flop
      - lowrisc:prim:clock_inv
      - lowrisc:prim:clock_buf
    files:
      - rtl/prim_clock_div.sv
    file_type: systemVerilogSource

  files_ascentlint_waiver:
    depend:
      # common waivers
      - lowrisc:lint:common
    files:
      - lint/prim_generic_clock_div.waiver
    file_type: waiver

targets:
  default:
    filesets:
      - tool_ascentlint ? (files_ascentlint_waiver)
      - files_rtl
