oaDiode.h

Go to the documentation of this file.
00001 // *****************************************************************************
00002 // *****************************************************************************
00003 // oaDiode.h
00004 //
00005 // This file contains the definition of the oaDiode class, which represents
00006 // an ideal clamping diode in a parasitic network for a net.
00007 //
00008 // *****************************************************************************
00009 // Except as specified in the OpenAccess terms of use of Cadence or Silicon
00010 // Integration Initiative, this material may not be copied, modified,
00011 // re-published, uploaded, executed, or distributed in any way, in any medium,
00012 // in whole or in part, without prior written permission from Cadence.
00013 //
00014 //                Copyright 2002-2005 Cadence Design Systems, Inc.
00015 //                           All Rights Reserved.
00016 //
00017 //  $Author: icftcm $
00018 //  $Revision: #1 $
00019 //  $Date: 2010/08/09 $
00020 //  $State: Exp $
00021 // *****************************************************************************
00022 // *****************************************************************************
00023 
00024 
00025 
00026 #if !defined(oaDiode_P)
00027 #define oaDiode_P
00028 
00029 
00030 
00031 // *****************************************************************************
00032 // Nested includes
00033 // *****************************************************************************
00034 #include "oaStdDevice.h"
00035 
00036 
00037 
00038 // *****************************************************************************
00039 // Declare and define types in the OpenAccess namespace.
00040 // *****************************************************************************
00041 BEGIN_OA_NAMESPACE
00042 
00043 
00044 
00045 // *****************************************************************************
00046 // oaDiode
00047 // *****************************************************************************
00048 class OA_DESIGN_DLL_API oaDiode : public oaStdDevice {
00049 public:
00050     static oaDiode          *create(oaNode  *fromNode,
00051                                     oaNode  *toNode);
00052     static oaDiode          *create(oaNode  *fromNode,
00053                                     oaNode  *toNode,
00054                                     oaUInt4 id);
00055 };
00056 
00057 
00058 
00059 // *****************************************************************************
00060 // Design Traits.
00061 // *****************************************************************************
00062 template<>
00063 class oaTraits<oaDiode> {
00064 public:
00065     typedef oaDeviceModTypeEnum modTypeType;
00066     typedef oaStdDevice         parentType;
00067     enum {dtIndex = oacDeviceDataType};
00068     enum {dataTypeEnumVal = oacDeviceDataType};
00069     enum {dbType = oacDesignDBType};
00070     enum {domain = oacNoDomain};
00071     enum {isMultiDomain = false};
00072     enum {isConcrete = true};
00073     enum {objectTypeEnumVal = oacDiodeType};
00074 };
00075 
00076 
00077 
00078 END_OA_NAMESPACE
00079 
00080 #endif

Return to top of page