00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #if !defined(oagTimerLinearWireModel_P)
00011 #define oagTimerLinearWireModel_P
00012
00013 #include "oaDesignDB.h"
00014 #include "oagTimerWireModel.h"
00015
00016 using namespace oa;
00017
00018 namespace oagTimer {
00019
00034
00035 class LinearWireModel : public WireModel {
00036 public:
00037 LinearWireModel(oaTech *tech = 0);
00038
00040 ~LinearWireModel() {
00041
00042 }
00043
00044 void set(oaTech *tech);
00045
00046 public:
00047 double getWireCap(oaNet *net);
00048 DelayType getWireDelay(oaNet *net);
00049
00050 private:
00052 oaTech *_tech;
00053
00056 double _capPerLength;
00057
00060 double _resPerLength;
00061 };
00062
00063 }
00064
00065 #endif