Gabe Black has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/16564

Change subject: systemc: Start using the m5.systemc module in the test config.py.
......................................................................

systemc: Start using the m5.systemc module in the test config.py.

Start using sc_main and sc_main_result from the systemc module, and
stop using the versions of those functions which are attached to the
SystemC_Kernel SimObject.

Change-Id: I802898038c80ed36e6a9176211cffb7e0fde2d7e
---
M src/systemc/tests/config.py
1 file changed, 2 insertions(+), 2 deletions(-)



diff --git a/src/systemc/tests/config.py b/src/systemc/tests/config.py
index ebdd5cd..cd7c29e 100755
--- a/src/systemc/tests/config.py
+++ b/src/systemc/tests/config.py
@@ -47,13 +47,13 @@
 if args.working_dir:
     os.chdir(args.working_dir)

-kernel.sc_main('gem5_systemc_test');
+m5.systemc.sc_main('gem5_systemc_test');

 m5.instantiate(None)

 cause = m5.simulate(m5.MaxTick).getCause()

-result = kernel.sc_main_result()
+result = m5.systemc.sc_main_result()
 if result.code != 0:
     # Arguably this should make gem5 fail, but some tests purposefully
     # generate errors, and as long as their output matches that's still

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/16564
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: I802898038c80ed36e6a9176211cffb7e0fde2d7e
Gerrit-Change-Number: 16564
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to