sc_prim.cc (12954:8ea3a185354c) sc_prim.cc (13140:ecd8a58f3884)
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

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

24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 *
27 * Authors: Gabe Black
28 */
29
30#include "base/logging.hh"
31#include "systemc/core/channel.hh"
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

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

24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 *
27 * Authors: Gabe Black
28 */
29
30#include "base/logging.hh"
31#include "systemc/core/channel.hh"
32#include "systemc/core/scheduler.hh"
32#include "systemc/ext/core/sc_prim.hh"
33
33#include "systemc/ext/core/sc_prim.hh"
34
35namespace sc_gem5
36{
37
38uint64_t getChangeStamp() { return scheduler.changeStamp(); }
39
40} // namespace sc_gem5
41
34namespace sc_core
35{
36
37sc_prim_channel::sc_prim_channel() :
38 _gem5_channel(new sc_gem5::Channel(this))
39{}
40
41sc_prim_channel::sc_prim_channel(const char *_name) :

--- 177 unchanged lines hidden ---
42namespace sc_core
43{
44
45sc_prim_channel::sc_prim_channel() :
46 _gem5_channel(new sc_gem5::Channel(this))
47{}
48
49sc_prim_channel::sc_prim_channel(const char *_name) :

--- 177 unchanged lines hidden ---