📄 oaverilogcmptermstest.h
字号:
// *****************************************************************************// *****************************************************************************// oaVerilogCmpTermsTest.h//// This file contains the definition of the oaVerilogCmpTermsTest test driver // class. The CmpTerms class is used to sort lists of terms and instTerms. In// order to test all the functionality of the CmpTerms class, different types// of terms (oaModScalarTerm, oaModBusTerm, oaModBusTermBit) and different types// of instTerms must be compared to one another in a particular order. For// example, an oaModScalarTerm compared to a oaModBusTerm with the scalarTerm// on the right hand side and the busTerm on the left. However, because // OpenAccess does not guarantee any particular order to the terms and instTerms// it is impossible to create a database that will consistently exhibit all the // possible combinations through the public API of the translators. This test// exercises the features of the CmpTerms class without going through the// translator public API.//// *****************************************************************************// 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 istributed 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: shaun $// $Revision: 1.2 $// $Date: 2005/07/09 17:35:33 $// $State: Exp $// *****************************************************************************// *****************************************************************************#ifndef oaVerilogCmpTermsTest_P#define oaVerilogCmpTermsTest_P// *****************************************************************************// oaVerilogCmpTermsTest// *****************************************************************************class oaVerilogCmpTermsTest : public oaVerilogOutTest { public: oaVerilogCmpTermsTest(const oaString &name); virtual oaBoolean test(); private: void compareTerms(oaModule *m); void compareInstTerms(oaModInst *inst); const oaUInt4 numCases; oaArray<oaString> lowTermStr; oaArray<oaString> highTermStr; oaArray<oaString> lowInstTermStr; oaArray<oaString> highInstTermStr;};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -