aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/synth-insts.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/synth/synth-insts.adb')
-rw-r--r--src/synth/synth-insts.adb3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/synth/synth-insts.adb b/src/synth/synth-insts.adb
index 74d0673f5..725ac2b22 100644
--- a/src/synth/synth-insts.adb
+++ b/src/synth/synth-insts.adb
@@ -182,7 +182,8 @@ package body Synth.Insts is
Inter_Type := Get_Subtype_Indication (Inter);
if Inter_Type /= Null_Node then
case Get_Kind (Inter_Type) is
- when Iir_Kind_Array_Subtype_Definition =>
+ when Iir_Kind_Array_Subtype_Definition
+ | Iir_Kind_Integer_Subtype_Definition =>
Create_Object (Syn_Inst, Inter_Type,
Get_Value (Params.Syn_Inst, Inter_Type));
when others =>