SystemC  Recoding Infrastructure for SystemC v0.6.3 derived from Accellera SystemC 2.3.1
Accellera SystemC proof-of-concept library
sc_wait_cthread.h
Go to the documentation of this file.
1 /*****************************************************************************
2 
3  The following code is derived, directly or indirectly, from the SystemC
4  source code Copyright (c) 1996-2014 by all Contributors.
5  All Rights reserved.
6 
7  The contents of this file are subject to the restrictions and limitations
8  set forth in the SystemC Open Source License (the "License");
9  You may not use this file except in compliance with such restrictions and
10  limitations. You may obtain instructions on how to receive a copy of the
11  License at http://www.accellera.org/. Software distributed by Contributors
12  under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF
13  ANY KIND, either express or implied. See the License for the specific
14  language governing rights and limitations under the License.
15 
16  *****************************************************************************/
17 
18 /*****************************************************************************
19 
20  sc_wait_cthread.h -- Wait() and related functions for SC_CTHREADs.
21 
22  Original Author: Stan Y. Liao, Synopsys, Inc.
23  Martin Janssen, Synopsys, Inc.
24 
25  CHANGE LOG AT THE END OF THE FILE
26  *****************************************************************************/
27 
28 
29 #ifndef SC_WAIT_CTHREAD_H
30 #define SC_WAIT_CTHREAD_H
31 
32 
36 
37 
38 namespace sc_core
39 {
40 
41 // for SC_CTHREADs
42 
47 // 08/19/2015 GL: modified for the OoO simulation
48 extern
49 void
50 halt( int,
51  sc_simcontext* = sc_get_curr_simcontext() );
52 
53 
58 // 08/19/2015 GL: modified for the OoO simulation
59 extern
60 void
61 wait( int,
62  int,
63  sc_simcontext* = sc_get_curr_simcontext() );
64 
65 
70 // 08/19/2015 GL: modified for the OoO simulation
71 extern
72 void
73 at_posedge( const sc_signal_in_if<bool>&,
74  int,
75  sc_simcontext* = sc_get_curr_simcontext() );
76 
81 // 08/19/2015 GL: modified for the OoO simulation
82 extern
83 void
84 at_posedge( const sc_signal_in_if<sc_dt::sc_logic>&,
85  int,
86  sc_simcontext* = sc_get_curr_simcontext() );
87 
92 // 08/19/2015 GL: modified for the OoO simulation
93 extern
94 void
95 at_negedge( const sc_signal_in_if<bool>&,
96  int,
97  sc_simcontext* = sc_get_curr_simcontext() );
98 
103 // 08/19/2015 GL: modified for the OoO simulation
104 extern
105 void
106 at_negedge( const sc_signal_in_if<sc_dt::sc_logic>&,
107  int,
108  sc_simcontext* = sc_get_curr_simcontext() );
109 
110 
111 } // namespace sc_core
112 
113 /*
114 $Log: sc_wait_cthread.h,v $
115 Revision 1.6 2011/08/26 20:46:11 acg
116  Andy Goodrich: moved the modification log to the end of the file to
117  eliminate source line number skew when check-ins are done.
118 
119 Revision 1.5 2011/08/24 22:05:51 acg
120  Torsten Maehne: initialization changes to remove warnings.
121 
122 Revision 1.4 2011/02/18 20:27:14 acg
123  Andy Goodrich: Updated Copyrights.
124 
125 Revision 1.3 2011/02/13 21:47:38 acg
126  Andy Goodrich: update copyright notice.
127 
128 Revision 1.2 2008/05/22 17:06:27 acg
129  Andy Goodrich: updated copyright notice to include 2008.
130 
131 Revision 1.1.1.1 2006/12/15 20:20:05 acg
132 SystemC 2.3
133 
134 Revision 1.2 2006/01/03 23:18:45 acg
135 Changed copyright to include 2006.
136 
137 Revision 1.1.1.1 2005/12/19 23:16:44 acg
138 First check in of SystemC 2.1 into its own archive.
139 
140 Revision 1.10 2005/09/02 19:03:30 acg
141 Changes for dynamic processes. Removal of lambda support.
142 
143 Revision 1.9 2005/04/04 00:16:08 acg
144 Changes for directory name change to sys from systemc.
145 Changes for sc_string going to std::string.
146 Changes for sc_pvector going to std::vector.
147 Changes for reference pools for bit and part selections.
148 Changes for const sc_concatref support.
149 
150 Revision 1.6 2005/01/10 17:52:20 acg
151 Addition of namespace specifications.
152 
153 Revision 1.5 2004/09/27 20:49:10 acg
154 Andy Goodrich, Forte Design Systems, Inc.
155  - Added a $Log comment so that CVS checkin comments appear in the
156  checkout source.
157 
158 */
159 
160 #endif
void halt(sc_simcontext *)
void wait(int, sc_simcontext *)
void at_negedge(const sc_signal_in_if< bool > &, int, sc_simcontext *=sc_get_curr_simcontext())
A new parameter segment ID is added for the out-of-order simulation.
void at_posedge(const sc_signal_in_if< bool > &, int, sc_simcontext *=sc_get_curr_simcontext())
A new parameter segment ID is added for the out-of-order simulation.
sc_simcontext * sc_get_curr_simcontext()