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 |
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 |
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 --- |