sc_port.hh (12868:23162a436538) sc_port.hh (12938:003057e39b9f)
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

--- 38 unchanged lines hidden (view full) ---

47
48class sc_port_base : public sc_object
49{
50 public:
51 sc_port_base(const char *name, int n, sc_port_policy p) : sc_object(name)
52 {}
53
54 void warn_unimpl(const char *func) const;
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

--- 38 unchanged lines hidden (view full) ---

47
48class sc_port_base : public sc_object
49{
50 public:
51 sc_port_base(const char *name, int n, sc_port_policy p) : sc_object(name)
52 {}
53
54 void warn_unimpl(const char *func) const;
55
56 protected:
57 // Implementation defined, but depended on by the tests.
58 void bind(sc_interface &);
59 void bind(sc_port_base &);
55};
56
57template <class IF>
58class sc_port_b : public sc_port_base
59{
60 public:
61 void
62 operator () (IF &)

--- 151 unchanged lines hidden ---
60};
61
62template <class IF>
63class sc_port_b : public sc_port_base
64{
65 public:
66 void
67 operator () (IF &)

--- 151 unchanged lines hidden ---