sc_interface.cc (13303:045f002c325c) | sc_interface.cc (13324:c8b709468e61) |
---|---|
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 --- 14 unchanged lines hidden (view full) --- 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 "base/logging.hh" | 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 --- 14 unchanged lines hidden (view full) --- 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 "base/logging.hh" |
31#include "systemc/ext/channel/messages.hh" |
|
31#include "systemc/ext/core/sc_event.hh" 32#include "systemc/ext/core/sc_interface.hh" 33#include "systemc/ext/utils/sc_report_handler.hh" 34 35namespace sc_core 36{ 37 38void sc_interface::register_port(sc_port_base &, const char *) {} 39 40const sc_event & 41sc_interface::default_event() const 42{ | 32#include "systemc/ext/core/sc_event.hh" 33#include "systemc/ext/core/sc_interface.hh" 34#include "systemc/ext/utils/sc_report_handler.hh" 35 36namespace sc_core 37{ 38 39void sc_interface::register_port(sc_port_base &, const char *) {} 40 41const sc_event & 42sc_interface::default_event() const 43{ |
43 SC_REPORT_WARNING("(W116) channel doesn't have a default event", ""); | 44 SC_REPORT_WARNING(SC_ID_NO_DEFAULT_EVENT_, ""); |
44 static sc_gem5::InternalScEvent dummy; 45 return dummy; 46} 47 48} // namespace sc_core | 45 static sc_gem5::InternalScEvent dummy; 46 return dummy; 47} 48 49} // namespace sc_core |