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