sc_module.cc (13155:4e77f1d0cdc3) sc_module.cc (13175:b93fb6caf043)
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

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

665wait(double d, sc_time_unit u, const sc_event_and_list &eal)
666{
667 wait(sc_time(d, u), eal);
668}
669
670void
671halt()
672{
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

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

665wait(double d, sc_time_unit u, const sc_event_and_list &eal)
666{
667 wait(sc_time(d, u), eal);
668}
669
670void
671halt()
672{
673 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
673 ::sc_core::wait();
674 throw ::sc_gem5::ScHalt();
674}
675
676void
677at_posedge(const sc_signal_in_if<bool> &s)
678{
679 while (s.read())
680 wait();
681 while (!s.read())

--- 66 unchanged lines hidden ---
675}
676
677void
678at_posedge(const sc_signal_in_if<bool> &s)
679{
680 while (s.read())
681 wait();
682 while (!s.read())

--- 66 unchanged lines hidden ---