📄 oalefin.inl
字号:
// *****************************************************************************// *****************************************************************************// oaLefIn.inl//// This file contains the implementation for inline and template member// functions of classes defined in oaLefIn.h file.//// *****************************************************************************// Except as specified in the OpenAccess terms of use of Cadence or Silicon// Integration Initiative, this material may not be copied, modified,// re-published, uploaded, executed, or distributed in any way, in any medium,// in whole or in part, without prior written permission from Cadence.//// Copyright 2002-2005 Cadence Design Systems, Inc.// All Rights Reserved.//// $Author: sailajad $// $Revision: 1.1 $// $Date: 2005/08/05 01:41:34 $// $State: Exp $// *****************************************************************************// *****************************************************************************#if !defined(oaLefIn_I)#define oaLefIn_IBEGIN_LEFDEF_NAMESPACE// *****************************************************************************// LefIn::uu2DBU()// LefIn::uu2DBUDistance()// LefIn::uu2DBUArea()//// These functions convert the user units into database units. Note the// rounding because the double is sometimes just under the actual value.// *****************************************************************************inline oaInt4LefIn::uuToDBU(oaDouble value){ return oaInt4((value > 0.0) ? dbuPerUU * value + 0.00001 : dbuPerUU * value - 0.00001);}inline oaUInt4LefIn::uuToDBUDistance(oaDouble value){ return oaUInt4(dbuPerUU * value + 0.00001);}inline oaUInt8LefIn::uuToDBUArea(oaDouble value){ return oaUInt8((value > 0.0) ? pow(oaDouble(dbuPerUU), 2) * value + 0.00001 : pow(oaDouble(dbuPerUU), 2) * value - 0.00001);}// *****************************************************************************// LefIn::getLegacyProp()//// This functions returns the legacy hierProp in the technology database,// creating it if necessary.// *****************************************************************************inline oaHierProp*LefIn::getLegacyProp(){ if (!legacy) { legacy = oaHierProp::create(tech(), cLefLegacyProp); } return legacy;}END_LEFDEF_NAMESPACE#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -