From 9cd53265be5b00beca6d57c8e75a9f3bb4c8afa1 Mon Sep 17 00:00:00 2001 From: Rupert Swarbrick Date: Thu, 10 Oct 2024 10:55:57 +0100 Subject: [PATCH] [rv_dm,dv] Slightly broaden dependency in rv_dm_env.core When the core file originally got a dependency on the IP itself (in 1f3a0e5f53b), the tests were only actually depending on the debug module package. But that's not true any more! In particular, rv_dm_env_pkg now depends on rv_dm_reg_pkg (since commit 840a2455268). Depend on hw:ip:rv_dm to make this explicit (rather than depending on the ordering fusesoc happens to choose, which doesn't necessarily get what we need). Signed-off-by: Rupert Swarbrick --- hw/ip/rv_dm/dv/env/rv_dm_env.core | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/hw/ip/rv_dm/dv/env/rv_dm_env.core b/hw/ip/rv_dm/dv/env/rv_dm_env.core index 9f452c16d79dc..ae0bb804389ef 100644 --- a/hw/ip/rv_dm/dv/env/rv_dm_env.core +++ b/hw/ip/rv_dm/dv/env/rv_dm_env.core @@ -7,15 +7,13 @@ description: "RV_DM DV UVM environment" filesets: files_dv: depend: + - lowrisc:ip:rv_dm - lowrisc:dv:ralgen - lowrisc:dv:cip_lib - lowrisc:dv:dv_base_reg - lowrisc:dv:jtag_agent - lowrisc:dv:jtag_dmi_agent - lowrisc:opentitan:bus_params_pkg - # Note: This core pulls in an rv_dm implementation. We actually - # just need the package (dm_pkg.sv) for DV here. - - pulp-platform:riscv-dbg:0.1 files: - rv_dm_env_pkg.sv - rv_dm_if.sv