[rtl, dv] added fusesoc core files Added several fusesoc core files to reorg the sources. This has been done to support #1565 Signed-off-by: Srikrishna Iyer <sriyer@google.com>
diff --git a/hw/ip/alert_handler/alert_handler.core b/hw/ip/alert_handler/alert_handler.core index 9a0dd8b..52e07e2 100644 --- a/hw/ip/alert_handler/alert_handler.core +++ b/hw/ip/alert_handler/alert_handler.core
@@ -8,37 +8,16 @@ filesets: files_rtl: depend: - - lowrisc:ip:tlul - - lowrisc:prim:all - files: - - rtl/alert_handler_reg_pkg.sv - - rtl/alert_handler_reg_top.sv - - rtl/alert_pkg.sv - - rtl/alert_handler_reg_wrap.sv - - rtl/alert_handler_class.sv - - rtl/alert_handler_ping_timer.sv - - rtl/alert_handler_esc_timer.sv - - rtl/alert_handler_accu.sv - - rtl/alert_handler.sv - file_type: systemVerilogSource + - lowrisc:ip:alert_handler_reg + - lowrisc:ip:alert_handler_component files_verilator_waiver: depend: - # common waivers - - lowrisc:lint:common - - lowrisc:lint:comportable - files: - - lint/alert_handler.vlt - file_type: vlt + - lowrisc:ip:alert_handler_component files_ascentlint_waiver: depend: - # common waivers - - lowrisc:lint:common - - lowrisc:lint:comportable - files: - - lint/alert_handler.waiver - file_type: waiver + - lowrisc:ip:alert_handler_component parameters:
diff --git a/hw/ip/alert_handler/alert_handler_component.core b/hw/ip/alert_handler/alert_handler_component.core new file mode 100644 index 0000000..8955e76 --- /dev/null +++ b/hw/ip/alert_handler/alert_handler_component.core
@@ -0,0 +1,47 @@ +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:alert_handler_component:0.1" +description: "Alert Handler component without the CSRs" + +filesets: + files_rtl: + depend: + - lowrisc:ip:tlul + - lowrisc:prim:all + files: + - rtl/alert_pkg.sv + - rtl/alert_handler_reg_wrap.sv + - rtl/alert_handler_class.sv + - rtl/alert_handler_ping_timer.sv + - rtl/alert_handler_esc_timer.sv + - rtl/alert_handler_accu.sv + - rtl/alert_handler.sv + file_type: systemVerilogSource + + files_verilator_waiver: + depend: + # common waivers + - lowrisc:lint:common + - lowrisc:lint:comportable + files: + - lint/alert_handler.vlt + file_type: vlt + + files_ascentlint_waiver: + depend: + # common waivers + - lowrisc:lint:common + - lowrisc:lint:comportable + files: + - lint/alert_handler.waiver + file_type: waiver + + +targets: + default: &default_target + filesets: + - tool_verilator ? (files_verilator_waiver) + - tool_ascentlint ? (files_ascentlint_waiver) + - files_rtl
diff --git a/hw/ip/alert_handler/alert_handler_reg.core b/hw/ip/alert_handler/alert_handler_reg.core new file mode 100644 index 0000000..3630de5 --- /dev/null +++ b/hw/ip/alert_handler/alert_handler_reg.core
@@ -0,0 +1,21 @@ +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:alert_handler_reg:0.1" +description: "Auto-generated alert handler register sources with default parameters." +filesets: + files_rtl: + depend: + - lowrisc:tlul:headers + + files: + - rtl/alert_handler_reg_pkg.sv + - rtl/alert_handler_reg_top.sv + file_type: systemVerilogSource + + +targets: + default: &default_target + filesets: + - files_rtl
diff --git a/hw/ip/pinmux/pinmux.core b/hw/ip/pinmux/pinmux.core index 593d5ad..7320f3d 100644 --- a/hw/ip/pinmux/pinmux.core +++ b/hw/ip/pinmux/pinmux.core
@@ -8,31 +8,16 @@ filesets: files_rtl: depend: - - lowrisc:ip:tlul - - lowrisc:prim:all - files: - - rtl/pinmux_reg_pkg.sv - - rtl/pinmux_reg_top.sv - - rtl/pinmux.sv - file_type: systemVerilogSource + - lowrisc:ip:pinmux_reg + - lowrisc:ip:pinmux_component files_verilator_waiver: depend: - # common waivers - - lowrisc:lint:common - - lowrisc:lint:comportable - files: - - lint/pinmux.vlt - file_type: vlt + - lowrisc:ip:pinmux_component files_ascentlint_waiver: depend: - # common waivers - - lowrisc:lint:common - - lowrisc:lint:comportable - files: - - lint/pinmux.waiver - file_type: waiver + - lowrisc:ip:pinmux_component parameters:
diff --git a/hw/ip/pinmux/pinmux_component.core b/hw/ip/pinmux/pinmux_component.core new file mode 100644 index 0000000..e60b3d5 --- /dev/null +++ b/hw/ip/pinmux/pinmux_component.core
@@ -0,0 +1,41 @@ +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:pinmux_component:0.1" +description: "Pin Multiplexer component without the CSRs" + +filesets: + files_rtl: + depend: + - lowrisc:ip:tlul + - lowrisc:prim:all + files: + - rtl/pinmux.sv + file_type: systemVerilogSource + + files_verilator_waiver: + depend: + # common waivers + - lowrisc:lint:common + - lowrisc:lint:comportable + files: + - lint/pinmux.vlt + file_type: vlt + + files_ascentlint_waiver: + depend: + # common waivers + - lowrisc:lint:common + - lowrisc:lint:comportable + files: + - lint/pinmux.waiver + file_type: waiver + + +targets: + default: &default_target + filesets: + - tool_verilator ? (files_verilator_waiver) + - tool_ascentlint ? (files_ascentlint_waiver) + - files_rtl
diff --git a/hw/ip/pinmux/pinmux_reg.core b/hw/ip/pinmux/pinmux_reg.core new file mode 100644 index 0000000..6744972 --- /dev/null +++ b/hw/ip/pinmux/pinmux_reg.core
@@ -0,0 +1,21 @@ +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:pinmux_reg:0.1" +description: "Auto-generated pinmux register sources with default parameters." +filesets: + files_rtl: + depend: + - lowrisc:tlul:headers + + files: + - rtl/pinmux_reg_pkg.sv + - rtl/pinmux_reg_top.sv + file_type: systemVerilogSource + + +targets: + default: &default_target + filesets: + - files_rtl
diff --git a/hw/ip/rv_plic/rv_plic.core b/hw/ip/rv_plic/rv_plic.core index efb10ee..ef89761 100644 --- a/hw/ip/rv_plic/rv_plic.core +++ b/hw/ip/rv_plic/rv_plic.core
@@ -8,8 +8,6 @@ filesets: files_rtl: depend: - - lowrisc:ip:tlul - - lowrisc:prim:all - lowrisc:ip:rv_plic_component files: - rtl/rv_plic_reg_pkg.sv @@ -19,19 +17,11 @@ files_verilator_waiver: depend: - # common waivers - - lowrisc:lint:common - #- lowrisc:lint:comportable - files: - file_type: vlt + - lowrisc:ip:rv_plic_component files_ascentlint_waiver: depend: - # common waivers - - lowrisc:lint:common - #- lowrisc:lint:comportable - files: - file_type: waiver + - lowrisc:ip:rv_plic_component parameters:
diff --git a/hw/ip/rv_plic/rv_plic_component.core b/hw/ip/rv_plic/rv_plic_component.core index 638433b..05db359 100644 --- a/hw/ip/rv_plic/rv_plic_component.core +++ b/hw/ip/rv_plic/rv_plic_component.core
@@ -3,7 +3,7 @@ # Licensed under the Apache License, Version 2.0, see LICENSE for details. # SPDX-License-Identifier: Apache-2.0 name: "lowrisc:ip:rv_plic_component:0.1" -description: "RISC-V PLIC" +description: "RISC-V PLIC component without the CSRs" filesets: files_rtl: