diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-12-30 10:29:16 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-12-30 10:29:16 +0100 |
commit | f1c30ad16e0914455ee2c84e80714f6b271021f2 (patch) | |
tree | 11ebb7a91faeed8c17fdaf84cd8cd14d334d8c6a /pyGHDL/dom | |
parent | 56dde6c446367f85882d288d7606015ace7f80ed (diff) | |
download | ghdl-f1c30ad16e0914455ee2c84e80714f6b271021f2.tar.gz ghdl-f1c30ad16e0914455ee2c84e80714f6b271021f2.tar.bz2 ghdl-f1c30ad16e0914455ee2c84e80714f6b271021f2.zip |
Rework initialization and finalization.
libghdl can now be re-initialized.
Diffstat (limited to 'pyGHDL/dom')
-rw-r--r-- | pyGHDL/dom/Misc.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pyGHDL/dom/Misc.py b/pyGHDL/dom/Misc.py index df1ab4cce..0c9736cb0 100644 --- a/pyGHDL/dom/Misc.py +++ b/pyGHDL/dom/Misc.py @@ -27,6 +27,9 @@ class Design(VHDLModel_Design): def __ghdl_init(self): """Initialization: set options and then load libraries""" + # Initialize libghdl + libghdl.finalize() + libghdl.initialize() # Collect error messages in memory errorout_memory.Install_Handler() |