oaverilogin.h

来自「openaccess与verilog互相转化时所用的源代码」· C头文件 代码 · 共 76 行

H
76
字号
// *****************************************************************************// *****************************************************************************// oaVerilogIn.h//// This file contains the definition for the VerilogIn class and its public// supporting classes. The VerilogIn class implements a Verilog to// OpenAccess parser with callbacks to control the construction of the// OpenAccess database.// // This class is the main component class (aka "engine") that parses Verilog// and produces an OA database.  It is intended for use in standalone// applications as well as in a component architecture. //// *****************************************************************************// 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.//			     All Rights	Reserved.////  $Author: sailajad $//  $Revision: 1.38 $//  $Date: 2005/08/05 21:48:55 $//  $State: Exp $// *****************************************************************************// *****************************************************************************#ifndef	oaVerilogIn_P#define	oaVerilogIn_PBEGIN_VERILOG_NAMESPACE// *****************************************************************************// VerilogIn// *****************************************************************************class OA_VERILOG_DLL_API VerilogIn {  public:			    VerilogIn(MsgAdapter    &msgsIn);			    ~VerilogIn();    void		    enableDesignPerMod(oaBoolean    value = true);    void		    parse();    void		    setCallbacks(CallbacksIn	&newCallbacks);    CallbacksIn		    *getCallbacks() const;    void		    setMsgAdapter(MsgAdapter	*msgsIn);    const Scanner	    &getScanner() const;    const Parser	    &getParser() const;    OptionsIn		    &getOptions();    oaVerilogNS		    vns;  private:    void		    makeTempDesignName(oaScalarName &tmpName);    OptionsIn		    options;    oaBoolean		    defaultCallbacks;    Parser		    *parser;    Scanner		    *scanner;    CallbacksIn		    *appCallbacks;};END_VERILOG_NAMESPACE#endif

⌨️ 快捷键说明

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