⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sc_wait.h

📁 system C源码 一种替代verilog的语言
💻 H
字号:
/*****************************************************************************  The following code is derived, directly or indirectly, from the SystemC  source code Copyright (c) 1996-2006 by all Contributors.  All Rights reserved.  The contents of this file are subject to the restrictions and limitations  set forth in the SystemC Open Source License Version 2.4 (the "License");  You may not use this file except in compliance with such restrictions and  limitations. You may obtain instructions on how to receive a copy of the  License at http://www.systemc.org/. Software distributed by Contributors  under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF  ANY KIND, either express or implied. See the License for the specific  language governing rights and limitations under the License. *****************************************************************************//*****************************************************************************  sc_wait.h -- Wait() and related functions.  Original Author: Stan Y. Liao, Synopsys, Inc.                   Martin Janssen, Synopsys, Inc. *****************************************************************************//******************************************************************************  MODIFICATION LOG - modifiers, enter your name, affiliation, date and  changes you are making here.      Name, Affiliation, Date:  Description of Modification:******************************************************************************//* $Log: sc_wait.h,v $Revision 1.1.1.1  2006/12/15 20:31:37  acgSystemC 2.2Revision 1.2  2006/01/03 23:18:45  acgChanged copyright to include 2006.Revision 1.1.1.1  2005/12/19 23:16:44  acgFirst check in of SystemC 2.1 into its own archive.Revision 1.10  2005/07/30 03:45:05  acgChanges from 2.1, including changes for sc_process_handle.Revision 1.9  2005/04/04 00:16:08  acgChanges for directory name change to sys from systemc.Changes for sc_string going to std::string.Changes for sc_pvector going to std::vector.Changes for reference pools for bit and part selections.Changes for const sc_concatref support.Revision 1.6  2004/10/13 18:13:22  acgsc_ver.h - updated version number. sc_wait.h remove inclusion ofsysc/kernel/sc_event.h because it is not necessary.Revision 1.5  2004/09/27 20:49:10  acgAndy Goodrich, Forte Design Systems, Inc.   - Added a $Log comment so that CVS checkin comments appear in the        checkout source.*/#ifndef SC_WAIT_H#define SC_WAIT_H#include "sysc/kernel/sc_simcontext.h"namespace sc_core {class sc_event;class sc_event_and_list;class sc_event_or_list;class sc_simcontext;extern sc_simcontext* sc_get_curr_simcontext();// static sensitivity for SC_THREADs and SC_CTHREADsexternvoidwait( sc_simcontext* = sc_get_curr_simcontext() );// dynamic sensitivity for SC_THREADs and SC_CTHREADsexternvoidwait( const sc_event&,      sc_simcontext* = sc_get_curr_simcontext() );externvoidwait( sc_event_or_list&,      sc_simcontext* = sc_get_curr_simcontext() );externvoidwait( sc_event_and_list&,      sc_simcontext* = sc_get_curr_simcontext() );externvoidwait( const sc_time&,      sc_simcontext* = sc_get_curr_simcontext() );inlinevoidwait( double v, sc_time_unit tu,      sc_simcontext* simc = sc_get_curr_simcontext() ){    wait( sc_time( v, tu, simc ), simc );}externvoidwait( const sc_time&,      const sc_event&,      sc_simcontext* = sc_get_curr_simcontext() );inlinevoidwait( double v, sc_time_unit tu,      const sc_event& e,      sc_simcontext* simc = sc_get_curr_simcontext() ){    wait( sc_time( v, tu, simc ), e, simc );}externvoidwait( const sc_time&,      sc_event_or_list&,      sc_simcontext* = sc_get_curr_simcontext() );inlinevoidwait( double v, sc_time_unit tu,      sc_event_or_list& el,      sc_simcontext* simc = sc_get_curr_simcontext() ){    wait( sc_time( v, tu, simc ), el, simc );}externvoidwait( const sc_time&,      sc_event_and_list&,      sc_simcontext* = sc_get_curr_simcontext() );inlinevoidwait( double v, sc_time_unit tu,      sc_event_and_list& el,      sc_simcontext* simc = sc_get_curr_simcontext() ){    wait( sc_time( v, tu, simc ), el, simc );}// static sensitivity for SC_METHODsexternvoidnext_trigger( sc_simcontext* = sc_get_curr_simcontext() );// dynamic sensitivity for SC_METHODsexternvoidnext_trigger( const sc_event&,	      sc_simcontext* = sc_get_curr_simcontext() );externvoidnext_trigger( sc_event_or_list&,	      sc_simcontext* = sc_get_curr_simcontext() );externvoidnext_trigger( sc_event_and_list&,	      sc_simcontext* = sc_get_curr_simcontext() );externvoidnext_trigger( const sc_time&,	      sc_simcontext* = sc_get_curr_simcontext() );inlinevoidnext_trigger( double v, sc_time_unit tu,	      sc_simcontext* simc = sc_get_curr_simcontext() ){    next_trigger( sc_time( v, tu, simc ), simc );}externvoidnext_trigger( const sc_time&,	      const sc_event&,	      sc_simcontext* = sc_get_curr_simcontext() );inlinevoidnext_trigger( double v, sc_time_unit tu,	      const sc_event& e,	      sc_simcontext* simc = sc_get_curr_simcontext() ){    next_trigger( sc_time( v, tu, simc ), e, simc );}externvoidnext_trigger( const sc_time&,	      sc_event_or_list&,	      sc_simcontext* = sc_get_curr_simcontext() );inlinevoidnext_trigger( double v, sc_time_unit tu,	      sc_event_or_list& el,	      sc_simcontext* simc = sc_get_curr_simcontext() ){    next_trigger( sc_time( v, tu, simc ), el, simc );}externvoidnext_trigger( const sc_time&,	      sc_event_and_list&,	      sc_simcontext* = sc_get_curr_simcontext() );inlinevoidnext_trigger( double v, sc_time_unit tu,	      sc_event_and_list& el,	      sc_simcontext* simc = sc_get_curr_simcontext() ){    next_trigger( sc_time( v, tu, simc ), el, simc );}// for SC_METHODs and SC_THREADs and SC_CTHREADsexternbooltimed_out( sc_simcontext* = sc_get_curr_simcontext() );// misc.externvoidsc_set_location( const char*,		 int,		 sc_simcontext* = sc_get_curr_simcontext() );} // namespace sc_core#endif// Taf!

⌨️ 快捷键说明

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