aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/python
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-05-28 06:36:57 +0200
committerTristan Gingold <tgingold@free.fr>2019-05-28 06:36:57 +0200
commitc24ef07771e91f11206f88d3c912941f942f4e4b (patch)
tree0e06e2872d12d830609a18368c86cf3e5ee5aac1 /src/vhdl/python
parent67422d11f9c5f4d8c97c10daf1a5e0d58d2b2df8 (diff)
downloadghdl-c24ef07771e91f11206f88d3c912941f942f4e4b.tar.gz
ghdl-c24ef07771e91f11206f88d3c912941f942f4e4b.tar.bz2
ghdl-c24ef07771e91f11206f88d3c912941f942f4e4b.zip
vhdl: get rid of Get/Set_Physical_Unit.
Use integer_literal for evaluated physical literals.
Diffstat (limited to 'src/vhdl/python')
-rw-r--r--src/vhdl/python/libghdl/thin/vhdl/nodes.py4
-rw-r--r--src/vhdl/python/libghdl/thin/vhdl/nodes_meta.py168
2 files changed, 82 insertions, 90 deletions
diff --git a/src/vhdl/python/libghdl/thin/vhdl/nodes.py b/src/vhdl/python/libghdl/thin/vhdl/nodes.py
index a42710e5e..07d440896 100644
--- a/src/vhdl/python/libghdl/thin/vhdl/nodes.py
+++ b/src/vhdl/python/libghdl/thin/vhdl/nodes.py
@@ -2035,10 +2035,6 @@ Get_Right = libghdl.vhdl__nodes__get_right
Set_Right = libghdl.vhdl__nodes__set_right
-Get_Physical_Unit = libghdl.vhdl__nodes__get_physical_unit
-
-Set_Physical_Unit = libghdl.vhdl__nodes__set_physical_unit
-
Get_Unit_Name = libghdl.vhdl__nodes__get_unit_name
Set_Unit_Name = libghdl.vhdl__nodes__set_unit_name
diff --git a/src/vhdl/python/libghdl/thin/vhdl/nodes_meta.py b/src/vhdl/python/libghdl/thin/vhdl/nodes_meta.py
index 58e795abd..523dc43de 100644
--- a/src/vhdl/python/libghdl/thin/vhdl/nodes_meta.py
+++ b/src/vhdl/python/libghdl/thin/vhdl/nodes_meta.py
@@ -305,89 +305,88 @@ class fields:
Operand = 241
Left = 242
Right = 243
- Physical_Unit = 244
- Unit_Name = 245
- Name = 246
- Group_Template_Name = 247
- Name_Staticness = 248
- Prefix = 249
- Signature_Prefix = 250
- External_Pathname = 251
- Pathname_Suffix = 252
- Pathname_Expression = 253
- In_Formal_Flag = 254
- Slice_Subtype = 255
- Suffix = 256
- Index_Subtype = 257
- Parameter = 258
- Attr_Chain = 259
- Signal_Attribute_Declaration = 260
- Actual_Type = 261
- Actual_Type_Definition = 262
- Association_Chain = 263
- Individual_Association_Chain = 264
- Subprogram_Association_Chain = 265
- Aggregate_Info = 266
- Sub_Aggregate_Info = 267
- Aggr_Dynamic_Flag = 268
- Aggr_Min_Length = 269
- Aggr_Low_Limit = 270
- Aggr_High_Limit = 271
- Aggr_Others_Flag = 272
- Aggr_Named_Flag = 273
- Aggregate_Expand_Flag = 274
- Association_Choices_Chain = 275
- Case_Statement_Alternative_Chain = 276
- Choice_Staticness = 277
- Procedure_Call = 278
- Implementation = 279
- Parameter_Association_Chain = 280
- Method_Object = 281
- Subtype_Type_Mark = 282
- Type_Conversion_Subtype = 283
- Type_Mark = 284
- File_Type_Mark = 285
- Return_Type_Mark = 286
- Has_Disconnect_Flag = 287
- Has_Active_Flag = 288
- Is_Within_Flag = 289
- Type_Marks_List = 290
- Implicit_Alias_Flag = 291
- Alias_Signature = 292
- Attribute_Signature = 293
- Overload_List = 294
- Simple_Name_Identifier = 295
- Simple_Name_Subtype = 296
- Protected_Type_Body = 297
- Protected_Type_Declaration = 298
- Use_Flag = 299
- End_Has_Reserved_Id = 300
- End_Has_Identifier = 301
- End_Has_Postponed = 302
- Has_Label = 303
- Has_Begin = 304
- Has_End = 305
- Has_Is = 306
- Has_Pure = 307
- Has_Body = 308
- Has_Parameter = 309
- Has_Component = 310
- Has_Identifier_List = 311
- Has_Mode = 312
- Has_Class = 313
- Suspend_Flag = 314
- Is_Ref = 315
- Is_Forward_Ref = 316
- Psl_Property = 317
- Psl_Sequence = 318
- Psl_Declaration = 319
- Psl_Expression = 320
- Psl_Boolean = 321
- PSL_Clock = 322
- PSL_NFA = 323
- PSL_Nbr_States = 324
- PSL_Clock_Sensitivity = 325
- PSL_EOS_Flag = 326
+ Unit_Name = 244
+ Name = 245
+ Group_Template_Name = 246
+ Name_Staticness = 247
+ Prefix = 248
+ Signature_Prefix = 249
+ External_Pathname = 250
+ Pathname_Suffix = 251
+ Pathname_Expression = 252
+ In_Formal_Flag = 253
+ Slice_Subtype = 254
+ Suffix = 255
+ Index_Subtype = 256
+ Parameter = 257
+ Attr_Chain = 258
+ Signal_Attribute_Declaration = 259
+ Actual_Type = 260
+ Actual_Type_Definition = 261
+ Association_Chain = 262
+ Individual_Association_Chain = 263
+ Subprogram_Association_Chain = 264
+ Aggregate_Info = 265
+ Sub_Aggregate_Info = 266
+ Aggr_Dynamic_Flag = 267
+ Aggr_Min_Length = 268
+ Aggr_Low_Limit = 269
+ Aggr_High_Limit = 270
+ Aggr_Others_Flag = 271
+ Aggr_Named_Flag = 272
+ Aggregate_Expand_Flag = 273
+ Association_Choices_Chain = 274
+ Case_Statement_Alternative_Chain = 275
+ Choice_Staticness = 276
+ Procedure_Call = 277
+ Implementation = 278
+ Parameter_Association_Chain = 279
+ Method_Object = 280
+ Subtype_Type_Mark = 281
+ Type_Conversion_Subtype = 282
+ Type_Mark = 283
+ File_Type_Mark = 284
+ Return_Type_Mark = 285
+ Has_Disconnect_Flag = 286
+ Has_Active_Flag = 287
+ Is_Within_Flag = 288
+ Type_Marks_List = 289
+ Implicit_Alias_Flag = 290
+ Alias_Signature = 291
+ Attribute_Signature = 292
+ Overload_List = 293
+ Simple_Name_Identifier = 294
+ Simple_Name_Subtype = 295
+ Protected_Type_Body = 296
+ Protected_Type_Declaration = 297
+ Use_Flag = 298
+ End_Has_Reserved_Id = 299
+ End_Has_Identifier = 300
+ End_Has_Postponed = 301
+ Has_Label = 302
+ Has_Begin = 303
+ Has_End = 304
+ Has_Is = 305
+ Has_Pure = 306
+ Has_Body = 307
+ Has_Parameter = 308
+ Has_Component = 309
+ Has_Identifier_List = 310
+ Has_Mode = 311
+ Has_Class = 312
+ Suspend_Flag = 313
+ Is_Ref = 314
+ Is_Forward_Ref = 315
+ Psl_Property = 316
+ Psl_Sequence = 317
+ Psl_Declaration = 318
+ Psl_Expression = 319
+ Psl_Boolean = 320
+ PSL_Clock = 321
+ PSL_NFA = 322
+ PSL_Nbr_States = 323
+ PSL_Clock_Sensitivity = 324
+ PSL_EOS_Flag = 325
Get_Boolean = libghdl.vhdl__nodes_meta__get_boolean
@@ -1185,9 +1184,6 @@ Has_Left =\
Has_Right =\
libghdl.vhdl__nodes_meta__has_right
-Has_Physical_Unit =\
- libghdl.vhdl__nodes_meta__has_physical_unit
-
Has_Unit_Name =\
libghdl.vhdl__nodes_meta__has_unit_name