diff options
-rw-r--r-- | pyGHDL/dom/NonStandard.py | 15 | ||||
-rw-r--r-- | pyGHDL/dom/requirements.txt | 2 |
2 files changed, 16 insertions, 1 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): diff --git a/pyGHDL/dom/requirements.txt b/pyGHDL/dom/requirements.txt index 6b540d7b7..d274927cc 100644 --- a/pyGHDL/dom/requirements.txt +++ b/pyGHDL/dom/requirements.txt @@ -1,4 +1,4 @@ -r ../libghdl/requirements.txt -pyVHDLModel==0.18.0 +pyVHDLModel==0.19.0 #https://github.com/VHDL/pyVHDLModel/archive/dev.zip#pyVHDLModel |