Deleted Added
sdiff udiff text old ( 12841:22aa7ba47bf9 ) new ( 13214:a37fa0c75211 )
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

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

26 *
27 * Authors: Gabe Black
28 */
29
30#ifndef __SYSTEMC_EXT_CHANNEL_SC_SIGNAL_RV_HH__
31#define __SYSTEMC_EXT_CHANNEL_SC_SIGNAL_RV_HH__
32
33#include "../core/sc_module.hh" // for sc_gen_unique_name
34#include "sc_signal.hh"
35#include "warn_unimpl.hh"
36
37namespace sc_dt
38{
39
40template <int W>
41class sc_lv;

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

61
62 virtual void
63 register_port(sc_port_base &, const char *)
64 {
65 sc_channel_warn_unimpl(__PRETTY_FUNCTION__);
66 }
67
68 virtual void
69 write(const sc_dt::sc_lv &)
70 {
71 sc_channel_warn_unimpl(__PRETTY_FUNCTION__);
72 }
73 sc_signal_rv<W> &
74 operator = (const sc_dt::sc_lv &)
75 {
76 sc_channel_warn_unimpl(__PRETTY_FUNCTION__);
77 return *this;
78 }
79 sc_signal_rv<W> &
80 operator = (const sc_signal_rv &)
81 {
82 sc_channel_warn_unimpl(__PRETTY_FUNCTION__);
83 return *this;
84 }
85
86 virtual const char *kind() const { return "sc_signal_rv"; }
87
88 protected:
89 virtual void
90 update()
91 {
92 sc_channel_warn_unimpl(__PRETTY_FUNCTION__);
93 }
94
95 private:
96 // Disabled
97 sc_signal_rv(const sc_signal_rv<W> &) :
98 sc_signal<sc_dt::sc_lv<W>, SC_MANY_WRITERS>()
99 {}
100};
101
102} // namespace sc_core
103
104#endif //__SYSTEMC_EXT_CHANNEL_SC_SIGNAL_RV_HH__