From 1034acdb7c3c0e8c120f738801951eccbdf59941 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Mon, 4 Jan 2021 18:58:54 +0100 Subject: vhdl: fix reprint of vhdl08 array element constraints. --- pyGHDL/libghdl/vhdl/nodes.py | 6 + pyGHDL/libghdl/vhdl/nodes_meta.py | 384 +++++++++++++++++++------------------- 2 files changed, 202 insertions(+), 188 deletions(-) (limited to 'pyGHDL') diff --git a/pyGHDL/libghdl/vhdl/nodes.py b/pyGHDL/libghdl/vhdl/nodes.py index 759bad8d4..fdf3fa437 100644 --- a/pyGHDL/libghdl/vhdl/nodes.py +++ b/pyGHDL/libghdl/vhdl/nodes.py @@ -2267,6 +2267,12 @@ Set_Index_Constraint_List = libghdl.vhdl__nodes__set_index_constraint_list Get_Array_Element_Constraint = libghdl.vhdl__nodes__get_array_element_constraint Set_Array_Element_Constraint = libghdl.vhdl__nodes__set_array_element_constraint +Get_Has_Array_Constraint_Flag = libghdl.vhdl__nodes__get_has_array_constraint_flag +Set_Has_Array_Constraint_Flag = libghdl.vhdl__nodes__set_has_array_constraint_flag + +Get_Has_Element_Constraint_Flag = libghdl.vhdl__nodes__get_has_element_constraint_flag +Set_Has_Element_Constraint_Flag = libghdl.vhdl__nodes__set_has_element_constraint_flag + Get_Elements_Declaration_List = libghdl.vhdl__nodes__get_elements_declaration_list Set_Elements_Declaration_List = libghdl.vhdl__nodes__set_elements_declaration_list diff --git a/pyGHDL/libghdl/vhdl/nodes_meta.py b/pyGHDL/libghdl/vhdl/nodes_meta.py index 8476b07fa..1826bef68 100644 --- a/pyGHDL/libghdl/vhdl/nodes_meta.py +++ b/pyGHDL/libghdl/vhdl/nodes_meta.py @@ -245,194 +245,196 @@ class fields: Element_Subnature = 177 Index_Constraint_List = 178 Array_Element_Constraint = 179 - Elements_Declaration_List = 180 - Owned_Elements_Chain = 181 - Designated_Type = 182 - Designated_Subtype_Indication = 183 - Index_List = 184 - Reference = 185 - Nature_Declarator = 186 - Across_Type_Mark = 187 - Through_Type_Mark = 188 - Across_Type_Definition = 189 - Through_Type_Definition = 190 - Across_Type = 191 - Through_Type = 192 - Target = 193 - Waveform_Chain = 194 - Guard = 195 - Delay_Mechanism = 196 - Reject_Time_Expression = 197 - Force_Mode = 198 - Has_Force_Mode = 199 - Sensitivity_List = 200 - Process_Origin = 201 - Package_Origin = 202 - Condition_Clause = 203 - Break_Element = 204 - Selector_Quantity = 205 - Break_Quantity = 206 - Timeout_Clause = 207 - Postponed_Flag = 208 - Callees_List = 209 - Passive_Flag = 210 - Resolution_Function_Flag = 211 - Wait_State = 212 - All_Sensitized_State = 213 - Seen_Flag = 214 - Pure_Flag = 215 - Foreign_Flag = 216 - Resolved_Flag = 217 - Signal_Type_Flag = 218 - Has_Signal_Flag = 219 - Purity_State = 220 - Elab_Flag = 221 - Vendor_Library_Flag = 222 - Configuration_Mark_Flag = 223 - Configuration_Done_Flag = 224 - Index_Constraint_Flag = 225 - Hide_Implicit_Flag = 226 - Assertion_Condition = 227 - Report_Expression = 228 - Severity_Expression = 229 - Instantiated_Unit = 230 - Generic_Map_Aspect_Chain = 231 - Port_Map_Aspect_Chain = 232 - Configuration_Name = 233 - Component_Configuration = 234 - Configuration_Specification = 235 - Default_Binding_Indication = 236 - Default_Configuration_Declaration = 237 - Expression = 238 - Conditional_Expression_Chain = 239 - Allocator_Designated_Type = 240 - Selected_Waveform_Chain = 241 - Conditional_Waveform_Chain = 242 - Guard_Expression = 243 - Guard_Decl = 244 - Guard_Sensitivity_List = 245 - Signal_Attribute_Chain = 246 - Block_Block_Configuration = 247 - Package_Header = 248 - Block_Header = 249 - Uninstantiated_Package_Name = 250 - Uninstantiated_Package_Decl = 251 - Instance_Source_File = 252 - Generate_Block_Configuration = 253 - Generate_Statement_Body = 254 - Alternative_Label = 255 - Generate_Else_Clause = 256 - Condition = 257 - Else_Clause = 258 - Parameter_Specification = 259 - Parent = 260 - Loop_Label = 261 - Exit_Flag = 262 - Next_Flag = 263 - Component_Name = 264 - Instantiation_List = 265 - Entity_Aspect = 266 - Default_Entity_Aspect = 267 - Binding_Indication = 268 - Named_Entity = 269 - Alias_Declaration = 270 - Referenced_Name = 271 - Expr_Staticness = 272 - Scalar_Size = 273 - Error_Origin = 274 - Operand = 275 - Left = 276 - Right = 277 - Unit_Name = 278 - Name = 279 - Group_Template_Name = 280 - Name_Staticness = 281 - Prefix = 282 - Signature_Prefix = 283 - External_Pathname = 284 - Pathname_Suffix = 285 - Pathname_Expression = 286 - In_Formal_Flag = 287 - Slice_Subtype = 288 - Suffix = 289 - Index_Subtype = 290 - Parameter = 291 - Parameter_2 = 292 - Parameter_3 = 293 - Parameter_4 = 294 - Attr_Chain = 295 - Signal_Attribute_Declaration = 296 - Actual_Type = 297 - Actual_Type_Definition = 298 - Association_Chain = 299 - Individual_Association_Chain = 300 - Subprogram_Association_Chain = 301 - Aggregate_Info = 302 - Sub_Aggregate_Info = 303 - Aggr_Dynamic_Flag = 304 - Aggr_Min_Length = 305 - Aggr_Low_Limit = 306 - Aggr_High_Limit = 307 - Aggr_Others_Flag = 308 - Aggr_Named_Flag = 309 - Aggregate_Expand_Flag = 310 - Association_Choices_Chain = 311 - Case_Statement_Alternative_Chain = 312 - Choice_Staticness = 313 - Procedure_Call = 314 - Implementation = 315 - Parameter_Association_Chain = 316 - Method_Object = 317 - Subtype_Type_Mark = 318 - Subnature_Nature_Mark = 319 - Type_Conversion_Subtype = 320 - Type_Mark = 321 - File_Type_Mark = 322 - Return_Type_Mark = 323 - Has_Disconnect_Flag = 324 - Has_Active_Flag = 325 - Is_Within_Flag = 326 - Type_Marks_List = 327 - Implicit_Alias_Flag = 328 - Alias_Signature = 329 - Attribute_Signature = 330 - Overload_List = 331 - Simple_Name_Identifier = 332 - Simple_Name_Subtype = 333 - Protected_Type_Body = 334 - Protected_Type_Declaration = 335 - Use_Flag = 336 - End_Has_Reserved_Id = 337 - End_Has_Identifier = 338 - End_Has_Postponed = 339 - Has_Label = 340 - Has_Begin = 341 - Has_End = 342 - Has_Is = 343 - Has_Pure = 344 - Has_Body = 345 - Has_Parameter = 346 - Has_Component = 347 - Has_Identifier_List = 348 - Has_Mode = 349 - Has_Class = 350 - Has_Delay_Mechanism = 351 - Suspend_Flag = 352 - Is_Ref = 353 - Is_Forward_Ref = 354 - Psl_Property = 355 - Psl_Sequence = 356 - Psl_Declaration = 357 - Psl_Expression = 358 - Psl_Boolean = 359 - PSL_Clock = 360 - PSL_NFA = 361 - PSL_Nbr_States = 362 - PSL_Clock_Sensitivity = 363 - PSL_EOS_Flag = 364 - Count_Expression = 365 - Clock_Expression = 366 - Default_Clock = 367 + Has_Array_Constraint_Flag = 180 + Has_Element_Constraint_Flag = 181 + Elements_Declaration_List = 182 + Owned_Elements_Chain = 183 + Designated_Type = 184 + Designated_Subtype_Indication = 185 + Index_List = 186 + Reference = 187 + Nature_Declarator = 188 + Across_Type_Mark = 189 + Through_Type_Mark = 190 + Across_Type_Definition = 191 + Through_Type_Definition = 192 + Across_Type = 193 + Through_Type = 194 + Target = 195 + Waveform_Chain = 196 + Guard = 197 + Delay_Mechanism = 198 + Reject_Time_Expression = 199 + Force_Mode = 200 + Has_Force_Mode = 201 + Sensitivity_List = 202 + Process_Origin = 203 + Package_Origin = 204 + Condition_Clause = 205 + Break_Element = 206 + Selector_Quantity = 207 + Break_Quantity = 208 + Timeout_Clause = 209 + Postponed_Flag = 210 + Callees_List = 211 + Passive_Flag = 212 + Resolution_Function_Flag = 213 + Wait_State = 214 + All_Sensitized_State = 215 + Seen_Flag = 216 + Pure_Flag = 217 + Foreign_Flag = 218 + Resolved_Flag = 219 + Signal_Type_Flag = 220 + Has_Signal_Flag = 221 + Purity_State = 222 + Elab_Flag = 223 + Vendor_Library_Flag = 224 + Configuration_Mark_Flag = 225 + Configuration_Done_Flag = 226 + Index_Constraint_Flag = 227 + Hide_Implicit_Flag = 228 + Assertion_Condition = 229 + Report_Expression = 230 + Severity_Expression = 231 + Instantiated_Unit = 232 + Generic_Map_Aspect_Chain = 233 + Port_Map_Aspect_Chain = 234 + Configuration_Name = 235 + Component_Configuration = 236 + Configuration_Specification = 237 + Default_Binding_Indication = 238 + Default_Configuration_Declaration = 239 + Expression = 240 + Conditional_Expression_Chain = 241 + Allocator_Designated_Type = 242 + Selected_Waveform_Chain = 243 + Conditional_Waveform_Chain = 244 + Guard_Expression = 245 + Guard_Decl = 246 + Guard_Sensitivity_List = 247 + Signal_Attribute_Chain = 248 + Block_Block_Configuration = 249 + Package_Header = 250 + Block_Header = 251 + Uninstantiated_Package_Name = 252 + Uninstantiated_Package_Decl = 253 + Instance_Source_File = 254 + Generate_Block_Configuration = 255 + Generate_Statement_Body = 256 + Alternative_Label = 257 + Generate_Else_Clause = 258 + Condition = 259 + Else_Clause = 260 + Parameter_Specification = 261 + Parent = 262 + Loop_Label = 263 + Exit_Flag = 264 + Next_Flag = 265 + Component_Name = 266 + Instantiation_List = 267 + Entity_Aspect = 268 + Default_Entity_Aspect = 269 + Binding_Indication = 270 + Named_Entity = 271 + Alias_Declaration = 272 + Referenced_Name = 273 + Expr_Staticness = 274 + Scalar_Size = 275 + Error_Origin = 276 + Operand = 277 + Left = 278 + Right = 279 + Unit_Name = 280 + Name = 281 + Group_Template_Name = 282 + Name_Staticness = 283 + Prefix = 284 + Signature_Prefix = 285 + External_Pathname = 286 + Pathname_Suffix = 287 + Pathname_Expression = 288 + In_Formal_Flag = 289 + Slice_Subtype = 290 + Suffix = 291 + Index_Subtype = 292 + Parameter = 293 + Parameter_2 = 294 + Parameter_3 = 295 + Parameter_4 = 296 + Attr_Chain = 297 + Signal_Attribute_Declaration = 298 + Actual_Type = 299 + Actual_Type_Definition = 300 + Association_Chain = 301 + Individual_Association_Chain = 302 + Subprogram_Association_Chain = 303 + Aggregate_Info = 304 + Sub_Aggregate_Info = 305 + Aggr_Dynamic_Flag = 306 + Aggr_Min_Length = 307 + Aggr_Low_Limit = 308 + Aggr_High_Limit = 309 + Aggr_Others_Flag = 310 + Aggr_Named_Flag = 311 + Aggregate_Expand_Flag = 312 + Association_Choices_Chain = 313 + Case_Statement_Alternative_Chain = 314 + Choice_Staticness = 315 + Procedure_Call = 316 + Implementation = 317 + Parameter_Association_Chain = 318 + Method_Object = 319 + Subtype_Type_Mark = 320 + Subnature_Nature_Mark = 321 + Type_Conversion_Subtype = 322 + Type_Mark = 323 + File_Type_Mark = 324 + Return_Type_Mark = 325 + Has_Disconnect_Flag = 326 + Has_Active_Flag = 327 + Is_Within_Flag = 328 + Type_Marks_List = 329 + Implicit_Alias_Flag = 330 + Alias_Signature = 331 + Attribute_Signature = 332 + Overload_List = 333 + Simple_Name_Identifier = 334 + Simple_Name_Subtype = 335 + Protected_Type_Body = 336 + Protected_Type_Declaration = 337 + Use_Flag = 338 + End_Has_Reserved_Id = 339 + End_Has_Identifier = 340 + End_Has_Postponed = 341 + Has_Label = 342 + Has_Begin = 343 + Has_End = 344 + Has_Is = 345 + Has_Pure = 346 + Has_Body = 347 + Has_Parameter = 348 + Has_Component = 349 + Has_Identifier_List = 350 + Has_Mode = 351 + Has_Class = 352 + Has_Delay_Mechanism = 353 + Suspend_Flag = 354 + Is_Ref = 355 + Is_Forward_Ref = 356 + Psl_Property = 357 + Psl_Sequence = 358 + Psl_Declaration = 359 + Psl_Expression = 360 + Psl_Boolean = 361 + PSL_Clock = 362 + PSL_NFA = 363 + PSL_Nbr_States = 364 + PSL_Clock_Sensitivity = 365 + PSL_EOS_Flag = 366 + Count_Expression = 367 + Clock_Expression = 368 + Default_Clock = 369 Get_Boolean = libghdl.vhdl__nodes_meta__get_boolean @@ -1042,6 +1044,12 @@ Has_Index_Constraint_List =\ Has_Array_Element_Constraint =\ libghdl.vhdl__nodes_meta__has_array_element_constraint +Has_Has_Array_Constraint_Flag =\ + libghdl.vhdl__nodes_meta__has_has_array_constraint_flag + +Has_Has_Element_Constraint_Flag =\ + libghdl.vhdl__nodes_meta__has_has_element_constraint_flag + Has_Elements_Declaration_List =\ libghdl.vhdl__nodes_meta__has_elements_declaration_list -- cgit v1.2.3