From 2b20a3d9d0f682ae1ccf8e64b2edf91ab0480b6f Mon Sep 17 00:00:00 2001 From: Alexander Williams Date: Fri, 3 Jan 2025 23:18:08 +0000 Subject: [PATCH] [prim] Add hacky prim_flop dependency to prim_flop_2sync The underlying generic prim library tries to depend on prim:flop, but the OT fusesoc fork cannot run generators on generated cores, leading to missing files. Signed-off-by: Alexander Williams --- hw/ip/prim/prim_flop_2sync.core | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hw/ip/prim/prim_flop_2sync.core b/hw/ip/prim/prim_flop_2sync.core index 698580be257df..45c18566898e4 100644 --- a/hw/ip/prim/prim_flop_2sync.core +++ b/hw/ip/prim/prim_flop_2sync.core @@ -10,6 +10,10 @@ filesets: depend: - lowrisc:prim:prim_pkg - lowrisc:prim:primgen + # TODO: This hack should go away with upstream fusesoc support. The + # generic prim_generic_flop_2sync depends on prim:flop, but the generator + # does not appear to run recursively. + - lowrisc:prim:flop files_verilator_waiver: depend: