Gabe Black has uploaded a new patch set (#2). (
https://gem5-review.googlesource.com/c/public/gem5/+/12447 )
Change subject: systemc: Raise an error when SC_METHOD, etc. is used after
starting.
......................................................................
systemc: Raise an error when SC_METHOD, etc. is used after starting.
Those mechanisms for creating processes are only allowed before the
end of elaboration, or in other words before sc_start is called.
Technically the check in Accellera's implementation won't trigger if
the simulation is stopped, and we immitate that behavior.
Change-Id: I9b8b5bd32f876781b6e0d5c0ee0e09de19bdabc1
---
M src/systemc/channel/sc_clock.cc
M src/systemc/core/sc_module.cc
M src/systemc/ext/core/sc_module.hh
3 files changed, 37 insertions(+), 8 deletions(-)
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/12447
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: I9b8b5bd32f876781b6e0d5c0ee0e09de19bdabc1
Gerrit-Change-Number: 12447
Gerrit-PatchSet: 2
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-MessageType: newpatchset
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev