test.cpp revision 12855
16288Snate@binkert.org/***************************************************************************** 26288Snate@binkert.org 36288Snate@binkert.org Licensed to Accellera Systems Initiative Inc. (Accellera) under one or 46288Snate@binkert.org more contributor license agreements. See the NOTICE file distributed 56288Snate@binkert.org with this work for additional information regarding copyright ownership. 66288Snate@binkert.org Accellera licenses this file to you under the Apache License, Version 2.0 76288Snate@binkert.org (the "License"); you may not use this file except in compliance with the 86288Snate@binkert.org License. You may obtain a copy of the License at 96288Snate@binkert.org 106288Snate@binkert.org http://www.apache.org/licenses/LICENSE-2.0 116288Snate@binkert.org 126288Snate@binkert.org Unless required by applicable law or agreed to in writing, software 136288Snate@binkert.org distributed under the License is distributed on an "AS IS" BASIS, 146288Snate@binkert.org WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 156288Snate@binkert.org implied. See the License for the specific language governing 166288Snate@binkert.org permissions and limitations under the License. 176288Snate@binkert.org 186288Snate@binkert.org *****************************************************************************/ 196288Snate@binkert.org 206288Snate@binkert.org/***************************************************************************** 216288Snate@binkert.org 226288Snate@binkert.org test.cpp -- 236288Snate@binkert.org 246288Snate@binkert.org Original Author: Martin Janssen, Synopsys, Inc., 2002-02-15 256288Snate@binkert.org 266288Snate@binkert.org *****************************************************************************/ 276288Snate@binkert.org 286145Snate@binkert.org/***************************************************************************** 296154Snate@binkert.org 308090Snilay@cs.wisc.edu MODIFICATION LOG - modifiers, enter your name, affiliation, date and 318090Snilay@cs.wisc.edu changes you are making here. 328090Snilay@cs.wisc.edu 338090Snilay@cs.wisc.edu Name, Affiliation, Date: 349208Snilay@cs.wisc.edu Description of Modification: 358090Snilay@cs.wisc.edu 368090Snilay@cs.wisc.edu *****************************************************************************/ 378090Snilay@cs.wisc.edu 388090Snilay@cs.wisc.edu/* 398090Snilay@cs.wisc.edu Verifies directives translate_on/translate_off 408090Snilay@cs.wisc.edu Author: PRP 418090Snilay@cs.wisc.edu From Test Case translate_on: 16.cc 429208Snilay@cs.wisc.edu*/ 438090Snilay@cs.wisc.edu 448090Snilay@cs.wisc.edu#include "systemc.h" 458090Snilay@cs.wisc.edu#include "test.h" 468090Snilay@cs.wisc.edu 478090Snilay@cs.wisc.eduvoid test::entry() 488090Snilay@cs.wisc.edu{ 498090Snilay@cs.wisc.edu int i,j,y,z; 508090Snilay@cs.wisc.edu 518090Snilay@cs.wisc.edu 528090Snilay@cs.wisc.edu i = 7; 538090Snilay@cs.wisc.edu 548090Snilay@cs.wisc.edu y = 3; 558090Snilay@cs.wisc.edu 568090Snilay@cs.wisc.edu y = 2; 578090Snilay@cs.wisc.edu 588090Snilay@cs.wisc.edu wait(); 598090Snilay@cs.wisc.edu 608090Snilay@cs.wisc.edu} 618090Snilay@cs.wisc.edu 628090Snilay@cs.wisc.edu