[prim_generic] Prepare to make 2p RAM loadable
The 2p RAM primitive isn't loadable through Verilator at the moment.
This functionality could be added easily for consistency with other
memories (ROM/1p RAM), but enabling that requires first a way to load
memories through DPI without having the width in the DPI-exported
function signature.
Signed-off-by: Philipp Wagner <phw@lowrisc.org>
diff --git a/hw/ip/prim_generic/rtl/prim_generic_ram_2p.sv b/hw/ip/prim_generic/rtl/prim_generic_ram_2p.sv
index d7726f3..36a90d4 100644
--- a/hw/ip/prim_generic/rtl/prim_generic_ram_2p.sv
+++ b/hw/ip/prim_generic/rtl/prim_generic_ram_2p.sv
@@ -78,4 +78,7 @@
end
end
+ // TODO: Enable once lowRISC/ibex#844 is fixed.
+ //`include "prim_util_memload.sv"
+
endmodule