module.hh (13079:e7e261dd975b) | module.hh (13091:81fceed26e1e) |
---|---|
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 --- 97 unchanged lines hidden (view full) --- 106 assert(_obj); 107 return _obj; 108 } 109 110 void pop(); 111 112 const char *uniqueName(const char *seed) { return nameGen.gen(seed); } 113 | 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 --- 97 unchanged lines hidden (view full) --- 106 assert(_obj); 107 return _obj; 108 } 109 110 void pop(); 111 112 const char *uniqueName(const char *seed) { return nameGen.gen(seed); } 113 |
114 void bindPorts(std::vector<const ::sc_core::sc_bind_proxy *> &proxies); 115 |
|
114 std::vector<::sc_core::sc_port_base *> ports; 115 std::vector<::sc_core::sc_export_base *> exports; 116}; 117 118Module *currentModule(); 119Module *newModuleChecked(); 120Module *newModule(); 121 122void callbackModule(Module *m); 123Module *callbackModule(); 124 125extern std::list<Module *> allModules; 126 127} // namespace sc_gem5 128 129#endif //__SYSTEMC_CORE_MODULE_HH__ | 116 std::vector<::sc_core::sc_port_base *> ports; 117 std::vector<::sc_core::sc_export_base *> exports; 118}; 119 120Module *currentModule(); 121Module *newModuleChecked(); 122Module *newModule(); 123 124void callbackModule(Module *m); 125Module *callbackModule(); 126 127extern std::list<Module *> allModules; 128 129} // namespace sc_gem5 130 131#endif //__SYSTEMC_CORE_MODULE_HH__ |