systemc: Keep track of how sc_main completes and expose that to python.
authorGabe Black <gabeblack@google.com>
Thu, 23 Aug 2018 03:31:27 +0000 (20:31 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 25 Sep 2018 23:57:52 +0000 (23:57 +0000)
commitf0e36029ffd8acb482823e89a033a6fe175bb833
treeeced4f93708febfd5ee58c279c8a0147e53ffb26
parent3d33eecfe8e38acb5fa6ac26cc2b7b371bdcda49
systemc: Keep track of how sc_main completes and expose that to python.

That makes it possible for the config script to retrieve the result of
running sc_main. sc_main (or at least the python front end for it)
can't return results directly since it usually doesn't run to
completion when it's first called.

Change-Id: I9740e9688571e2ca824a684be70480f1eadddcdb
Reviewed-on: https://gem5-review.googlesource.com/12253
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/systemc/core/SystemC.py
src/systemc/core/sc_main.cc