aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/dom/NonStandard.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyGHDL/dom/NonStandard.py')
-rw-r--r--pyGHDL/dom/NonStandard.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/pyGHDL/dom/NonStandard.py b/pyGHDL/dom/NonStandard.py
index 64c34b527..579874bfc 100644
--- a/pyGHDL/dom/NonStandard.py
+++ b/pyGHDL/dom/NonStandard.py
@@ -111,6 +111,21 @@ class Design(VHDLModel_Design):
if libghdl_analyze_init_status() != 0:
raise LibGHDLException("Error initializing 'libghdl'.")
+ def LoadDefaultLibraries(self):
+ t1 = time.perf_counter()
+
+ super().LoadStdLibrary()
+ super().LoadIEEELibrary()
+
+ self._loadDefaultLibraryTime = time.perf_counter() - t1
+
+ def Analyze(self):
+ t1 = time.perf_counter()
+
+ super().Analyze()
+
+ self._analyzeTime = time.perf_counter() - t1
+
@export
class Library(VHDLModel_Library):