Deleted Added
sdiff udiff text old ( 13269:8807a4b970d4 ) new ( 13383:2a8fdb1a805c )
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

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