misc: Clean up and complete the gem5<->SystemC-TLM bridge [2/10]
authorChristian Menard <Christian.Menard@tu-dresden.de>
Fri, 10 Feb 2017 00:15:33 +0000 (19:15 -0500)
committerChristian Menard <Christian.Menard@tu-dresden.de>
Fri, 10 Feb 2017 00:15:33 +0000 (19:15 -0500)
commit55f5c4dd8a10d14a24208110df891b8b2bbf56e4
treece3765f9befebcd3965b3ade15fd0a538e486682
parentb25ea094d4350b8257d5f383a123ea620b614adf
misc: Clean up and complete the gem5<->SystemC-TLM bridge [2/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:
 * Add the Master Port.  Add an example application that isslustrates its
 * use.

Testing Done: A simple example application consisting of a TLM traffic
generator and a gem5 memory is part of the patch.

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

Signed-off-by: Jason Lowe-Power <jason@lowepower.com>
util/tlm/examples/master_port/SConstruct [new file with mode: 0644]
util/tlm/examples/master_port/main.cc [new file with mode: 0644]
util/tlm/examples/master_port/tlm.py [new file with mode: 0644]
util/tlm/examples/master_port/traffic_generator.cc [new file with mode: 0644]
util/tlm/examples/master_port/traffic_generator.hh [new file with mode: 0644]
util/tlm/sc_master_port.cc [new file with mode: 0644]
util/tlm/sc_master_port.hh [new file with mode: 0644]
util/tlm/sim_control.cc