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
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
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 ---