From ab1448a18fbe658057385ffe6ce5a97d236bf30f Mon Sep 17 00:00:00 2001 From: The Coriolis Project Date: Tue, 6 May 2008 16:50:15 +0000 Subject: [PATCH] Transistor Layout in progress --- chamsin/src/analogic/Transistor.cpp | 13 +++++++++++++ chamsin/src/analogic/Transistor.h | 1 - 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/chamsin/src/analogic/Transistor.cpp b/chamsin/src/analogic/Transistor.cpp index 236c993a..669d6a86 100644 --- a/chamsin/src/analogic/Transistor.cpp +++ b/chamsin/src/analogic/Transistor.cpp @@ -1 +1,14 @@ +#include "UpdateSession.h" +using namespace Hurricane; + #include "Transistor.h" + +void Transistor::createLayout() { + UpdateSession::open(); + + //Net* source = transistor->getSource(); + //Net* drain = transistor->getDrain(); + //Net* grid = transistor->getGrid(); + + UpdateSession::close(); +} diff --git a/chamsin/src/analogic/Transistor.h b/chamsin/src/analogic/Transistor.h index 5e881a4e..d68e0d3f 100644 --- a/chamsin/src/analogic/Transistor.h +++ b/chamsin/src/analogic/Transistor.h @@ -13,7 +13,6 @@ class Transistor : public Cell { static Transistor* create(Library* library, const Name& name, const Polarity& polarity); void createLayout(); - void duplicateLayout(); bool isNmos() const { return polarity == N; }; bool isPmos() const { return polarity == P; };