namespaces
This commit is contained in:
parent
e5892a9fb9
commit
51dd2b29b3
|
@ -10,7 +10,7 @@ using namespace Hurricane;
|
|||
#include "Transistor.h"
|
||||
#include "MetaTransistor.h"
|
||||
|
||||
namespace Chamsin {
|
||||
namespace Hurricane {
|
||||
|
||||
// ****************************************************************************************************
|
||||
// MetaTransistor implementation
|
||||
|
|
|
@ -14,7 +14,7 @@ using namespace Hurricane;
|
|||
|
||||
#include "Transistor.h"
|
||||
|
||||
namespace Chamsin {
|
||||
namespace Hurricane {
|
||||
|
||||
// ****************************************************************************************************
|
||||
// Transistor::Polarity implementation
|
||||
|
|
|
@ -1,21 +1,19 @@
|
|||
#include <iostream>
|
||||
|
||||
#include "DataBase.h"
|
||||
#include "Technology.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;
|
||||
DataBase* db = DataBase::create();
|
||||
Technology* technology = Technology::create(db, Name("MyTechnology"));
|
||||
Library* rootLibrary = Library::create(db, Name("RootLibrary"));
|
||||
Library* workLibrary = Library::create(rootLibrary, Name("WorkLibrary"));
|
||||
CDataBase* db = CDataBase::create();
|
||||
Library* workLibrary = Library::create(db->getRootLibrary(), Name("WorkLibrary"));
|
||||
TrMos* trmos = TrMos::create(workLibrary, Name("MosTr"));
|
||||
exit(0);
|
||||
} catch (Hurricane::Warning& w) {
|
||||
|
|
Loading…
Reference in New Issue