Deleted Added
sdiff udiff text old ( 13175:b93fb6caf043 ) new ( 13189:057566bc8fd6 )
full compact
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

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

356{
357 ::sc_core::next_trigger(d, u, eal);
358}
359
360
361bool
362sc_module::timed_out()
363{
364 return ::sc_core::timed_out();
365}
366
367
368void
369sc_module::wait()
370{
371 ::sc_core::wait();
372}

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

555next_trigger(double d, sc_time_unit u, const sc_event_and_list &eal)
556{
557 next_trigger(sc_time(d, u), eal);
558}
559
560bool
561timed_out()
562{
563 ::sc_gem5::Process *p = sc_gem5::scheduler.current();
564 if (!p)
565 return false;
566 else
567 return p->timedOut();
568}
569
570
571void
572wait()
573{
574 sc_gem5::Process *p = sc_gem5::scheduler.current();
575 p->setDynamic(nullptr);

--- 175 unchanged lines hidden ---