aboutsummaryrefslogtreecommitdiffstats
path: root/python/libghdl/thin/vhdl/ieee.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/libghdl/thin/vhdl/ieee.py')
-rw-r--r--python/libghdl/thin/vhdl/ieee.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/python/libghdl/thin/vhdl/ieee.py b/python/libghdl/thin/vhdl/ieee.py
new file mode 100644
index 000000000..d1192537d
--- /dev/null
+++ b/python/libghdl/thin/vhdl/ieee.py
@@ -0,0 +1,21 @@
+from libghdl import libghdl
+from ctypes import c_int
+
+Std_Logic_1164_Pkg = c_int.in_dll(
+ libghdl, "vhdl__ieee__std_logic_1164__std_logic_1164_pkg")
+
+# Get value
+Std_Logic_Type = c_int.in_dll(
+ libghdl, "vhdl__ieee__std_logic_1164__std_logic_type")
+
+# Get value
+Std_Logic_Vector_Type = c_int.in_dll(
+ libghdl, "vhdl__ieee__std_logic_1164__std_logic_vector_type")
+
+# Get value
+Rising_Edge = c_int.in_dll(
+ libghdl, "vhdl__ieee__std_logic_1164__rising_edge")
+
+# Get value
+Falling_Edge = c_int.in_dll(
+ libghdl, "vhdl__ieee__std_logic_1164__falling_edge")