sc_module.cc (13335:299a16ef8e3c) sc_module.cc (13382:7db1e345834c)
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

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

97 return p;
98}
99
100} // namespace sc_gem5
101
102namespace sc_core
103{
104
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

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

97 return p;
98}
99
100} // namespace sc_gem5
101
102namespace sc_core
103{
104
105sc_bind_proxy::sc_bind_proxy() : _interface(nullptr), _port(nullptr) {}
106
105sc_bind_proxy::sc_bind_proxy(sc_interface &_interface) :
106 _interface(&_interface), _port(nullptr)
107{}
108
109sc_bind_proxy::sc_bind_proxy(sc_port_base &_port) :
110 _interface(nullptr), _port(&_port)
111{}
112
107sc_bind_proxy::sc_bind_proxy(sc_interface &_interface) :
108 _interface(&_interface), _port(nullptr)
109{}
110
111sc_bind_proxy::sc_bind_proxy(sc_port_base &_port) :
112 _interface(nullptr), _port(&_port)
113{}
114
113const sc_bind_proxy SC_BIND_PROXY_NUL(*(sc_port_base *)nullptr);
115const sc_bind_proxy SC_BIND_PROXY_NIL;
114
115sc_module::~sc_module() { delete _gem5_module; }
116
116
117sc_module::~sc_module() { delete _gem5_module; }
118
117const sc_bind_proxy SC_BIND_PROXY_NIL(*(sc_port_base *)nullptr);
118
119void
120sc_module::operator () (const sc_bind_proxy &p001,
121 const sc_bind_proxy &p002,
122 const sc_bind_proxy &p003,
123 const sc_bind_proxy &p004,
124 const sc_bind_proxy &p005,
125 const sc_bind_proxy &p006,
126 const sc_bind_proxy &p007,

--- 734 unchanged lines hidden ---
119void
120sc_module::operator () (const sc_bind_proxy &p001,
121 const sc_bind_proxy &p002,
122 const sc_bind_proxy &p003,
123 const sc_bind_proxy &p004,
124 const sc_bind_proxy &p005,
125 const sc_bind_proxy &p006,
126 const sc_bind_proxy &p007,

--- 734 unchanged lines hidden ---