misc: Clean up and complete the gem5<->SystemC-TLM bridge [1/10]
authorChristian Menard <Christian.Menard@tu-dresden.de>
Fri, 10 Feb 2017 00:15:30 +0000 (19:15 -0500)
committerChristian Menard <Christian.Menard@tu-dresden.de>
Fri, 10 Feb 2017 00:15:30 +0000 (19:15 -0500)
commitb25ea094d4350b8257d5f383a123ea620b614adf
treebf2be24b719fb45325012542bb77288f18ccb66e
parent41a61589545c284d109019c3cb528762b8345aa0
misc: Clean up and complete the gem5<->SystemC-TLM bridge [1/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:
 * Restructure the existing sources in preparation of the addition of the
 * new
   Master Port.
 * Refractor names to allow for distinction of the slave and master port.
 * Replace the Makefile by a SConstruct.

Testing Done: The examples provided in util/tlm (now
util/tlm/examples/slave_port) still compile and run error free.

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

Signed-off-by: Jason Lowe-Power <jason@lowepower.com>
28 files changed:
configs/common/MemConfig.py
util/tlm/Makefile [deleted file]
util/tlm/examples/slave_port/SConstruct [new file with mode: 0644]
util/tlm/examples/slave_port/main.cc [new file with mode: 0644]
util/tlm/examples/slave_port/run_gem5.sh [new file with mode: 0644]
util/tlm/examples/slave_port/sc_target.cc [new file with mode: 0644]
util/tlm/examples/slave_port/sc_target.hh [new file with mode: 0644]
util/tlm/examples/slave_port/tgen.cfg [new file with mode: 0644]
util/tlm/examples/slave_port/tlm.py [new file with mode: 0644]
util/tlm/examples/slave_port/tlm_elastic.py [new file with mode: 0644]
util/tlm/main.cc [deleted file]
util/tlm/run_gem5.sh [deleted file]
util/tlm/sc_ext.cc
util/tlm/sc_ext.hh
util/tlm/sc_mm.cc
util/tlm/sc_mm.hh
util/tlm/sc_peq.hh [new file with mode: 0644]
util/tlm/sc_port.cc [deleted file]
util/tlm/sc_port.hh [deleted file]
util/tlm/sc_slave_port.cc [new file with mode: 0644]
util/tlm/sc_slave_port.hh [new file with mode: 0644]
util/tlm/sc_target.cc [deleted file]
util/tlm/sc_target.hh [deleted file]
util/tlm/sim_control.cc [new file with mode: 0644]
util/tlm/sim_control.hh [new file with mode: 0644]
util/tlm/tgen.cfg [deleted file]
util/tlm/tlm.py [deleted file]
util/tlm/tlm_elastic.py [deleted file]