resolve conflict
This commit is contained in:
parent
f44bf30adc
commit
36af88f8c2
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue