Lines Matching refs:sc_core
45 sc_core::sc_time t;
47 element(PAYLOAD& p, sc_core::sc_time t, sc_dt::uint64 d): p(p),t(t),d(d) {}
80 void insert(const PAYLOAD& p, sc_core::sc_time t) {
90 e->d=sc_core::sc_delta_count();
128 sc_core::sc_time top_time()
138 sc_core::sc_time next_time()
152 public sc_core::sc_object
196 :sc_core::sc_object( sc_core::sc_gen_unique_name( "peq_with_cb_and_phase" ) )
200 sc_core::sc_spawn_options opts;
204 sc_core::sc_spawn(sc_bind(&peq_with_cb_and_phase::fec, this),
205 sc_core::sc_gen_unique_name("fec"), &opts);
209 : sc_core::sc_object( _name )
213 sc_core::sc_spawn_options opts;
217 sc_core::sc_spawn(sc_bind(&peq_with_cb_and_phase::fec, this),
218 sc_core::sc_gen_unique_name("fec"), &opts);
223 void notify (tlm_payload_type& t, const tlm_phase_type& p, const sc_core::sc_time& when){
225 if (when==sc_core::SC_ZERO_TIME) {
226 if (sc_core::sc_delta_count() & (sc_dt::uint64)0x1) //uneven delta cycle so delta delay is for even cylce
230 m_e.notify(sc_core::SC_ZERO_TIME);
233 m_ppq.insert(PAYLOAD(&t,p), when + sc_core::sc_time_stamp() );
260 if (sc_core::sc_delta_count() & (sc_dt::uint64) 0x1) {//uneven delta so put out all payloads for uneven delta
263 if (m_even_delta.size) m_e.notify(sc_core::SC_ZERO_TIME);
268 if (m_uneven_delta.size) m_e.notify(sc_core::SC_ZERO_TIME);
273 const sc_core::sc_time now=sc_core::sc_time_stamp();
274 sc_core::sc_time top=m_ppq.top_time();
296 sc_core::sc_event m_e; // default event