aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/libghdl/errorout.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyGHDL/libghdl/errorout.py')
-rw-r--r--pyGHDL/libghdl/errorout.py38
1 files changed, 38 insertions, 0 deletions
diff --git a/pyGHDL/libghdl/errorout.py b/pyGHDL/libghdl/errorout.py
new file mode 100644
index 000000000..af0da5fc6
--- /dev/null
+++ b/pyGHDL/libghdl/errorout.py
@@ -0,0 +1,38 @@
+from libghdl import libghdl
+
+Enable_Warning = libghdl.errorout__enable_warning
+
+
+class Msgid:
+ Msgid_Note = 0
+ Warnid_Library = 1
+ 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