Daniel Carvalho has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/46539 )
Change subject: systemc: Fix module not found
......................................................................
systemc: Fix module not found
Fix "ModuleNotFoundError: No module named 'SystemC'".
Change-Id: I81254a3ba2e221ecd81a6d879dc48ed528173964
Signed-off-by: Daniel R. Carvalho <[email protected]>
---
M util/systemc/systemc_within_gem5/systemc_simple_object/SystemC_Example.py
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/util/systemc/systemc_within_gem5/systemc_simple_object/SystemC_Example.py
b/util/systemc/systemc_within_gem5/systemc_simple_object/SystemC_Example.py
index 3aad8fe..9d3faf8 100644
---
a/util/systemc/systemc_within_gem5/systemc_simple_object/SystemC_Example.py
+++
b/util/systemc/systemc_within_gem5/systemc_simple_object/SystemC_Example.py
@@ -26,7 +26,7 @@
from m5.params import *
from m5.SimObject import SimObject
-from SystemC import SystemC_ScModule
+from m5.objects.SystemC import SystemC_ScModule
# This class is a subclass of sc_module, and all the special magic which
makes
# that work is handled in the base classes.
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/46539
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I81254a3ba2e221ecd81a6d879dc48ed528173964
Gerrit-Change-Number: 46539
Gerrit-PatchSet: 1
Gerrit-Owner: Daniel Carvalho <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s