aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/synth-vhdl_context.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/synth/synth-vhdl_context.adb')
-rw-r--r--src/synth/synth-vhdl_context.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/synth/synth-vhdl_context.adb b/src/synth/synth-vhdl_context.adb
index 2a497ae0f..0ef9b417e 100644
--- a/src/synth/synth-vhdl_context.adb
+++ b/src/synth/synth-vhdl_context.adb
@@ -316,7 +316,7 @@ package body Synth.Vhdl_Context is
if Kind = Wire_None then
Wid := No_Wire_Id;
else
- Wid := Alloc_Wire (Kind, Otyp, Obj);
+ Wid := Alloc_Wire (Kind, (Obj, Otyp));
end if;
Val := Create_Value_Wire (Wid, Otyp);