sc_module.hh (12928:1746600c4672) sc_module.hh (12929:6ed4226c66c7)
1/*
2 * Copyright 2018 Google, Inc.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are
6 * met: redistributions of source code must retain the above copyright
7 * notice, this list of conditions and the following disclaimer;
8 * redistributions in binary form must reproduce the above copyright

--- 169 unchanged lines hidden (view full) ---

178 void next_trigger(double, sc_time_unit);
179 void next_trigger(const sc_time &, const sc_event &);
180 void next_trigger(double, sc_time_unit, const sc_event &);
181 void next_trigger(const sc_time &, const sc_event_or_list &);
182 void next_trigger(double, sc_time_unit, const sc_event_or_list &);
183 void next_trigger(const sc_time &, const sc_event_and_list &);
184 void next_trigger(double, sc_time_unit, const sc_event_and_list &);
185
1/*
2 * Copyright 2018 Google, Inc.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are
6 * met: redistributions of source code must retain the above copyright
7 * notice, this list of conditions and the following disclaimer;
8 * redistributions in binary form must reproduce the above copyright

--- 169 unchanged lines hidden (view full) ---

178 void next_trigger(double, sc_time_unit);
179 void next_trigger(const sc_time &, const sc_event &);
180 void next_trigger(double, sc_time_unit, const sc_event &);
181 void next_trigger(const sc_time &, const sc_event_or_list &);
182 void next_trigger(double, sc_time_unit, const sc_event_or_list &);
183 void next_trigger(const sc_time &, const sc_event_and_list &);
184 void next_trigger(double, sc_time_unit, const sc_event_and_list &);
185
186 // Nonstandard
187 bool timed_out();
188
186 void wait();
187 void wait(int);
188 void wait(const sc_event &);
189 void wait(const sc_event_or_list &);
190 void wait(const sc_event_and_list &);
191 void wait(const sc_time &);
192 void wait(double, sc_time_unit);
193 void wait(const sc_time &, const sc_event &);

--- 43 unchanged lines hidden (view full) ---

237void wait(double, sc_time_unit);
238void wait(const sc_time &, const sc_event &);
239void wait(double, sc_time_unit, const sc_event &);
240void wait(const sc_time &, const sc_event_or_list &);
241void wait(double, sc_time_unit, const sc_event_or_list &);
242void wait(const sc_time &, const sc_event_and_list &);
243void wait(double, sc_time_unit, const sc_event_and_list &);
244
189 void wait();
190 void wait(int);
191 void wait(const sc_event &);
192 void wait(const sc_event_or_list &);
193 void wait(const sc_event_and_list &);
194 void wait(const sc_time &);
195 void wait(double, sc_time_unit);
196 void wait(const sc_time &, const sc_event &);

--- 43 unchanged lines hidden (view full) ---

240void wait(double, sc_time_unit);
241void wait(const sc_time &, const sc_event &);
242void wait(double, sc_time_unit, const sc_event &);
243void wait(const sc_time &, const sc_event_or_list &);
244void wait(double, sc_time_unit, const sc_event_or_list &);
245void wait(const sc_time &, const sc_event_and_list &);
246void wait(double, sc_time_unit, const sc_event_and_list &);
247
248// Nonstandard
249bool timed_out();
250
245#define SC_MODULE(name) struct name : ::sc_core::sc_module
246
247#define SC_CTOR(name) \
248 typedef name SC_CURRENT_USER_MODULE; \
249 name(::sc_core::sc_module_name)
250
251#define SC_HAS_PROCESS(name) typedef name SC_CURRENT_USER_MODULE
252

--- 44 unchanged lines hidden ---
251#define SC_MODULE(name) struct name : ::sc_core::sc_module
252
253#define SC_CTOR(name) \
254 typedef name SC_CURRENT_USER_MODULE; \
255 name(::sc_core::sc_module_name)
256
257#define SC_HAS_PROCESS(name) typedef name SC_CURRENT_USER_MODULE
258

--- 44 unchanged lines hidden ---