diff --git a/chamsin/src/dtr/DtrAccess.cpp b/chamsin/src/dtr/DtrAccess.cpp index 9473786a..15761527 100644 --- a/chamsin/src/dtr/DtrAccess.cpp +++ b/chamsin/src/dtr/DtrAccess.cpp @@ -86,6 +86,10 @@ void DtrAccess::_postCreate() { while(m!=n) { Layer * layer = tech->getLayer(Name(*m)); if(!layer) { + for_each_layer(l, tech->getLayers()) { + cerr << l << endl; + end_for; + } throw Error("Error : in function DtrAccess::_postCreate , Can't find Layer " + getString(*m) + " in technology file when parser DtrFile."); // cerr << Warning("In function DtrAccess::_postCreate , Can't find Layer " diff --git a/chamsin/src/tests/AnalogicTest.cpp b/chamsin/src/tests/AnalogicTest.cpp index ac8fe904..b69cf663 100644 --- a/chamsin/src/tests/AnalogicTest.cpp +++ b/chamsin/src/tests/AnalogicTest.cpp @@ -1,20 +1,20 @@ #include +#include "DataBase.h" #include "Library.h" #include "Warning.h" using namespace Hurricane; -#include "crlcore/CDataBase.h" -using namespace CRL; - #include "TrMos.h" using namespace DEVICE; int main() { try { cout << "simple analogic test" << endl; - CDataBase* db = CDataBase::create(); - Library* workLibrary = Library::create(db->getRootLibrary(), Name("WorkLibrary")); + DataBase* db = DataBase::create(); + Technology* technology = Technology::create(db); + Library* rootLibrary = Library::create(db, Name("RootLibrary")); + Library* workLibrary = Library::create(rootLibrary, Name("WorkLibrary")); TrMos* trmos = TrMos::create(workLibrary, Name("MosTr")); exit(0); } catch (Hurricane::Warning& w) {