| # 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", | |
| ) |