aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-06-12 06:08:27 +0200
committerTristan Gingold <tgingold@free.fr>2022-06-12 06:08:27 +0200
commit4dc88dabe739571c3a8e5136fe7c97f8cc7c0bf3 (patch)
treef007b3dcc4611a1959f3e4f9d63ece1b06b58f95 /pyGHDL
parentad930baf9525e4dddc1e4bd24435ba3fa8bd4625 (diff)
downloadghdl-4dc88dabe739571c3a8e5136fe7c97f8cc7c0bf3.tar.gz
ghdl-4dc88dabe739571c3a8e5136fe7c97f8cc7c0bf3.tar.bz2
ghdl-4dc88dabe739571c3a8e5136fe7c97f8cc7c0bf3.zip
vhdl-nodes: add Inertial_Flag for association_element_by_expression
Diffstat (limited to 'pyGHDL')
-rw-r--r--pyGHDL/libghdl/vhdl/nodes.py13
-rw-r--r--pyGHDL/libghdl/vhdl/nodes_meta.py177
2 files changed, 105 insertions, 85 deletions
diff --git a/pyGHDL/libghdl/vhdl/nodes.py b/pyGHDL/libghdl/vhdl/nodes.py
index f0b42f3e3..0caa521f6 100644
--- a/pyGHDL/libghdl/vhdl/nodes.py
+++ b/pyGHDL/libghdl/vhdl/nodes.py
@@ -5736,6 +5736,19 @@ def Set_In_Formal_Flag(obj: Iir, value: Boolean) -> None:
@export
+@BindToLibGHDL("vhdl__nodes__get_inertial_flag")
+def Get_Inertial_Flag(obj: Iir) -> Boolean:
+ """"""
+ return 0
+
+
+@export
+@BindToLibGHDL("vhdl__nodes__set_inertial_flag")
+def Set_Inertial_Flag(obj: Iir, value: Boolean) -> None:
+ """"""
+
+
+@export
@BindToLibGHDL("vhdl__nodes__get_slice_subtype")
def Get_Slice_Subtype(obj: Iir) -> Iir:
""""""
diff --git a/pyGHDL/libghdl/vhdl/nodes_meta.py b/pyGHDL/libghdl/vhdl/nodes_meta.py
index 0e2cf2549..f122e2dd1 100644
--- a/pyGHDL/libghdl/vhdl/nodes_meta.py
+++ b/pyGHDL/libghdl/vhdl/nodes_meta.py
@@ -407,91 +407,92 @@ class fields(IntEnum):
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
- Matching_Flag = 315
- Choice_Staticness = 316
- Procedure_Call = 317
- Implementation = 318
- Parameter_Association_Chain = 319
- Method_Object = 320
- Subtype_Type_Mark = 321
- Subnature_Nature_Mark = 322
- Type_Conversion_Subtype = 323
- Type_Mark = 324
- File_Type_Mark = 325
- Return_Type_Mark = 326
- Has_Disconnect_Flag = 327
- Has_Active_Flag = 328
- Is_Within_Flag = 329
- Type_Marks_List = 330
- Implicit_Alias_Flag = 331
- Alias_Signature = 332
- Attribute_Signature = 333
- Overload_List = 334
- Simple_Name_Identifier = 335
- Simple_Name_Subtype = 336
- Protected_Type_Body = 337
- Protected_Type_Declaration = 338
- Use_Flag = 339
- End_Has_Reserved_Id = 340
- End_Has_Identifier = 341
- End_Has_Postponed = 342
- Has_Label = 343
- Has_Begin = 344
- Has_End = 345
- Has_Is = 346
- Has_Pure = 347
- Has_Body = 348
- Has_Parameter = 349
- Has_Component = 350
- Has_Identifier_List = 351
- Has_Mode = 352
- Has_Class = 353
- Has_Delay_Mechanism = 354
- Suspend_Flag = 355
- Is_Ref = 356
- Is_Forward_Ref = 357
- Psl_Property = 358
- Psl_Sequence = 359
- Psl_Declaration = 360
- Psl_Expression = 361
- Psl_Boolean = 362
- PSL_Clock = 363
- PSL_NFA = 364
- PSL_Nbr_States = 365
- PSL_Clock_Sensitivity = 366
- PSL_EOS_Flag = 367
- PSL_Abort_Flag = 368
- Count_Expression = 369
- Clock_Expression = 370
- Default_Clock = 371
- Foreign_Node = 372
- Suspend_State_Index = 373
- Suspend_State_Chain = 374
+ Inertial_Flag = 290
+ Slice_Subtype = 291
+ Suffix = 292
+ Index_Subtype = 293
+ Parameter = 294
+ Parameter_2 = 295
+ Parameter_3 = 296
+ Parameter_4 = 297
+ Attr_Chain = 298
+ Signal_Attribute_Declaration = 299
+ Actual_Type = 300
+ Actual_Type_Definition = 301
+ Association_Chain = 302
+ Individual_Association_Chain = 303
+ Subprogram_Association_Chain = 304
+ Aggregate_Info = 305
+ Sub_Aggregate_Info = 306
+ Aggr_Dynamic_Flag = 307
+ Aggr_Min_Length = 308
+ Aggr_Low_Limit = 309
+ Aggr_High_Limit = 310
+ Aggr_Others_Flag = 311
+ Aggr_Named_Flag = 312
+ Aggregate_Expand_Flag = 313
+ Association_Choices_Chain = 314
+ Case_Statement_Alternative_Chain = 315
+ Matching_Flag = 316
+ Choice_Staticness = 317
+ Procedure_Call = 318
+ Implementation = 319
+ Parameter_Association_Chain = 320
+ Method_Object = 321
+ Subtype_Type_Mark = 322
+ Subnature_Nature_Mark = 323
+ Type_Conversion_Subtype = 324
+ Type_Mark = 325
+ File_Type_Mark = 326
+ Return_Type_Mark = 327
+ Has_Disconnect_Flag = 328
+ Has_Active_Flag = 329
+ Is_Within_Flag = 330
+ Type_Marks_List = 331
+ Implicit_Alias_Flag = 332
+ Alias_Signature = 333
+ Attribute_Signature = 334
+ Overload_List = 335
+ Simple_Name_Identifier = 336
+ Simple_Name_Subtype = 337
+ Protected_Type_Body = 338
+ Protected_Type_Declaration = 339
+ Use_Flag = 340
+ End_Has_Reserved_Id = 341
+ End_Has_Identifier = 342
+ End_Has_Postponed = 343
+ Has_Label = 344
+ Has_Begin = 345
+ Has_End = 346
+ Has_Is = 347
+ Has_Pure = 348
+ Has_Body = 349
+ Has_Parameter = 350
+ Has_Component = 351
+ Has_Identifier_List = 352
+ Has_Mode = 353
+ Has_Class = 354
+ Has_Delay_Mechanism = 355
+ Suspend_Flag = 356
+ Is_Ref = 357
+ Is_Forward_Ref = 358
+ Psl_Property = 359
+ Psl_Sequence = 360
+ Psl_Declaration = 361
+ Psl_Expression = 362
+ Psl_Boolean = 363
+ PSL_Clock = 364
+ PSL_NFA = 365
+ PSL_Nbr_States = 366
+ PSL_Clock_Sensitivity = 367
+ PSL_EOS_Flag = 368
+ PSL_Abort_Flag = 369
+ Count_Expression = 370
+ Clock_Expression = 371
+ Default_Clock = 372
+ Foreign_Node = 373
+ Suspend_State_Index = 374
+ Suspend_State_Chain = 375
def Get_Boolean(node, field):
@@ -2367,6 +2368,12 @@ def Has_In_Formal_Flag(kind: IirKind) -> bool:
@export
+@BindToLibGHDL("vhdl__nodes_meta__has_inertial_flag")
+def Has_Inertial_Flag(kind: IirKind) -> bool:
+ """"""
+
+
+@export
@BindToLibGHDL("vhdl__nodes_meta__has_slice_subtype")
def Has_Slice_Subtype(kind: IirKind) -> bool:
""""""