Force VST driver to clear all Vhdl properties after running.

* Change: In CRL::vstDriver(), remove all Vhdl properties after running.
    The properties are not updated if the cell (Entity) change, so the
    next time it is called, an incomplete or incoherent state was saved
    (for example, incomplete "port map"). Removing all properties is
    less efficient but works.
* Cleanup: In CRL/helpers/overlay, remove forgotten debug message.
This commit is contained in:
Jean-Paul Chaput 2020-10-23 22:26:50 +02:00
parent f7ba17213d
commit 0217ca1f26
2 changed files with 2 additions and 2 deletions

View File

@ -315,7 +315,6 @@ class CfgCache ( object ):
def apply ( self, priority=None ):
"""Apply the parameters values stored in the cache to the ``Cfg`` database."""
if priority is None: priority = self._priority
print( self._path )
if not len(self._path) and priority is not None:
Cfg.Configuration.pushDefaultPriority( priority )
for attrName in self._rattr.keys():

View File

@ -72,7 +72,8 @@ namespace CRL {
cellStream << endl;
cellStream.close();
Vhdl::EntityExtension::destroy( cell );
//Vhdl::EntityExtension::destroy( cell );
Vhdl::EntityExtension::destroyAll();
}