coriolis/crlcore/etc/node600/phenitec/patterns.py

20 lines
844 B
Python
Raw Normal View History

Support for full Database clear & restart. * New: In CRL/etc/node600/phenitec, ported configuration of Phenitec 0.6um Compliant with DataBase reset. * New: In CRL/python/helpers, added function "unloadUserSettings()" to unload Python modules prior to a full reset. Added "resetCoriolis()" to perform full DataBase reset. * Change: In CRL::AllianceFramework, make it a derived class of DBo so the destroy() is now provided. * Bug: In CRL::AllianceFramework::getCell(), do not attempt any load if the library list is empty. Should never occur except in case of a botched databse reset. * New: In CRL::AllianceFramework, new method "saveCATAL()" to write back the catalog of a library and "saveCells()" to write back the cells. Note: only cells actually loaded in memory will be write back. * New: In CRL::Catalog, add method "saveToFile()" to write back the CATAL of a library. * Change: In CRL::ParserDriver, replace "const string&" by "string" (improved string support of the GNU STL). * Change: In CRL::ParserSlot, use string instead of Name. * Change: In CRL::ApParser, make _layerInformation an ordinary attribute instead of a static one. This allow for it's correct resetting across databas resets. * Change: In CRL::VstParserGrammar, reinitialize Vst::framework at each parser call. Needed to support database reset. * New: In Hurricane::DBo, add an object counter to be sure that when we perform a reset, no remaining DBo is allocated. This is different of the object id which is ever increasing. Note that, at reset, we check against "1" remaining element as at this point only Database is still allocated. Add a new "resetId()" method. MUST NEVER BE CALLED except by DataBase::_preDestroy(). * New: In Hurricane::Database, new clear() method to remove the Cells of all the libraries in reverse hierarchical depth order. Make use of the new CellsSort class. * Change: In Hurricane::DataBase::_preDestroy(), call "clear()" and DBo::resetId(). * Change: In Hurricane::Breakpoint, change the default callback to be a static function. So we can restore it later. * Bug: In Hurricane::Instance::_preDestroy(), there was yet another loop of deletion over a collection for the shared pathes. Replace it by the repetitive deletion of the first element. * Bug: In Hurricane::Net::_preDestroy(), RoutingPads must be destroyed prior to any other component. * New: In Hurricane::ColorScale, add a "qtFree()" method for freeing the Qt Brush, Pen & Color. * New: In Hurricane::DrawingStyle, add a "qtFree()" method for freeing the Qt Brush, Pen & Color. * New: In Hurricane::Graphics, add a "disable()" method to call the various "qtFree()" of the sub-objects.
2020-02-29 09:55:14 -06:00
# This file is part of the Coriolis Software.
# Copyright (c) UPMC 2019-2019, All Rights Reserved
#
# +-----------------------------------------------------------------+
# | C O R I O L I S |
# | Alliance / Hurricane Interface |
# | |
# | Author : Jean-Paul CHAPUT |
# | E-mail : Jean-Paul.Chaput@lip6.fr |
# | =============================================================== |
# | Python : "./etc/node600/phenitec/patterns.py" |
# +-----------------------------------------------------------------+
import helpers.io
helpers.io.vprint( 2, ' - "%s".' % helpers.truncPath(__file__) )
import common.patterns