SystemC 3.0.0
Accellera SystemC proof-of-concept library
sc_wait_cthread.h
Go to the documentation of this file.
1/*****************************************************************************
2
3 Licensed to Accellera Systems Initiative Inc. (Accellera) under one or
4 more contributor license agreements. See the NOTICE file distributed
5 with this work for additional information regarding copyright ownership.
6 Accellera licenses this file to you under the Apache License, Version 2.0
7 (the "License"); you may not use this file except in compliance with the
8 License. You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
15 implied. See the License for the specific language governing
16 permissions and limitations under the License.
17
18 *****************************************************************************/
19
20/*****************************************************************************
21
22 sc_wait_cthread.h -- Wait() and related functions for SC_CTHREADs.
23
24 Original Author: Stan Y. Liao, Synopsys, Inc.
25 Martin Janssen, Synopsys, Inc.
26
27 CHANGE LOG AT THE END OF THE FILE
28 *****************************************************************************/
29
30
31#ifndef SC_WAIT_CTHREAD_H
32#define SC_WAIT_CTHREAD_H
33
34
37
38
39namespace sc_core
40{
41
42template <class T> class sc_signal_in_if;
43
44// for SC_CTHREADs
45
46SC_API extern
47void
49
50
51SC_API extern
52void
53wait( int,
55
56
57extern
58void
61
62extern
63void
66
67extern
68void
71
72extern
73void
76
77
78} // namespace sc_core
79
80/*
81$Log: sc_wait_cthread.h,v $
82Revision 1.6 2011/08/26 20:46:11 acg
83 Andy Goodrich: moved the modification log to the end of the file to
84 eliminate source line number skew when check-ins are done.
85
86Revision 1.5 2011/08/24 22:05:51 acg
87 Torsten Maehne: initialization changes to remove warnings.
88
89Revision 1.4 2011/02/18 20:27:14 acg
90 Andy Goodrich: Updated Copyrights.
91
92Revision 1.3 2011/02/13 21:47:38 acg
93 Andy Goodrich: update copyright notice.
94
95Revision 1.2 2008/05/22 17:06:27 acg
96 Andy Goodrich: updated copyright notice to include 2008.
97
98Revision 1.1.1.1 2006/12/15 20:20:05 acg
99SystemC 2.3
100
101Revision 1.2 2006/01/03 23:18:45 acg
102Changed copyright to include 2006.
103
104Revision 1.1.1.1 2005/12/19 23:16:44 acg
105First check in of SystemC 2.1 into its own archive.
106
107Revision 1.10 2005/09/02 19:03:30 acg
108Changes for dynamic processes. Removal of lambda support.
109
110Revision 1.9 2005/04/04 00:16:08 acg
111Changes for directory name change to sys from systemc.
112Changes for sc_string going to std::string.
113Changes for sc_pvector going to std::vector.
114Changes for reference pools for bit and part selections.
115Changes for const sc_concatref support.
116
117Revision 1.6 2005/01/10 17:52:20 acg
118Addition of namespace specifications.
119
120Revision 1.5 2004/09/27 20:49:10 acg
121Andy Goodrich, Forte Design Systems, Inc.
122 - Added a $Log comment so that CVS checkin comments appear in the
123 checkout source.
124
125*/
126
127#endif
#define SC_API
Definition: sc_cmnhdr.h:148
void SC_API halt(sc_simcontext *)
class SC_API sc_simcontext
Definition: sc_object.h:50
SC_API void wait(int, sc_simcontext *)
sc_simcontext * sc_get_curr_simcontext()
void at_posedge(const sc_signal_in_if< bool > &, sc_simcontext *=sc_get_curr_simcontext())
void at_negedge(const sc_signal_in_if< bool > &, sc_simcontext *=sc_get_curr_simcontext())