Deleted Added
sdiff udiff text old ( 13053:a7a320144bc1 ) new ( 13203:76ee4971fd9e )
full compact
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/core/bindinfo.hh"
32#include "systemc/core/module.hh"
33#include "systemc/ext/core/sc_port.hh"
34
35namespace sc_core
36{
37
38sc_port_base::sc_port_base(const char *name, int n, sc_port_policy p) :
39 sc_object(name), _maxSize(n), _size(0), finalized(false)
40{
41 ::sc_gem5::Module *m = ::sc_gem5::currentModule();
42 m->ports.push_back(this);
43}
44
45void
46sc_port_base::warn_unimpl(const char *func) const
47{
48 warn("%s not implemented.\n", func);
49}
50

--- 42 unchanged lines hidden ---