Remove VHDL driver extension/property after use.

* In CRL::vstDriver(), remove the Vhdl::EntityExtension right after driving
    the file. This avoid keeping in memory a mostly usnused structure and
    solve the "second write after modification" problem.
This commit is contained in:
Jean-Paul Chaput 2019-08-08 14:12:22 +02:00
parent 86c4e9cb17
commit e80fcd8648
1 changed files with 2 additions and 0 deletions

View File

@ -49,6 +49,8 @@ namespace CRL {
vhdlEntity->toEntity( ccelltest );
ccelltest << endl;
ccelltest.close();
Vhdl::EntityExtension::destroy( cell );
}