| 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:adc_ctrl:1.0" |
| description: "USB-C debug cable detection (CC1/CC2 voltage sensing)" |
| filesets: |
| files_rtl: |
| depend: |
| - lowrisc:constants:top_pkg |
| - lowrisc:prim:all |
| - lowrisc:ip:tlul |
| - "fileset_partner ? (partner:systems:ast_pkg)" |
| - "!fileset_partner ? (lowrisc:systems:ast_pkg)" |
| |
| files: |
| - rtl/adc_ctrl_pkg.sv |
| - rtl/adc_ctrl_reg_pkg.sv |
| - rtl/adc_ctrl_reg_top.sv |
| - rtl/adc_ctrl_fsm.sv |
| - rtl/adc_ctrl_intr.sv |
| - rtl/adc_ctrl_core.sv |
| - rtl/adc_ctrl.sv |
| file_type: systemVerilogSource |
| |
| files_verilator_waiver: |
| depend: |
| # common waivers |
| - lowrisc:lint:common |
| - lowrisc:lint:comportable |
| files: |
| # - lint/adc_ctrl.vlt |
| file_type: vlt |
| |
| files_ascentlint_waiver: |
| depend: |
| # common waivers |
| - lowrisc:lint:common |
| - lowrisc:lint:comportable |
| files: |
| # - lint/adc_ctrl.waiver |
| file_type: waiver |
| |
| files_veriblelint_waiver: |
| depend: |
| # common waivers |
| - lowrisc:lint:common |
| - lowrisc:lint:comportable |
| |
| parameters: |
| SYNTHESIS: |
| datatype: bool |
| paramtype: vlogdefine |
| |
| targets: |
| default: &default_target |
| filesets: |
| - tool_verilator ? (files_verilator_waiver) |
| - tool_ascentlint ? (files_ascentlint_waiver) |
| - tool_veriblelint ? (files_veriblelint_waiver) |
| - files_rtl |
| toplevel: adc_ctrl |
| |
| |
| lint: |
| <<: *default_target |
| default_tool: verilator |
| parameters: |
| - SYNTHESIS=true |
| tools: |
| verilator: |
| mode: lint-only |
| verilator_options: |
| - "-Wall" |