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

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

47template <class T>
48class sc_in : public sc_port<sc_signal_in_if<T>, 1>
49{
50 public:
51 sc_in() : sc_port<sc_signal_in_if<T>, 1>() {}
52 explicit sc_in(const char *name) : sc_port<sc_signal_in_if<T>, 1>(name) {}
53 virtual ~sc_in() {}
54
55 virtual void
56 bind(const sc_signal_in_if<T> &)
57 {
58 sc_channel_warn_unimpl(__PRETTY_FUNCTION__);
59 }
60 void
61 operator () (const sc_signal_in_if<T> &)
62 {

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

147class sc_in<bool> : public sc_port<sc_signal_in_if<bool>, 1>
148{
149 public:
150 sc_in() : sc_port<sc_signal_in_if<bool>, 1>() {}
151 explicit sc_in(const char *name) :
152 sc_port<sc_signal_in_if<bool>, 1>(name) {}
153 virtual ~sc_in() {}
154
155 virtual void
156 bind(const sc_signal_in_if<bool> &)
157 {
158 sc_channel_warn_unimpl(__PRETTY_FUNCTION__);
159 }
160 void
161 operator () (const sc_signal_in_if<bool> &)
162 {

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

287{
288 public:
289 sc_in() : sc_port<sc_signal_in_if<sc_dt::sc_logic>, 1>() {}
290 explicit sc_in(const char *name) :
291 sc_port<sc_signal_in_if<sc_dt::sc_logic>, 1>(name)
292 {}
293 virtual ~sc_in() {}
294
295 virtual void
296 bind(const sc_signal_in_if<sc_dt::sc_logic> &)
297 {
298 sc_channel_warn_unimpl(__PRETTY_FUNCTION__);
299 }
300 void
301 operator () (const sc_signal_in_if<sc_dt::sc_logic> &)
302 {

--- 131 unchanged lines hidden ---