aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/elab-vhdl_decls.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/synth/elab-vhdl_decls.adb')
-rw-r--r--src/synth/elab-vhdl_decls.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/synth/elab-vhdl_decls.adb b/src/synth/elab-vhdl_decls.adb
index 97836929c..4c09a656c 100644
--- a/src/synth/elab-vhdl_decls.adb
+++ b/src/synth/elab-vhdl_decls.adb
@@ -416,7 +416,7 @@ package body Elab.Vhdl_Decls is
pragma Assert (Areapools.Is_Empty (Expr_Pool));
Current_Pool := Instance_Pool;
- Val := Create_Value_Memory (Create_Memory_U32 (0));
+ Val := Create_Value_Memtyp (Create_Memory_U32 (0));
Current_Pool := Expr_Pool'Access;
Create_Object (Syn_Inst, Decl, Val);
end;