Transistor Layout in progress
This commit is contained in:
parent
0b6f74bda6
commit
ab1448a18f
|
@ -1 +1,14 @@
|
||||||
|
#include "UpdateSession.h"
|
||||||
|
using namespace Hurricane;
|
||||||
|
|
||||||
#include "Transistor.h"
|
#include "Transistor.h"
|
||||||
|
|
||||||
|
void Transistor::createLayout() {
|
||||||
|
UpdateSession::open();
|
||||||
|
|
||||||
|
//Net* source = transistor->getSource();
|
||||||
|
//Net* drain = transistor->getDrain();
|
||||||
|
//Net* grid = transistor->getGrid();
|
||||||
|
|
||||||
|
UpdateSession::close();
|
||||||
|
}
|
||||||
|
|
|
@ -13,7 +13,6 @@ class Transistor : public Cell {
|
||||||
|
|
||||||
static Transistor* create(Library* library, const Name& name, const Polarity& polarity);
|
static Transistor* create(Library* library, const Name& name, const Polarity& polarity);
|
||||||
void createLayout();
|
void createLayout();
|
||||||
void duplicateLayout();
|
|
||||||
|
|
||||||
bool isNmos() const { return polarity == N; };
|
bool isNmos() const { return polarity == N; };
|
||||||
bool isPmos() const { return polarity == P; };
|
bool isPmos() const { return polarity == P; };
|
||||||
|
|
Loading…
Reference in New Issue