blob: c5be0f5d17c588de1f6c50770f010ea81e508df7 [file] [log] [blame]
# Copyright lowRISC contributors.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
load("//rules:fusesoc.bzl", "fusesoc_build")
package(default_visibility = ["//visibility:public"])
fusesoc_build(
name = "verilator",
srcs = [
":all_files",
],
cores = [
"//:cores",
],
data = ["//hw/ip/otbn:all_files"],
systems = ["lowrisc:dv:chip_verilator_sim"],
target = "sim",
)
# TODO(lowRISC/opentitan#7972): Globbing all of the //hw/... hierarchy together
# is a bit of a hack. Longer term, we need proper rules for expressing the
# relationships between verilog components.
filegroup(
name = "all_files",
srcs = glob(["**"]) + [
"//hw/ip:all_files",
"//hw/top_earlgrey:all_files",
],
)