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 --- 13 unchanged lines hidden (view full) --- 22 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 23 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 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 <memory> 31#include <vector> 32 |
33#include "base/logging.hh" 34#include "systemc/ext/core/sc_module.hh" 35 36namespace sc_core 37{ 38 39sc_bind_proxy::sc_bind_proxy(const sc_interface &interface) 40{ --- 496 unchanged lines hidden (view full) --- 537 538bool 539sc_end_of_simulation_invoked() 540{ 541 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 542 return false; 543} 544 |
545sc_module * 546sc_module_sc_new(sc_module *mod) 547{ 548 static std::vector<std::unique_ptr<sc_module> > modules; 549 modules.emplace_back(mod); 550 return mod; 551} 552 |
553} // namespace sc_core |