module.hh (13035:bafbdba2352a) module.hh (13045:ccedccd0d93d)
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

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

101 void pop();
102
103 const char *uniqueName(const char *seed) { return nameGen.gen(seed); }
104};
105
106Module *currentModule();
107Module *newModule();
108
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

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

101 void pop();
102
103 const char *uniqueName(const char *seed) { return nameGen.gen(seed); }
104};
105
106Module *currentModule();
107Module *newModule();
108
109void callbackModule(Module *m);
110Module *callbackModule();
111
109extern std::set<Module *> allModules;
110
111} // namespace sc_gem5
112
113#endif //__SYSTEMC_CORE_MODULE_HH__
112extern std::set<Module *> allModules;
113
114} // namespace sc_gem5
115
116#endif //__SYSTEMC_CORE_MODULE_HH__