aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-03-10 18:19:18 +0100
committerTristan Gingold <tgingold@free.fr>2020-03-10 18:19:23 +0100
commit1f65e819edaa21227b7e428deca239beb9b38ce2 (patch)
treef83738b0ab467af17b36d66092a57f639e8879b1 /python
parent947e9b02a14e82093ec995acb3bc51cc93c893bc (diff)
downloadghdl-1f65e819edaa21227b7e428deca239beb9b38ce2.tar.gz
ghdl-1f65e819edaa21227b7e428deca239beb9b38ce2.tar.bz2
ghdl-1f65e819edaa21227b7e428deca239beb9b38ce2.zip
synthesis: add option --vendor-library= for synthesis.
Diffstat (limited to 'python')
-rw-r--r--python/libghdl/thin/errorout.py58
-rw-r--r--python/libghdl/thin/vhdl/nodes.py4
-rw-r--r--python/libghdl/thin/vhdl/nodes_meta.py286
3 files changed, 179 insertions, 169 deletions
diff --git a/python/libghdl/thin/errorout.py b/python/libghdl/thin/errorout.py
index cbe6d030e..72df62b06 100644
--- a/python/libghdl/thin/errorout.py
+++ b/python/libghdl/thin/errorout.py
@@ -7,31 +7,33 @@ Enable_Warning = libghdl.errorout__enable_warning
class Msgid:
Msgid_Note = 0
Warnid_Library = 1
- Warnid_Missing_Xref = 2
- Warnid_Default_Binding = 3
- Warnid_Binding = 4
- Warnid_Port = 5
- Warnid_Reserved_Word = 6
- Warnid_Pragma = 7
- Warnid_Nested_Comment = 8
- Warnid_Directive = 9
- Warnid_Parenthesis = 10
- Warnid_Vital_Generic = 11
- Warnid_Delayed_Checks = 12
- Warnid_Body = 13
- Warnid_Specs = 14
- Warnid_Universal = 15
- Warnid_Port_Bounds = 16
- Warnid_Runtime_Error = 17
- Warnid_Delta_Cycle = 18
- Warnid_Shared = 19
- Warnid_Hide = 20
- Warnid_Unused = 21
- Warnid_Others = 22
- Warnid_Pure = 23
- Warnid_Analyze_Assert = 24
- Warnid_Attribute = 25
- Warnid_Static = 26
- Msgid_Warning = 27
- Msgid_Error = 28
- Msgid_Fatal = 29
+ Warnid_Deprecated_Option = 2
+ Warnid_Unexpected_Option = 3
+ Warnid_Missing_Xref = 4
+ Warnid_Default_Binding = 5
+ Warnid_Binding = 6
+ Warnid_Port = 7
+ Warnid_Reserved_Word = 8
+ Warnid_Pragma = 9
+ Warnid_Nested_Comment = 10
+ Warnid_Directive = 11
+ Warnid_Parenthesis = 12
+ Warnid_Vital_Generic = 13
+ Warnid_Delayed_Checks = 14
+ Warnid_Body = 15
+ Warnid_Specs = 16
+ Warnid_Universal = 17
+ Warnid_Port_Bounds = 18
+ Warnid_Runtime_Error = 19
+ Warnid_Delta_Cycle = 20
+ Warnid_Shared = 21
+ Warnid_Hide = 22
+ Warnid_Unused = 23
+ Warnid_Others = 24
+ Warnid_Pure = 25
+ Warnid_Analyze_Assert = 26
+ Warnid_Attribute = 27
+ Warnid_Static = 28
+ Msgid_Warning = 29
+ Msgid_Error = 30
+ Msgid_Fatal = 31
diff --git a/python/libghdl/thin/vhdl/nodes.py b/python/libghdl/thin/vhdl/nodes.py
index 2e4f2a030..e99602691 100644
--- a/python/libghdl/thin/vhdl/nodes.py
+++ b/python/libghdl/thin/vhdl/nodes.py
@@ -2265,6 +2265,10 @@ Get_Elab_Flag = libghdl.vhdl__nodes__get_elab_flag
Set_Elab_Flag = libghdl.vhdl__nodes__set_elab_flag
+Get_Vendor_Library_Flag = libghdl.vhdl__nodes__get_vendor_library_flag
+
+Set_Vendor_Library_Flag = libghdl.vhdl__nodes__set_vendor_library_flag
+
Get_Configuration_Mark_Flag = libghdl.vhdl__nodes__get_configuration_mark_flag
Set_Configuration_Mark_Flag = libghdl.vhdl__nodes__set_configuration_mark_flag
diff --git a/python/libghdl/thin/vhdl/nodes_meta.py b/python/libghdl/thin/vhdl/nodes_meta.py
index 05ea7754e..d6387d3ca 100644
--- a/python/libghdl/thin/vhdl/nodes_meta.py
+++ b/python/libghdl/thin/vhdl/nodes_meta.py
@@ -278,147 +278,148 @@ class fields:
Has_Signal_Flag = 214
Purity_State = 215
Elab_Flag = 216
- Configuration_Mark_Flag = 217
- Configuration_Done_Flag = 218
- Index_Constraint_Flag = 219
- Hide_Implicit_Flag = 220
- Assertion_Condition = 221
- Report_Expression = 222
- Severity_Expression = 223
- Instantiated_Unit = 224
- Generic_Map_Aspect_Chain = 225
- Port_Map_Aspect_Chain = 226
- Configuration_Name = 227
- Component_Configuration = 228
- Configuration_Specification = 229
- Default_Binding_Indication = 230
- Default_Configuration_Declaration = 231
- Expression = 232
- Conditional_Expression_Chain = 233
- Allocator_Designated_Type = 234
- Selected_Waveform_Chain = 235
- Conditional_Waveform_Chain = 236
- Guard_Expression = 237
- Guard_Decl = 238
- Guard_Sensitivity_List = 239
- Signal_Attribute_Chain = 240
- Block_Block_Configuration = 241
- Package_Header = 242
- Block_Header = 243
- Uninstantiated_Package_Name = 244
- Uninstantiated_Package_Decl = 245
- Instance_Source_File = 246
- Generate_Block_Configuration = 247
- Generate_Statement_Body = 248
- Alternative_Label = 249
- Generate_Else_Clause = 250
- Condition = 251
- Else_Clause = 252
- Parameter_Specification = 253
- Parent = 254
- Loop_Label = 255
- Exit_Flag = 256
- Next_Flag = 257
- Component_Name = 258
- Instantiation_List = 259
- Entity_Aspect = 260
- Default_Entity_Aspect = 261
- Binding_Indication = 262
- Named_Entity = 263
- Alias_Declaration = 264
- Referenced_Name = 265
- Expr_Staticness = 266
- Error_Origin = 267
- Operand = 268
- Left = 269
- Right = 270
- Unit_Name = 271
- Name = 272
- Group_Template_Name = 273
- Name_Staticness = 274
- Prefix = 275
- Signature_Prefix = 276
- External_Pathname = 277
- Pathname_Suffix = 278
- Pathname_Expression = 279
- In_Formal_Flag = 280
- Slice_Subtype = 281
- Suffix = 282
- Index_Subtype = 283
- Parameter = 284
- Parameter_2 = 285
- Parameter_3 = 286
- Parameter_4 = 287
- Attr_Chain = 288
- Signal_Attribute_Declaration = 289
- Actual_Type = 290
- Actual_Type_Definition = 291
- Association_Chain = 292
- Individual_Association_Chain = 293
- Subprogram_Association_Chain = 294
- Aggregate_Info = 295
- Sub_Aggregate_Info = 296
- Aggr_Dynamic_Flag = 297
- Aggr_Min_Length = 298
- Aggr_Low_Limit = 299
- Aggr_High_Limit = 300
- Aggr_Others_Flag = 301
- Aggr_Named_Flag = 302
- Aggregate_Expand_Flag = 303
- Association_Choices_Chain = 304
- Case_Statement_Alternative_Chain = 305
- Choice_Staticness = 306
- Procedure_Call = 307
- Implementation = 308
- Parameter_Association_Chain = 309
- Method_Object = 310
- Subtype_Type_Mark = 311
- Subnature_Nature_Mark = 312
- Type_Conversion_Subtype = 313
- Type_Mark = 314
- File_Type_Mark = 315
- Return_Type_Mark = 316
- Has_Disconnect_Flag = 317
- Has_Active_Flag = 318
- Is_Within_Flag = 319
- Type_Marks_List = 320
- Implicit_Alias_Flag = 321
- Alias_Signature = 322
- Attribute_Signature = 323
- Overload_List = 324
- Simple_Name_Identifier = 325
- Simple_Name_Subtype = 326
- Protected_Type_Body = 327
- Protected_Type_Declaration = 328
- Use_Flag = 329
- End_Has_Reserved_Id = 330
- End_Has_Identifier = 331
- End_Has_Postponed = 332
- Has_Label = 333
- Has_Begin = 334
- Has_End = 335
- Has_Is = 336
- Has_Pure = 337
- Has_Body = 338
- Has_Parameter = 339
- Has_Component = 340
- Has_Identifier_List = 341
- Has_Mode = 342
- Has_Class = 343
- Has_Delay_Mechanism = 344
- Suspend_Flag = 345
- Is_Ref = 346
- Is_Forward_Ref = 347
- Psl_Property = 348
- Psl_Sequence = 349
- Psl_Declaration = 350
- Psl_Expression = 351
- Psl_Boolean = 352
- PSL_Clock = 353
- PSL_NFA = 354
- PSL_Nbr_States = 355
- PSL_Clock_Sensitivity = 356
- PSL_EOS_Flag = 357
+ Vendor_Library_Flag = 217
+ Configuration_Mark_Flag = 218
+ Configuration_Done_Flag = 219
+ Index_Constraint_Flag = 220
+ Hide_Implicit_Flag = 221
+ Assertion_Condition = 222
+ Report_Expression = 223
+ Severity_Expression = 224
+ Instantiated_Unit = 225
+ Generic_Map_Aspect_Chain = 226
+ Port_Map_Aspect_Chain = 227
+ Configuration_Name = 228
+ Component_Configuration = 229
+ Configuration_Specification = 230
+ Default_Binding_Indication = 231
+ Default_Configuration_Declaration = 232
+ Expression = 233
+ Conditional_Expression_Chain = 234
+ Allocator_Designated_Type = 235
+ Selected_Waveform_Chain = 236
+ Conditional_Waveform_Chain = 237
+ Guard_Expression = 238
+ Guard_Decl = 239
+ Guard_Sensitivity_List = 240
+ Signal_Attribute_Chain = 241
+ Block_Block_Configuration = 242
+ Package_Header = 243
+ Block_Header = 244
+ Uninstantiated_Package_Name = 245
+ Uninstantiated_Package_Decl = 246
+ Instance_Source_File = 247
+ Generate_Block_Configuration = 248
+ Generate_Statement_Body = 249
+ Alternative_Label = 250
+ Generate_Else_Clause = 251
+ Condition = 252
+ Else_Clause = 253
+ Parameter_Specification = 254
+ Parent = 255
+ Loop_Label = 256
+ Exit_Flag = 257
+ Next_Flag = 258
+ Component_Name = 259
+ Instantiation_List = 260
+ Entity_Aspect = 261
+ Default_Entity_Aspect = 262
+ Binding_Indication = 263
+ Named_Entity = 264
+ Alias_Declaration = 265
+ Referenced_Name = 266
+ Expr_Staticness = 267
+ Error_Origin = 268
+ Operand = 269
+ Left = 270
+ Right = 271
+ Unit_Name = 272
+ Name = 273
+ Group_Template_Name = 274
+ Name_Staticness = 275
+ Prefix = 276
+ Signature_Prefix = 277
+ External_Pathname = 278
+ Pathname_Suffix = 279
+ Pathname_Expression = 280
+ In_Formal_Flag = 281
+ Slice_Subtype = 282
+ Suffix = 283
+ Index_Subtype = 284
+ Parameter = 285
+ Parameter_2 = 286
+ Parameter_3 = 287
+ Parameter_4 = 288
+ Attr_Chain = 289
+ Signal_Attribute_Declaration = 290
+ Actual_Type = 291
+ Actual_Type_Definition = 292
+ Association_Chain = 293
+ Individual_Association_Chain = 294
+ Subprogram_Association_Chain = 295
+ Aggregate_Info = 296
+ Sub_Aggregate_Info = 297
+ Aggr_Dynamic_Flag = 298
+ Aggr_Min_Length = 299
+ Aggr_Low_Limit = 300
+ Aggr_High_Limit = 301
+ Aggr_Others_Flag = 302
+ Aggr_Named_Flag = 303
+ Aggregate_Expand_Flag = 304
+ Association_Choices_Chain = 305
+ Case_Statement_Alternative_Chain = 306
+ Choice_Staticness = 307
+ Procedure_Call = 308
+ Implementation = 309
+ Parameter_Association_Chain = 310
+ Method_Object = 311
+ Subtype_Type_Mark = 312
+ Subnature_Nature_Mark = 313
+ Type_Conversion_Subtype = 314
+ Type_Mark = 315
+ File_Type_Mark = 316
+ Return_Type_Mark = 317
+ Has_Disconnect_Flag = 318
+ Has_Active_Flag = 319
+ Is_Within_Flag = 320
+ Type_Marks_List = 321
+ Implicit_Alias_Flag = 322
+ Alias_Signature = 323
+ Attribute_Signature = 324
+ Overload_List = 325
+ Simple_Name_Identifier = 326
+ Simple_Name_Subtype = 327
+ Protected_Type_Body = 328
+ Protected_Type_Declaration = 329
+ Use_Flag = 330
+ End_Has_Reserved_Id = 331
+ End_Has_Identifier = 332
+ End_Has_Postponed = 333
+ Has_Label = 334
+ Has_Begin = 335
+ Has_End = 336
+ Has_Is = 337
+ Has_Pure = 338
+ Has_Body = 339
+ Has_Parameter = 340
+ Has_Component = 341
+ Has_Identifier_List = 342
+ Has_Mode = 343
+ Has_Class = 344
+ Has_Delay_Mechanism = 345
+ Suspend_Flag = 346
+ Is_Ref = 347
+ Is_Forward_Ref = 348
+ Psl_Property = 349
+ Psl_Sequence = 350
+ Psl_Declaration = 351
+ Psl_Expression = 352
+ Psl_Boolean = 353
+ PSL_Clock = 354
+ PSL_NFA = 355
+ PSL_Nbr_States = 356
+ PSL_Clock_Sensitivity = 357
+ PSL_EOS_Flag = 358
Get_Boolean = libghdl.vhdl__nodes_meta__get_boolean
@@ -1135,6 +1136,9 @@ Has_Purity_State =\
Has_Elab_Flag =\
libghdl.vhdl__nodes_meta__has_elab_flag
+Has_Vendor_Library_Flag =\
+ libghdl.vhdl__nodes_meta__has_vendor_library_flag
+
Has_Configuration_Mark_Flag =\
libghdl.vhdl__nodes_meta__has_configuration_mark_flag