SystemC  2.3.2
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 */
35 #ifndef SC_WAIT_CTHREAD_H
36 #define SC_WAIT_CTHREAD_H
37 
38 
41 
42 
43 namespace sc_core
44 {
45 
46 template <class T> class sc_signal_in_if;
47 
48 // for SC_CTHREADs
49 
50 SC_API extern
51 void
53 
54 
55 SC_API extern
56 void
57 wait( int,
59 
60 
61 extern
62 void
63 at_posedge( const sc_signal_in_if<bool>&,
65 
66 extern
67 void
68 at_posedge( const sc_signal_in_if<sc_dt::sc_logic>&,
70 
71 extern
72 void
73 at_negedge( const sc_signal_in_if<bool>&,
75 
76 extern
77 void
78 at_negedge( const sc_signal_in_if<sc_dt::sc_logic>&,
80 
81 
82 } // namespace sc_core
83 
84 /*
85 $Log: sc_wait_cthread.h,v $
86 Revision 1.6 2011/08/26 20:46:11 acg
87  Andy Goodrich: moved the modification log to the end of the file to
88  eliminate source line number skew when check-ins are done.
89 
90 Revision 1.5 2011/08/24 22:05:51 acg
91  Torsten Maehne: initialization changes to remove warnings.
92 
93 Revision 1.4 2011/02/18 20:27:14 acg
94  Andy Goodrich: Updated Copyrights.
95 
96 Revision 1.3 2011/02/13 21:47:38 acg
97  Andy Goodrich: update copyright notice.
98 
99 Revision 1.2 2008/05/22 17:06:27 acg
100  Andy Goodrich: updated copyright notice to include 2008.
101 
102 Revision 1.1.1.1 2006/12/15 20:20:05 acg
103 SystemC 2.3
104 
105 Revision 1.2 2006/01/03 23:18:45 acg
106 Changed copyright to include 2006.
107 
108 Revision 1.1.1.1 2005/12/19 23:16:44 acg
109 First check in of SystemC 2.1 into its own archive.
110 
111 Revision 1.10 2005/09/02 19:03:30 acg
112 Changes for dynamic processes. Removal of lambda support.
113 
114 Revision 1.9 2005/04/04 00:16:08 acg
115 Changes for directory name change to sys from systemc.
116 Changes for sc_string going to std::string.
117 Changes for sc_pvector going to std::vector.
118 Changes for reference pools for bit and part selections.
119 Changes for const sc_concatref support.
120 
121 Revision 1.6 2005/01/10 17:52:20 acg
122 Addition of namespace specifications.
123 
124 Revision 1.5 2004/09/27 20:49:10 acg
125 Andy Goodrich, Forte Design Systems, Inc.
126  - Added a $Log comment so that CVS checkin comments appear in the
127  checkout source.
128 
129 */
130 
131 #endif
void SC_API halt(sc_simcontext *)
void at_negedge(const sc_signal_in_if< bool > &, sc_simcontext *=sc_get_curr_simcontext())
Definition of the simulation context class.
C++ implementation of logic type. Behaves.
sc_simcontext * sc_get_curr_simcontext()
void at_posedge(const sc_signal_in_if< bool > &, sc_simcontext *=sc_get_curr_simcontext())
class SC_API sc_simcontext
Definition: sc_object.h:51
#define SC_API
Definition: sc_cmnhdr.h:168
void SC_API wait(int, sc_simcontext *)