proc2.cpp revision 12855
15222Sksewell@umich.edu/***************************************************************************** 25268Sksewell@umich.edu 35268Sksewell@umich.edu Licensed to Accellera Systems Initiative Inc. (Accellera) under one or 45222Sksewell@umich.edu more contributor license agreements. See the NOTICE file distributed 55268Sksewell@umich.edu with this work for additional information regarding copyright ownership. 65268Sksewell@umich.edu Accellera licenses this file to you under the Apache License, Version 2.0 75268Sksewell@umich.edu (the "License"); you may not use this file except in compliance with the 85268Sksewell@umich.edu License. You may obtain a copy of the License at 95268Sksewell@umich.edu 105268Sksewell@umich.edu http://www.apache.org/licenses/LICENSE-2.0 115268Sksewell@umich.edu 125268Sksewell@umich.edu Unless required by applicable law or agreed to in writing, software 135268Sksewell@umich.edu distributed under the License is distributed on an "AS IS" BASIS, 145268Sksewell@umich.edu WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 155222Sksewell@umich.edu implied. See the License for the specific language governing 165268Sksewell@umich.edu permissions and limitations under the License. 175268Sksewell@umich.edu 185268Sksewell@umich.edu *****************************************************************************/ 195268Sksewell@umich.edu 205268Sksewell@umich.edu/***************************************************************************** 215268Sksewell@umich.edu 225268Sksewell@umich.edu proc2.cpp -- 235268Sksewell@umich.edu 245268Sksewell@umich.edu Original Author: Martin Janssen, Synopsys, Inc., 2002-02-15 255268Sksewell@umich.edu 265268Sksewell@umich.edu *****************************************************************************/ 275222Sksewell@umich.edu 285222Sksewell@umich.edu/***************************************************************************** 295222Sksewell@umich.edu 305222Sksewell@umich.edu MODIFICATION LOG - modifiers, enter your name, affiliation, date and 315222Sksewell@umich.edu changes you are making here. 3211793Sbrandon.potter@amd.com 335222Sksewell@umich.edu Name, Affiliation, Date: 345222Sksewell@umich.edu Description of Modification: 355222Sksewell@umich.edu 365222Sksewell@umich.edu *****************************************************************************/ 375222Sksewell@umich.edu 385222Sksewell@umich.edu#include "proc2.h" 395222Sksewell@umich.edu 405222Sksewell@umich.eduvoid 415222Sksewell@umich.eduproc2::entry() 425222Sksewell@umich.edu{ 435222Sksewell@umich.edu while( true ) { 445222Sksewell@umich.edu if( ! ready.read() ) { 455222Sksewell@umich.edu ack.write( 5 ); 465222Sksewell@umich.edu cout << "if( !signal ) works" << endl; 475222Sksewell@umich.edu } 48 wait(); 49 } 50} 51