# Copyright 2023 Google LLC.
# Copyright lowRISC contributors.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

package(default_visibility = ["//visibility:public"])

cc_library(
    name = "device",
    hdrs = ["device.h"],
)

cc_library(
    name = "sim_dv",
    srcs = ["device_sim_dv.c"],
    deps = [
        ":device",
    ],
)

cc_library(
    name = "smc_sim_dv",
    srcs = ["device_smc_sim_dv.c"],
    deps = [
        ":device",
    ],
)

cc_library(
    name = "sim_verilator",
    srcs = ["device_sim_verilator.c"],
    deps = [":device"],
)

cc_library(
    name = "smc_sim_verilator",
    srcs = ["device_smc_sim_verilator.c"],
    deps = [
        ":device",
    ],
)

cc_library(
    name = "sc_fpga_nexus",
    srcs = ["device_sc_fpga_nexus.c"],
    deps = [
        ":device",
        "@lowrisc_opentitan//sw/device/silicon_creator/lib:rom_print",
        "@lowrisc_opentitan//sw/device/silicon_creator/lib/drivers:ibex",
    ],
)

cc_library(
    name = "smc_fpga_nexus",
    srcs = ["device_smc_fpga_nexus.c"],
    deps = [
        ":device",
    ],
)

cc_library(
    name = "sc_asic",
    srcs = ["device_sc_asic.c"],
    deps = [
        ":device",
    ],
)

cc_library(
    name = "smc_asic",
    srcs = ["device_smc_asic.c"],
    deps = [
        ":device",
    ],
)
