sc_interface.cc (13251:5cb61fcb0ae2) | sc_interface.cc (13273:af60ddcf2a32) |
---|---|
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 --- 21 unchanged lines hidden (view full) --- 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" 34 35namespace sc_core 36{ 37 | 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 --- 21 unchanged lines hidden (view full) --- 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" 34 35namespace sc_core 36{ 37 |
38void sc_interface::register_port(sc_port_base &, const char *) {} 39 |
|
38const sc_event & 39sc_interface::default_event() const 40{ 41 SC_REPORT_WARNING("(W116) channel doesn't have a default event", ""); 42 static sc_event dummy; 43 return dummy; 44} 45 46} // namespace sc_core | 40const sc_event & 41sc_interface::default_event() const 42{ 43 SC_REPORT_WARNING("(W116) channel doesn't have a default event", ""); 44 static sc_event dummy; 45 return dummy; 46} 47 48} // namespace sc_core |