aboutsummaryrefslogtreecommitdiffstats
path: root/python/libghdl/thin/vhdl/std_package.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/libghdl/thin/vhdl/std_package.py')
-rw-r--r--python/libghdl/thin/vhdl/std_package.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/python/libghdl/thin/vhdl/std_package.py b/python/libghdl/thin/vhdl/std_package.py
new file mode 100644
index 000000000..a9628ce89
--- /dev/null
+++ b/python/libghdl/thin/vhdl/std_package.py
@@ -0,0 +1,13 @@
+from libghdl import libghdl
+from ctypes import c_int32
+
+# Use .value
+Std_Location = c_int32.in_dll(libghdl, "vhdl__std_package__std_location")
+
+# Use .value
+Standard_Package = c_int32.in_dll(
+ libghdl, "vhdl__std_package__standard_package")
+
+# Use .value
+Character_Type_Definition = c_int32.in_dll(
+ libghdl, "vhdl__std_package__character_type_definition")