[sw] Prototype hardware memory init

Signed-off-by: Timothy Chen <timothytim@google.com>
diff --git a/util/topgen.py b/util/topgen.py
index c02b3ef..687380b 100755
--- a/util/topgen.py
+++ b/util/topgen.py
@@ -1229,7 +1229,8 @@
             # 'toplevel_memory.h.tpl' -> 'sw/autogen/top_{topname}_memory.h'
             memory_cheader_path = cformat_dir / f"top_{topname}_memory.h"
             render_template(TOPGEN_TEMPLATE_PATH / "toplevel_memory.h.tpl",
-                            memory_cheader_path)
+                            memory_cheader_path,
+                            helper=c_helper)
 
             try:
                 cheader_path.relative_to(SRCTREE_TOP)