misc: Clean up and complete the gem5<->SystemC-TLM bridge [5/10]
authorChristian Menard <Christian.Menard@tu-dresden.de>
Fri, 10 Feb 2017 00:15:41 +0000 (19:15 -0500)
committerChristian Menard <Christian.Menard@tu-dresden.de>
Fri, 10 Feb 2017 00:15:41 +0000 (19:15 -0500)
commit03f740664bc8db8890359c9c5ad02df9db478bae
tree27de717f997634ca22d04200a51b54305244929b
parentccd9210e1a1bdce828a13a4ffdf84548ffe61592
misc: Clean up and complete the gem5<->SystemC-TLM bridge [5/10]

Changeset 11798:3a490c57058d
---------------------------
misc: Clean up and complete the gem5<->SystemC-TLM bridge [5/10]

The current TLM bridge only provides a Slave Port that allows the gem5
world to send request to the SystemC world. This patch series refractors
and cleans up the existing code, and adds a Master Port that allows the
SystemC world to send requests to the gem5 world.

This patch:
 * Introduce transactor modules that represent the gem5 ports in the
 * SystemC world.
 * Update the SimControl module and let it keep track of the gem5 ports.

Reviewed at http://reviews.gem5.org/r/3775/

Signed-off-by: Jason Lowe-Power <jason@lowepower.com>
16 files changed:
util/tlm/examples/master_port/main.cc
util/tlm/examples/master_port/tlm.py
util/tlm/examples/slave_port/main.cc
util/tlm/examples/slave_port/run_gem5.sh
util/tlm/examples/slave_port/tlm.py
util/tlm/master_transactor.cc [new file with mode: 0644]
util/tlm/master_transactor.hh [new file with mode: 0644]
util/tlm/sc_master_port.cc
util/tlm/sc_master_port.hh
util/tlm/sc_slave_port.cc
util/tlm/sc_slave_port.hh
util/tlm/sim_control.cc
util/tlm/sim_control.hh
util/tlm/sim_control_if.hh [new file with mode: 0644]
util/tlm/slave_transactor.cc [new file with mode: 0644]
util/tlm/slave_transactor.hh [new file with mode: 0644]