diff options
author | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2020-12-29 09:56:33 +0100 |
---|---|---|
committer | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2020-12-29 09:56:33 +0100 |
commit | 98054aaf2a21d3fab0fbaff4d347048d0d507413 (patch) | |
tree | 1ea15c5adb254b3735d00ab2b399ef61573fd72d /pyGHDL/dom | |
parent | 59d35ab49e7ed598387f3a3c5a53138096893b3f (diff) | |
download | ghdl-98054aaf2a21d3fab0fbaff4d347048d0d507413.tar.gz ghdl-98054aaf2a21d3fab0fbaff4d347048d0d507413.tar.bz2 ghdl-98054aaf2a21d3fab0fbaff4d347048d0d507413.zip |
Activated 'analyze_init_status' in Python code.
Diffstat (limited to 'pyGHDL/dom')
-rw-r--r-- | pyGHDL/dom/Misc.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pyGHDL/dom/Misc.py b/pyGHDL/dom/Misc.py index af8c6247a..35149b3a2 100644 --- a/pyGHDL/dom/Misc.py +++ b/pyGHDL/dom/Misc.py @@ -33,9 +33,9 @@ class Design(VHDLModel_Design): libghdl.set_option(b"--std=08") - # Finish initialization. This will load the standard package. -# if libghdl.analyze_init_status() != 0: -# raise LibGHDLException("Error initializing 'libghdl'.") + # Finish initialization. This will load the standard package. + if libghdl.analyze_init_status() != 0: + raise LibGHDLException("Error initializing 'libghdl'.") @export class Library(VHDLModel_Library): |