summaryrefslogtreecommitdiff
path: root/configs/common/Options.py
diff options
context:
space:
mode:
authorMatthias Jung <jungma@eit.uni-kl.de>2015-08-03 23:08:40 -0500
committerMatthias Jung <jungma@eit.uni-kl.de>2015-08-03 23:08:40 -0500
commit8723b08dbf254bc436eac2b2ddf86efa02fc4274 (patch)
tree9a11d4b9112f3957693f1a6d79293bd94f15b712 /configs/common/Options.py
parentc375870abde01fa8d693e4dd95975b83c82a280d (diff)
downloadgem5-8723b08dbf254bc436eac2b2ddf86efa02fc4274.tar.xz
misc: Coupling gem5 with SystemC TLM2.0
Transaction Level Modeling (TLM2.0) is widely used in industry for creating virtual platforms (IEEE 1666 SystemC). This patch contains a standard compliant implementation of an external gem5 port, that enables the usage of gem5 as a TLM initiator component in SystemC based virtual platforms. Both TLM coding paradigms loosely timed (b_transport) and aproximately timed (nb_transport) are supported. Compared to the original patch a TLM memory manager was added. Furthermore, the transaction object was removed and for each TLM payload a PacketPointer that points to the original gem5 packet is added as an TLM extension. For event handling single events are now created. Committed by: Nilay Vaish <nilay@cs.wisc.edu>
Diffstat (limited to 'configs/common/Options.py')
-rw-r--r--configs/common/Options.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/common/Options.py b/configs/common/Options.py
index 35d453d24..1922f78a6 100644
--- a/configs/common/Options.py
+++ b/configs/common/Options.py
@@ -106,6 +106,8 @@ def addCommonOptions(parser):
# Cache Options
parser.add_option("--external-memory-system", type="string",
help="use external ports of this port_type for caches")
+ parser.add_option("--tlm-memory", type="string",
+ help="use external port for SystemC TLM cosimulation")
parser.add_option("--caches", action="store_true")
parser.add_option("--l2cache", action="store_true")
parser.add_option("--fastmem", action="store_true")