sc_interface.cc (13041:ffcb5efb97d7) | sc_interface.cc (13251:5cb61fcb0ae2) |
---|---|
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 --- 16 unchanged lines hidden (view full) --- 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/core/sc_event.hh" 32#include "systemc/ext/core/sc_interface.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 --- 16 unchanged lines hidden (view full) --- 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/core/sc_event.hh" 32#include "systemc/ext/core/sc_interface.hh" |
33#include "systemc/ext/utils/sc_report_handler.hh" |
|
33 34namespace sc_core 35{ 36 37const sc_event & 38sc_interface::default_event() const 39{ | 34 35namespace sc_core 36{ 37 38const sc_event & 39sc_interface::default_event() const 40{ |
41 SC_REPORT_WARNING("(W116) channel doesn't have a default event", ""); |
|
40 static sc_event dummy; 41 return dummy; 42} 43 44} // namespace sc_core | 42 static sc_event dummy; 43 return dummy; 44} 45 46} // namespace sc_core |