sc_signal.cc (13324:c8b709468e61) sc_signal.cc (13495:75d257a1795e)
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

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

64
65void
66ScSignalBase::_signalChange()
67{
68 _changeStamp = getChangeStamp();
69 _valueChangedEvent.notify(sc_core::SC_ZERO_TIME);
70}
71
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

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

64
65void
66ScSignalBase::_signalChange()
67{
68 _changeStamp = getChangeStamp();
69 _valueChangedEvent.notify(sc_core::SC_ZERO_TIME);
70}
71
72void
73ScSignalBaseBinary::_signalPosedge()
74{
75 _posStamp = getChangeStamp();
76 _posedgeEvent.notify(sc_core::SC_ZERO_TIME);
77}
78
79void
80ScSignalBaseBinary::_signalNegedge()
81{
82 _negStamp = getChangeStamp();
83 _negedgeEvent.notify(sc_core::SC_ZERO_TIME);
84}
85
72namespace
73{
74
75void
76reportSignalError(ScSignalBase *sig, sc_core::sc_object *first,
77 sc_core::sc_object *second, bool delta_conflict=false)
78{
79 std::ostringstream ss;

--- 109 unchanged lines hidden ---
86namespace
87{
88
89void
90reportSignalError(ScSignalBase *sig, sc_core::sc_object *first,
91 sc_core::sc_object *second, bool delta_conflict=false)
92{
93 std::ostringstream ss;

--- 109 unchanged lines hidden ---