sc_in.hh (13269:8807a4b970d4) | sc_in.hh (13383:2a8fdb1a805c) |
---|---|
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 --- 211 unchanged lines hidden (view full) --- 220 sc_in(const char *name, sc_port<sc_signal_in_if<bool>, 1> &parent) : 221 sc_port<sc_signal_in_if<bool>, 1>(name, parent), 222 _valueChangedFinder(*this, 223 &sc_signal_in_if<bool>::value_changed_event), 224 _posFinder(*this, &sc_signal_in_if<bool>::posedge_event), 225 _negFinder(*this, &sc_signal_in_if<bool>::negedge_event) 226 {} 227 | 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 --- 211 unchanged lines hidden (view full) --- 220 sc_in(const char *name, sc_port<sc_signal_in_if<bool>, 1> &parent) : 221 sc_port<sc_signal_in_if<bool>, 1>(name, parent), 222 _valueChangedFinder(*this, 223 &sc_signal_in_if<bool>::value_changed_event), 224 _posFinder(*this, &sc_signal_in_if<bool>::posedge_event), 225 _negFinder(*this, &sc_signal_in_if<bool>::negedge_event) 226 {} 227 |
228 using sc_port<sc_signal_in_if<bool>, 1>::bind; 229 |
|
228 virtual void 229 bind(const sc_signal_in_if<bool> &i) 230 { 231 sc_port<sc_signal_in_if<bool>, 1>::bind( 232 const_cast<sc_signal_in_if<bool> &>(i)); 233 } 234 void operator () (const sc_signal_in_if<bool> &i) { bind(i); } 235 --- 149 unchanged lines hidden (view full) --- 385 sc_port<sc_signal_in_if<sc_dt::sc_logic>, 1> &parent) : 386 sc_port<sc_signal_in_if<sc_dt::sc_logic>, 1>(name, parent), 387 _valueChangedFinder(*this, 388 &sc_signal_in_if<sc_dt::sc_logic>::value_changed_event), 389 _posFinder(*this, &sc_signal_in_if<sc_dt::sc_logic>::posedge_event), 390 _negFinder(*this, &sc_signal_in_if<sc_dt::sc_logic>::negedge_event) 391 {} 392 | 230 virtual void 231 bind(const sc_signal_in_if<bool> &i) 232 { 233 sc_port<sc_signal_in_if<bool>, 1>::bind( 234 const_cast<sc_signal_in_if<bool> &>(i)); 235 } 236 void operator () (const sc_signal_in_if<bool> &i) { bind(i); } 237 --- 149 unchanged lines hidden (view full) --- 387 sc_port<sc_signal_in_if<sc_dt::sc_logic>, 1> &parent) : 388 sc_port<sc_signal_in_if<sc_dt::sc_logic>, 1>(name, parent), 389 _valueChangedFinder(*this, 390 &sc_signal_in_if<sc_dt::sc_logic>::value_changed_event), 391 _posFinder(*this, &sc_signal_in_if<sc_dt::sc_logic>::posedge_event), 392 _negFinder(*this, &sc_signal_in_if<sc_dt::sc_logic>::negedge_event) 393 {} 394 |
395 using sc_port<sc_signal_in_if<sc_dt::sc_logic>, 1>::bind; 396 |
|
393 virtual void 394 bind(const sc_signal_in_if<sc_dt::sc_logic> &i) 395 { 396 sc_port<sc_signal_in_if<sc_dt::sc_logic>, 1>::bind( 397 const_cast<sc_signal_in_if<sc_dt::sc_logic> &>(i)); 398 } 399 void 400 operator () (const sc_signal_in_if<sc_dt::sc_logic> &i) { bind(i); } --- 87 unchanged lines hidden --- | 397 virtual void 398 bind(const sc_signal_in_if<sc_dt::sc_logic> &i) 399 { 400 sc_port<sc_signal_in_if<sc_dt::sc_logic>, 1>::bind( 401 const_cast<sc_signal_in_if<sc_dt::sc_logic> &>(i)); 402 } 403 void 404 operator () (const sc_signal_in_if<sc_dt::sc_logic> &i) { bind(i); } --- 87 unchanged lines hidden --- |