resolve conflict

This commit is contained in:
The Coriolis Project 2008-05-06 13:33:39 +00:00
parent f44bf30adc
commit 36af88f8c2
1 changed files with 1 additions and 12 deletions

View File

@ -1,27 +1,16 @@
#include <iostream> #include <iostream>
#include "Warning.h" #include "Warning.h"
#include "Error.h"
using namespace Hurricane; using namespace Hurricane;
#include "AEnv.h" #include "AEnv.h"
#include "TrMos.h"
using namespace DEVICE;
int main() { int main() {
try { try {
cout << "simple analogic test" << endl; cout << "simple analogic test" << endl;
//CDataBase* db = CDataBase::create();
//Library* workLibrary = Library::create(db->getRootLibrary(), Name("WorkLibrary"));
//TrMos* trmos = TrMos::create(workLibrary, Name("MosTr"));
AEnv::create("toto"); AEnv::create("toto");
trmos->create(Transistor::Polarity::P, true);
trmos->setMosLength(3);
trmos->setMosWidth(3);
trmos->generate(5, true, false, 3, 3);
exit(0); exit(0);
} catch (Hurricane::Warning& w) { } catch (Hurricane::Warning& w) {
cerr << w.what() << endl; cerr << w.what() << endl;