📄 oaverilogout.h
字号:
// *****************************************************************************// *****************************************************************************// oaVerilogOut.h//// This file contains the definition for the VerilogOut class. The VerilogOut// implements an OpenAccess to Verilog writer with callbacks to contol the// format of the output Verilog.//// This class is the main component class that traverses the OpenAccess database// and produces a Verilog representation of that database. It is intended for// use in standalone applications as well as in component architectures.//// *****************************************************************************// 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 2003-2005 Cadence Design Systems, Inc.// (c) Copyright 2003 Hewlett-Packard Development Company, LP// All Rights Reserved.//// $Author: sailajad $// $Revision: 1.21 $// $Date: 2005/08/05 21:48:55 $// $State: Exp $// *****************************************************************************// *****************************************************************************#ifndef oaVerilogOut_P#define oaVerilogOut_PBEGIN_VERILOG_NAMESPACE// *****************************************************************************// VerilogOutPrintedEnum// *****************************************************************************enum VerilogOutPrintedEnum { NotPrinted = 0, Printed = 1 };// *****************************************************************************// VerilogOut// *****************************************************************************class OA_VERILOG_DLL_API VerilogOut { public: VerilogOut(MsgAdapter &msgsIn); virtual ~VerilogOut(); OptionsOut &getOptions(); void write(); void setModuleCallbacks(CallbacksOut *newCB); void setLeafCallbacks(CallbacksOut *newCB); protected: void cleanUp(); void openDesign(); void closeDesign(); void walkModuleHier(oaModule *top); void walkDesignHier(oaDesign *top); virtual void writeCell(oaModule &cell); virtual void writeLeaf(oaModule &cell); virtual void unboundInstHeader(oaModInstHeader *ihdr); virtual void unboundInstHeader(oaModModuleInstHeader *ihdr); CallbacksOut *verilogCB; CallbacksOut *leafCB; oaVerilogNS vns; oaModule *topModule; oaBoolean status; LibMgrOptions *libOptions; OptionsOut options; CallbacksOut defaultCallbacks; CallbacksOut defaultLeafCallbacks; oaDesign *openedDesign; oaIntAppDef<oaModule> *printedModule; oaIntAppDef<oaDesign> *printedDesign;};END_VERILOG_NAMESPACE#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -