00001 // ***************************************************************************** 00002 // ***************************************************************************** 00003 // oaOccBusNetBit.h 00004 // 00005 // This file contains the definition for the oaOccBusNetBit class, which 00006 // implements a single bit of an occurrence busNet. 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 2003-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(oaOccBusNetBit_P) 00027 #define oaOccBusNetBit_P 00028 00029 00030 00031 // ***************************************************************************** 00032 // Nested includes 00033 // ***************************************************************************** 00034 #include "oaBusNetBit.h" 00035 #include "oaModBusNetBit.h" 00036 #include "oaOccNet.h" 00037 00038 00039 00040 // ***************************************************************************** 00041 // Declare and define types in the OpenAccess namespace. 00042 // ***************************************************************************** 00043 BEGIN_OA_NAMESPACE 00044 00045 00046 00047 // ***************************************************************************** 00048 // oaOccBusNetBit 00049 // ***************************************************************************** 00050 class OA_DESIGN_DLL_API oaOccBusNetBit : public oaOccBitNet { 00051 public: 00052 static oaOccBusNetBit *find(const oaOccurrence *occurrence, 00053 const oaScalarName &baseName, 00054 oaUInt4 bitIndex); 00055 00056 oaBusNetBit *getNet() const; 00057 oaModBusNetBit *getModNet() const; 00058 00059 oaOccBusNetDef *getDef() const; 00060 oaUInt4 getBitIndex() const; 00061 00062 using oaOccNet::getName; 00063 void getName(oaVectorBitName &name) const; 00064 00065 using oaOccNet::getPathName; 00066 void getPathName(oaVectorBitName &pathName) const; 00067 }; 00068 00069 00070 00071 // ***************************************************************************** 00072 // Design Traits. 00073 // ***************************************************************************** 00074 template<> 00075 class oaTraits<oaOccBusNetBit> { 00076 public: 00077 typedef oaNetModTypeEnum modTypeType; 00078 typedef oaOccBitNet parentType; 00079 enum {dtIndex = oacNetDataType}; 00080 enum {dataTypeEnumVal = oacNetDataType}; 00081 enum {domain = oacOccDomain}; 00082 enum {isMultiDomain = true}; 00083 enum {dbType = oacDesignDBType}; 00084 enum {isConcrete = true}; 00085 enum {objectTypeEnumVal = oacOccBusNetBitType}; 00086 }; 00087 00088 00089 00090 END_OA_NAMESPACE 00091 00092 #endif
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.