⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 oalefdeftest.cpp

📁 openaccess读def,lef文件所用的源代码
💻 CPP
字号:
// *****************************************************************************// *****************************************************************************// LefDefTest.cpp//// This file contains the member functions specific to the LefDefTest// class.//// *****************************************************************************// 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: nitters $//  $Revision: 1.22 $//  $Date: 2005/04/11 09:11:26 $//  $State: Exp $// *****************************************************************************// *****************************************************************************#include "oaTest.h"#include "oaLefDefTest.h"#ifndef WINDOWS#include <sys/types.h>#include <sys/stat.h>#endif// *****************************************************************************// Initialize Static Members// *****************************************************************************const oaString	LefDefTest::lefExt    = ".lef";const oaString	LefDefTest::defExt    = ".def";oaNativeNS	LefDefTest::nameSpace;// *****************************************************************************// LefDefTest::LefDefTest()//// This is the constructor for the LefDefTest object.// *****************************************************************************LefDefTest::LefDefTest(const oaString   &name):   oaUnitTest(name),    libName(name + "_lib"){}// *****************************************************************************// LefDefTest::resetLibList()//// This function deletes the library if it exists and resets the library list// by removing any remaining libraries from the library list. Finally, the// library list file itself is removed to keep its size short.// Note that we add the library to the lib-list file first to check if// the library exists on disk but not in the cds.lib list.// *****************************************************************************voidLefDefTest::resetLibList(){    oaString	libNameL(getName() + "_lib");    if (oaDir(libNameL).exists()) {	oaDir(libNameL).destroy();    }    libNameL = getName() + "_tech_lib";    if (oaDir(libNameL).exists()) {	oaDir(libNameL).destroy();    }    libNameL = getName() + "_lib_2";    if (oaDir(libNameL).exists()) {	oaDir(libNameL).destroy();    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -