Lines Matching refs:sc_core
47 static void set_global_quantum(const sc_core::sc_time& t)
52 static const sc_core::sc_time& get_global_quantum()
59 m_next_sync_point(sc_core::SC_ZERO_TIME),
60 m_local_time(sc_core::SC_ZERO_TIME)
71 virtual void inc(const sc_core::sc_time& t)
81 virtual void set(const sc_core::sc_time& t)
93 return sc_core::sc_time_stamp() + m_local_time >= m_next_sync_point;
103 sc_core::wait(m_local_time);
110 void set_and_sync(const sc_core::sc_time& t)
125 m_local_time = sc_core::SC_ZERO_TIME;
126 m_next_sync_point = sc_core::sc_time_stamp() + compute_local_quantum();
135 virtual sc_core::sc_time get_current_time() const
137 return sc_core::sc_time_stamp() + m_local_time;
145 virtual sc_core::sc_time get_local_time() const
160 virtual sc_core::sc_time compute_local_quantum()
166 sc_core::sc_time m_next_sync_point;
167 sc_core::sc_time m_local_time;