Skip to content

Commit

Permalink
[hw,rv_plic] Properly uniquify defs.bzl file
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Schilling <[email protected]>
  • Loading branch information
Razer6 authored and rswarbrick committed Jan 14, 2025
1 parent df230bb commit 4da5dbe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hw/ip_templates/rv_plic/defs.bzl.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# SPDX-License-Identifier: Apache-2.0
load("//rules/opentitan:hw.bzl", "opentitan_ip")

RV_PLIC = opentitan_ip(
name = "rv_plic",
hjson = "//hw/top_${topname}/ip_autogen/rv_plic:data/rv_plic.hjson",
${module_instance_name.upper()} = opentitan_ip(
name = "${module_instance_name}",
hjson = "//hw/top_${topname}/ip_autogen/${module_instance_name}:data/${module_instance_name}.hjson",
)

0 comments on commit 4da5dbe

Please sign in to comment.