diff options
author | Éder F. Zulian <zulian@eit.uni-kl.de> | 2017-03-23 16:29:32 +0100 |
---|---|---|
committer | Éder F. Zulian <ederfzul@gmail.com> | 2017-04-11 19:31:57 +0000 |
commit | 9833153bd2b84cfbe46d0031a3e4eea27c1a4a95 (patch) | |
tree | 8195436c0ea635a774a158f0fb3af261e81d4b28 /util | |
parent | b17eeb2ae7a62e1f93ca295960a14c2e537bb3f1 (diff) | |
download | gem5-9833153bd2b84cfbe46d0031a3e4eea27c1a4a95.tar.xz |
misc: minor fix for the gem5-SystemC/TLM coupling.
This patch has a minor fix for the coupling between gem5 and SystemC-TLM.
It also fixes some typos in the related documentation.
Change-Id: I894568729b8ebdacc5b81c9f46e8f9d137da210f
Reviewed-on: https://gem5-review.googlesource.com/2480
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'util')
-rw-r--r-- | util/systemc/.gitignore | 1 | ||||
-rw-r--r-- | util/tlm/.gitignore | 1 | ||||
-rw-r--r-- | util/tlm/README | 6 | ||||
-rw-r--r-- | util/tlm/examples/slave_port/tlm_elastic.py | 2 |
4 files changed, 6 insertions, 4 deletions
diff --git a/util/systemc/.gitignore b/util/systemc/.gitignore new file mode 100644 index 000000000..5761abcfd --- /dev/null +++ b/util/systemc/.gitignore @@ -0,0 +1 @@ +*.o diff --git a/util/tlm/.gitignore b/util/tlm/.gitignore new file mode 100644 index 000000000..5761abcfd --- /dev/null +++ b/util/tlm/.gitignore @@ -0,0 +1 @@ +*.o diff --git a/util/tlm/README b/util/tlm/README index 7eeafa71f..bcaec69d1 100644 --- a/util/tlm/README +++ b/util/tlm/README @@ -29,11 +29,11 @@ them for the same port name. Gem5SlaveTransactor is a SystemC module that provides a initiator socket and represents the TLM end of the bridge. SCSlavePort implements gem5's ExternalSlave::Port interface and forms the gem5 side of the bridge. All gem5 -requests send to the SCSlavePort, are translated to TLM requests and forwarded +requests sent to the SCSlavePort, are translated to TLM requests and forwarded to the TLM world through the initiator socket of the Gem5SlaveTransactor. Then the TLM world handles the request and eventually issues a response. When the -response arrives at the Gem5SlaveTransactor it gets translated back into a TLM -response and forwarded to the gem5 world through the SCSlavePort. SCSLavePort +response arrives at the Gem5SlaveTransactor it gets translated back into a +gem5 response and forwarded to the gem5 world through the SCSlavePort. SCSLavePort and Gem5SlaveTransactor are bound to each other by configuring them for the same port name. diff --git a/util/tlm/examples/slave_port/tlm_elastic.py b/util/tlm/examples/slave_port/tlm_elastic.py index 3de0670c0..8930e2e1b 100644 --- a/util/tlm/examples/slave_port/tlm_elastic.py +++ b/util/tlm/examples/slave_port/tlm_elastic.py @@ -36,7 +36,7 @@ import optparse from m5.objects import * from m5.util import addToPath, fatal -addToPath('../../configs/common/') +addToPath('../../../../configs/common/') from Caches import * |