From 04cd83fb46bee1e7a7b37be95bee73449af9c8b8 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Fri, 24 Jul 2020 18:31:11 +0200 Subject: ortho: add unbounded records, rework array subtypes. --- src/vhdl/translate/trans-chap9.adb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/vhdl/translate/trans-chap9.adb') diff --git a/src/vhdl/translate/trans-chap9.adb b/src/vhdl/translate/trans-chap9.adb index 2c7fd68cc..d1bd829cb 100644 --- a/src/vhdl/translate/trans-chap9.adb +++ b/src/vhdl/translate/trans-chap9.adb @@ -338,10 +338,10 @@ package body Trans.Chap9 is Push_Instance_Factory (Info.Psl_Scope'Access); -- Create the state vector type. - Info.Psl_Vect_Type := New_Constrained_Array_Type + Info.Psl_Vect_Type := New_Array_Subtype (Std_Boolean_Array_Type, - New_Unsigned_Literal (Ghdl_Index_Type, - Unsigned_64 (Get_PSL_Nbr_States (Stmt)))); + Std_Boolean_Type_Node, + New_Index_Lit (Unsigned_64 (Get_PSL_Nbr_States (Stmt)))); New_Type_Decl (Create_Identifier ("VECTTYPE"), Info.Psl_Vect_Type); -- Create the variables. -- cgit v1.2.3