aboutsummaryrefslogtreecommitdiffstats
path: root/python/libghdl
diff options
context:
space:
mode:
Diffstat (limited to 'python/libghdl')
-rw-r--r--python/libghdl/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/libghdl/__init__.py b/python/libghdl/__init__.py
index 1a8120a97..1258a5643 100644
--- a/python/libghdl/__init__.py
+++ b/python/libghdl/__init__.py
@@ -77,6 +77,7 @@ libghdl = ctypes.CDLL(_libghdl_path)
# Initialize it.
libghdl.libghdl_init()
+libghdl.libghdl__set_hooks_for_analysis()
# Set the prefix in order to locate the vhdl libraries.
libghdl.libghdl__set_exec_prefix(