aboutsummaryrefslogtreecommitdiffstats
path: root/python/libghdl/thin/vhdl/ieee.py
blob: d1192537d67061e12e85fb85b3f9bf996006629e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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")