| diff --git a/BUILD.bazel b/BUILD.bazel |
| index b131709..b297981 100644 |
| --- a/BUILD.bazel |
| +++ b/BUILD.bazel |
| @@ -17,14 +17,7 @@ filegroup( |
| "//hw:check_tool_requirements.core", |
| "@axi2sramcrs//:BUILD", |
| "@isp_yocto//:BUILD", |
| - ] + select({ |
| - "//rules:airgapped_env": [ |
| - "@fastvdma_core//:fastvdma.core", |
| - "@kelvin_core//:kelvin.core", |
| - ], |
| - "//conditions:default": [ |
| - "//hw/top_matcha/ip/dma/chisel:fastvdma.core", |
| - "@kelvin_hw//hdl/chisel:kelvin.core", |
| - ], |
| - }), |
| + "@fastvdma_core//:fastvdma.core", |
| + "@kelvin_core//:kelvin.core", |
| + ], |
| ) |
| diff --git a/hw/BUILD b/hw/BUILD |
| index ec4c0d3..56ce85c 100644 |
| --- a/hw/BUILD |
| +++ b/hw/BUILD |
| @@ -83,14 +83,7 @@ filegroup( |
| srcs = glob(["**"]) + [ |
| "//hw/top_matcha:all_files", |
| "@lowrisc_opentitan//hw/dv:all_files", |
| - ] + select({ |
| - "//rules:airgapped_env": [ |
| - "@fastvdma_core//:all_files", |
| - "@kelvin_core//:all_files", |
| - ], |
| - "//conditions:default": [ |
| - "//hw/top_matcha/ip/dma/chisel:fastvdma_core", |
| - "@kelvin_hw//hdl/chisel:kelvin_core", |
| - ], |
| - }), |
| + "@fastvdma_core//:all_files", |
| + "@kelvin_core//:all_files", |
| + ], |
| ) |
| diff --git a/hw/top_matcha/ip/dma/chisel/BUILD b/hw/top_matcha/ip/dma/chisel/BUILD |
| deleted file mode 100644 |
| index 2a102ea..0000000 |
| --- a/hw/top_matcha/ip/dma/chisel/BUILD |
| +++ /dev/null |
| @@ -1,45 +0,0 @@ |
| -# Copyright 2023 Google LLC |
| -# |
| -# Licensed under the Apache License, Version 2.0 (the "License"); |
| -# you may not use this file except in compliance with the License. |
| -# You may obtain a copy of the License at |
| -# |
| -# http://www.apache.org/licenses/LICENSE-2.0 |
| -# |
| -# Unless required by applicable law or agreed to in writing, software |
| -# distributed under the License is distributed on an "AS IS" BASIS, |
| -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| -# See the License for the specific language governing permissions and |
| -# limitations under the License. |
| - |
| -genrule( |
| - name = "fastvdma_verilog", |
| - srcs = [ |
| - "//hw/top_matcha/ip/dma/chisel/src:DMATop.sv" |
| - ], |
| - outs = [ |
| - "fastvdma.sv", |
| - ], |
| - |
| - cmd = """ |
| - cat $(location //hw/top_matcha/ip/dma/chisel/src:DMATop.sv) >> $(location fastvdma.sv) |
| - """, |
| - visibility = ["//visibility:public"], |
| -) |
| - |
| -# Generate fastvdma.core from this template so it can sit at the same GenDir as |
| -# the RTL file. |
| -genrule( |
| - name = "fastvdma_core", |
| - srcs = [ |
| - "fastvdma.core.in", |
| - "fastvdma_verilog", |
| - ], |
| - outs = [ |
| - "fastvdma.core", |
| - ], |
| - cmd = """ |
| - cp -f $(location fastvdma.core.in) $(location fastvdma.core) |
| - """, |
| - visibility = ["//visibility:public"], |
| -) |
| diff --git a/hw/top_matcha/ip/dma/chisel/src/BUILD b/hw/top_matcha/ip/dma/chisel/src/BUILD |
| deleted file mode 100644 |
| index 745cb3f..0000000 |
| --- a/hw/top_matcha/ip/dma/chisel/src/BUILD |
| +++ /dev/null |
| @@ -1,54 +0,0 @@ |
| -# Copyright 2024 Google LLC |
| -# |
| -# Licensed under the Apache License, Version 2.0 (the "License"); |
| -# you may not use this file except in compliance with the License. |
| -# You may obtain a copy of the License at |
| -# |
| -# http://www.apache.org/licenses/LICENSE-2.0 |
| -# |
| -# Unless required by applicable law or agreed to in writing, software |
| -# distributed under the License is distributed on an "AS IS" BASIS, |
| -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| -# See the License for the specific language governing permissions and |
| -# limitations under the License. |
| - |
| -load("@kelvin_hw//rules:chisel.bzl", "chisel_cc_library", "chisel_library") |
| - |
| -package(default_visibility = ["//visibility:public"]) |
| - |
| -chisel_library( |
| - name = "fastvdma_tlul", |
| - srcs = [ |
| - "DMAConfig.scala", |
| - "DMATop.scala", |
| - "bus/TLUL.scala", |
| - "csr/CSR.scala", |
| - "csr/CSRBusBundle.scala", |
| - "csr/CSRRegBundle.scala", |
| - "csr/ClearCSR.scala", |
| - "csr/SetCSR.scala", |
| - "csr/SimpleCSR.scala", |
| - "csr/StatusCSR.scala", |
| - "frontend/BusBase.scala", |
| - "frontend/TLULCSR.scala", |
| - "frontend/TLULReader.scala", |
| - "frontend/TLULWriter.scala", |
| - "worker/AddressGenerator.scala", |
| - "worker/AddressGeneratorCtlBundle.scala", |
| - "worker/InterruptBundle.scala", |
| - "worker/InterruptController.scala", |
| - "worker/SyncBundle.scala", |
| - "worker/TransferSplitter.scala", |
| - "worker/WorkerCSRWrapper.scala", |
| - "worker/XferDescBundle.scala", |
| - ], |
| - deps = [ |
| - ], |
| -) |
| - |
| -chisel_cc_library( |
| - name = "fastvdma_cc_library", |
| - chisel_lib = ":fastvdma_tlul", |
| - emit_class = "DMAController.EmitDMA", |
| - module_name = "DMATop", |
| -) |