sc_module.hh (13135:4bb2f323fb1a) sc_module.hh (13191:a2254693aa5b)
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

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

90};
91
92extern const sc_bind_proxy SC_BIND_PROXY_NIL;
93
94class sc_module : public sc_object
95{
96 public:
97 friend class ::sc_gem5::Kernel;
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

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

90};
91
92extern const sc_bind_proxy SC_BIND_PROXY_NIL;
93
94class sc_module : public sc_object
95{
96 public:
97 friend class ::sc_gem5::Kernel;
98 friend class ::sc_gem5::Module;
98
99 virtual ~sc_module();
100
101 virtual const char *kind() const { return "sc_module"; }
102
103 void operator () (const sc_bind_proxy &p001,
104 const sc_bind_proxy &p002 = SC_BIND_PROXY_NIL,
105 const sc_bind_proxy &p003 = SC_BIND_PROXY_NIL,

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

172 sc_module(const sc_module_name &);
173 sc_module();
174
175 // Deprecated
176 sc_module(const char *);
177 sc_module(const std::string &);
178
179 /* Deprecated, but used in the regression tests. */
99
100 virtual ~sc_module();
101
102 virtual const char *kind() const { return "sc_module"; }
103
104 void operator () (const sc_bind_proxy &p001,
105 const sc_bind_proxy &p002 = SC_BIND_PROXY_NIL,
106 const sc_bind_proxy &p003 = SC_BIND_PROXY_NIL,

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

173 sc_module(const sc_module_name &);
174 sc_module();
175
176 // Deprecated
177 sc_module(const char *);
178 sc_module(const std::string &);
179
180 /* Deprecated, but used in the regression tests. */
180 void end_module() {}
181 void end_module();
181
182 void reset_signal_is(const sc_in<bool> &, bool);
183 void reset_signal_is(const sc_inout<bool> &, bool);
184 void reset_signal_is(const sc_out<bool> &, bool);
185 void reset_signal_is(const sc_signal_in_if<bool> &, bool);
186
187 void async_reset_signal_is(const sc_in<bool> &, bool);
188 void async_reset_signal_is(const sc_inout<bool> &, bool);

--- 175 unchanged lines hidden ---
182
183 void reset_signal_is(const sc_in<bool> &, bool);
184 void reset_signal_is(const sc_inout<bool> &, bool);
185 void reset_signal_is(const sc_out<bool> &, bool);
186 void reset_signal_is(const sc_signal_in_if<bool> &, bool);
187
188 void async_reset_signal_is(const sc_in<bool> &, bool);
189 void async_reset_signal_is(const sc_inout<bool> &, bool);

--- 175 unchanged lines hidden ---