aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/libghdl/vhdl/ieee.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyGHDL/libghdl/vhdl/ieee.py')
-rw-r--r--pyGHDL/libghdl/vhdl/ieee.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/pyGHDL/libghdl/vhdl/ieee.py b/pyGHDL/libghdl/vhdl/ieee.py
new file mode 100644
index 000000000..35db1a631
--- /dev/null
+++ b/pyGHDL/libghdl/vhdl/ieee.py
@@ -0,0 +1,20 @@
+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")