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>
This commit is contained in:
Éder F. Zulian
2017-03-23 16:29:32 +01:00
committed by Éder F. Zulian
parent b17eeb2ae7
commit 9833153bd2
4 changed files with 6 additions and 4 deletions

1
util/systemc/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
*.o

1
util/tlm/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
*.o

View File

@@ -29,11 +29,11 @@ them for the same port name.
Gem5SlaveTransactor is a SystemC module that provides a initiator socket and Gem5SlaveTransactor is a SystemC module that provides a initiator socket and
represents the TLM end of the bridge. SCSlavePort implements gem5's represents the TLM end of the bridge. SCSlavePort implements gem5's
ExternalSlave::Port interface and forms the gem5 side of the bridge. All gem5 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 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 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 arrives at the Gem5SlaveTransactor it gets translated back into a
response and forwarded to the gem5 world through the SCSlavePort. SCSLavePort gem5 response and forwarded to the gem5 world through the SCSlavePort. SCSLavePort
and Gem5SlaveTransactor are bound to each other by configuring them for the and Gem5SlaveTransactor are bound to each other by configuring them for the
same port name. same port name.

View File

@@ -36,7 +36,7 @@ import optparse
from m5.objects import * from m5.objects import *
from m5.util import addToPath, fatal from m5.util import addToPath, fatal
addToPath('../../configs/common/') addToPath('../../../../configs/common/')
from Caches import * from Caches import *