sc_in.hh (13383:2a8fdb1a805c) | sc_in.hh (13498:f6fb1bbfa39e) |
---|---|
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 --- 69 unchanged lines hidden (view full) --- 78 sc_port<sc_signal_in_if<T>, 1>(parent), 79 _valueChangedFinder(*this, &sc_signal_in_if<T>::value_changed_event) 80 {} 81 sc_in(const char *name, sc_port<sc_signal_in_if<T>, 1> &parent) : 82 sc_port<sc_signal_in_if<T>, 1>(name, parent), 83 _valueChangedFinder(*this, &sc_signal_in_if<T>::value_changed_event) 84 {} 85 | 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 --- 69 unchanged lines hidden (view full) --- 78 sc_port<sc_signal_in_if<T>, 1>(parent), 79 _valueChangedFinder(*this, &sc_signal_in_if<T>::value_changed_event) 80 {} 81 sc_in(const char *name, sc_port<sc_signal_in_if<T>, 1> &parent) : 82 sc_port<sc_signal_in_if<T>, 1>(name, parent), 83 _valueChangedFinder(*this, &sc_signal_in_if<T>::value_changed_event) 84 {} 85 |
86 using sc_port<sc_signal_in_if<T>, 1>::bind; |
|
86 virtual void 87 bind(const sc_signal_in_if<T> &i) 88 { 89 sc_port<sc_signal_in_if<T>, 1>::bind( 90 const_cast<sc_signal_in_if<T> &>(i)); 91 } 92 void operator () (const sc_signal_in_if<T> &i) { bind(i); } 93 --- 398 unchanged lines hidden --- | 87 virtual void 88 bind(const sc_signal_in_if<T> &i) 89 { 90 sc_port<sc_signal_in_if<T>, 1>::bind( 91 const_cast<sc_signal_in_if<T> &>(i)); 92 } 93 void operator () (const sc_signal_in_if<T> &i) { bind(i); } 94 --- 398 unchanged lines hidden --- |