oaElmore.h

Go to the documentation of this file.
00001 // *****************************************************************************
00002 // *****************************************************************************
00003 // oaElmore.h
00004 //
00005 // This file contains the definition for the oaElmore class.  The oaElmore class
00006 // represents the first moment (delay) of the impulse response in a reduced
00007 // model of the interconnect parasitics from a particular driver to the
00008 // receivers on the net.
00009 //
00010 // *****************************************************************************
00011 // Except as specified in the OpenAccess terms of use of Cadence or Silicon
00012 // Integration Initiative, this material may not be copied, modified,
00013 // re-published, uploaded, executed, or distributed in any way, in any medium,
00014 // in whole or in part, without prior written permission from Cadence.
00015 //
00016 //                Copyright 2002-2005 Cadence Design Systems, Inc.
00017 //                           All Rights Reserved.
00018 //
00019 //  $Author: icftcm $
00020 //  $Revision: #1 $
00021 //  $Date: 2010/08/09 $
00022 //  $State: Exp $
00023 // *****************************************************************************
00024 // *****************************************************************************
00025 
00026 
00027 
00028 #if !defined(oaElmore_P)
00029 #define oaElmore_P
00030 
00031 
00032 
00033 // *****************************************************************************
00034 // Nested includes
00035 // *****************************************************************************
00036 #include "oaLumpedElmore.h"
00037 #include "oaPiElmore.h"
00038 
00039 
00040 
00041 // *****************************************************************************
00042 // Declare and define types in the OpenAccess namespace.
00043 // *****************************************************************************
00044 BEGIN_OA_NAMESPACE
00045 
00046 
00047 
00048 // *****************************************************************************
00049 // oaElmore
00050 // *****************************************************************************
00051 class OA_DESIGN_DLL_API oaElmore : public oaDesignObject {
00052 public:
00053     static oaElmore         *create(oaLumpedElmore  *model,
00054                                     oaDesignObject  *receiver,
00055                                     oaFloat         delay);
00056 
00057     static oaElmore         *create(oaPiElmore      *model,
00058                                     oaDesignObject  *receiver,
00059                                     oaFloat         delay);
00060 
00061     static oaElmore         *find(const oaLumpedElmore  *model,
00062                                   const oaDesignObject  *receiver);
00063 
00064     static oaElmore         *find(const oaPiElmore      *model,
00065                                   const oaDesignObject  *receiver);
00066 
00067     void                    destroy();
00068 
00069     void                    setDelay(oaFloat value);
00070 
00071     oaFloat                 getDelay() const;
00072     oaDesignObject          *getReceiver() const;
00073     oaReducedModel          *getReducedModel() const;
00074 
00075     enum {dtIndex = oacElmoreDataType};
00076     enum {domain = oacNoDomain};
00077 };
00078 
00079 
00080 
00081 // *****************************************************************************
00082 // Design Traits.
00083 // *****************************************************************************
00084 template<>
00085 class oaTraits<oaElmore> {
00086 public:
00087     typedef oaDesignObject      parentType;
00088     typedef oaElmoreModTypeEnum modTypeType;
00089     enum {dbType = oacDesignDBType};
00090     enum {domain = oacNoDomain};
00091     enum {isMultiDomain = false};
00092     enum {dtIndex = oacElmoreDataType};
00093     enum {isConcrete = true};
00094     enum {objectTypeEnumVal = oacElmoreType};
00095     enum {dataTypeEnumVal = oacElmoreDataType};
00096 };
00097 
00098 
00099 
00100 END_OA_NAMESPACE
00101 
00102 #endif

Return to top of page