oaPiPoleResidue.h

Go to the documentation of this file.
00001 // *****************************************************************************
00002 // *****************************************************************************
00003 // oaPiPoleResidue.h
00004 //
00005 // This file contains the definition for the oaPiPoleResidue class. The
00006 // oaPiPoleResidue class represents a reduced model for the parasitics seen by a
00007 // driver of a net using a PI model. The PI model consists of two capacitors and
00008 // a resistor between them, with nearCap being the capacitor closer to the
00009 // driver. For each receiver, the oaPiPoleResidue class models the interconnect
00010 // between the driver and the receiver by a set of poles and residues.
00011 //
00012 // *****************************************************************************
00013 // Except as specified in the OpenAccess terms of use of Cadence or Silicon
00014 // Integration Initiative, this material may not be copied, modified,
00015 // re-published, uploaded, executed, or distributed in any way, in any medium,
00016 // in whole or in part, without prior written permission from Cadence.
00017 //
00018 //                Copyright 2002-2005 Cadence Design Systems, Inc.
00019 //                           All Rights Reserved.
00020 //
00021 //  $Author: icftcm $
00022 //  $Revision: #1 $
00023 //  $Date: 2010/08/09 $
00024 //  $State: Exp $
00025 // *****************************************************************************
00026 // *****************************************************************************
00027 
00028 
00029 
00030 #if !defined(oaPiPoleResidue_P)
00031 #define oaPiPoleResidue_P
00032 
00033 
00034 
00035 // *****************************************************************************
00036 // Nested includes
00037 // *****************************************************************************
00038 #include "oaReducedModel.h"
00039 
00040 
00041 
00042 // *****************************************************************************
00043 // Declare and define types in the OpenAccess namespace.
00044 // *****************************************************************************
00045 BEGIN_OA_NAMESPACE
00046 
00047 
00048 
00049 // *****************************************************************************
00050 // oaPiPoleResidue
00051 // *****************************************************************************
00052 class OA_DESIGN_DLL_API oaPiPoleResidue : public oaReducedModel {
00053 public:
00054     static oaPiPoleResidue                          *create(oaDesignObject          *driver,
00055                                                             const oaAnalysisPoint   *ap,
00056                                                             oaFloat                 nearCap,
00057                                                             oaFloat                 res,
00058                                                             oaFloat                 farCap);
00059 
00060     static oaPiPoleResidue                          *find(const oaDesignObject  *driver,
00061                                                           const oaAnalysisPoint *ap);
00062 
00063     void                                            setNearCap(oaFloat value);
00064     void                                            setRes(oaFloat value);
00065     void                                            setFarCap(oaFloat value);
00066     void                                            setPiModel(oaFloat  nearCap,
00067                                                                oaFloat  res,
00068                                                                oaFloat  farCap);
00069 
00070     oaFloat                                         getNearCap() const;
00071     oaFloat                                         getRes() const;
00072     oaFloat                                         getFarCap() const;
00073     void                                            getPiModel(oaFloat  &nearCap,
00074                                                                oaFloat  &res,
00075                                                                oaFloat  &farCap) const;
00076 
00077     oaCollection<oaPoleResidue, oaPiPoleResidue>    getPoleResidues() const;
00078 };
00079 
00080 
00081 
00082 // *****************************************************************************
00083 // Design Traits.
00084 // *****************************************************************************
00085 template<>
00086 class oaTraits<oaPiPoleResidue> {
00087 public:
00088     typedef oaReducedModTypeEnum    modTypeType;
00089     typedef oaReducedModel          parentType;
00090     enum {dtIndex = oacReducedModelDataType};
00091     enum {dataTypeEnumVal = oacReducedModelDataType};
00092     enum {dbType = oacDesignDBType};
00093     enum {domain = oacNoDomain};
00094     enum {isMultiDomain = false};
00095     enum {isConcrete = true};
00096     enum {objectTypeEnumVal = oacPiPoleResidueType};
00097 };
00098 
00099 
00100 
00101 END_OA_NAMESPACE
00102 
00103 #endif

Return to top of page