History log of /gem5/util/tlm/examples/slave_port/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
12048:a280e9bc358d 23-May-2017 Christian Menard <christian.menard@tu-dresden.de>

misc: check address range in the SystemC example

Using a wrong offset or memory size may lead to segmentation faults.
This patch adds an address range check and produces an error message.

Change-Id: I79a72c05879266daf61a83367fe4ae386d1958a4
Reviewed-on: https://gem5-review.googlesource.com/3482
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Matthias Jung <jungma@eit.uni-kl.de>

12047:8b269268312c 22-May-2017 Christian Menard <christian.menard@tu-dresden.de>

misc: Reorder sources in util/tlm and rewrite build scripts

* Use one SConstruct to build everything instead of one SConstruct for
each example.
* Introduce SConscripts for sub-directories.
* Build in 'build' instead of the source tree.
* Build and link to SystemC from the ext/systemc directory. This
ensures that SystemC does not need to be installed on the host and
avoids possible issues caused by an incompatible SystemC build.
* Update the README and add some minor fixes

Change-Id: I641ed94f542626864fb7af499ad1be8fd4ad929f
Reviewed-on: https://gem5-review.googlesource.com/3480
Reviewed-by: Matthias Jung <jungma@eit.uni-kl.de>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>


/gem5/util/tlm/README
/gem5/util/tlm/SConstruct
/gem5/util/tlm/conf/tgen.cfg
/gem5/util/tlm/conf/tlm_elastic_slave.py
/gem5/util/tlm/conf/tlm_master.py
/gem5/util/tlm/conf/tlm_slave.py
/gem5/util/tlm/examples/common/SConscript
/gem5/util/tlm/examples/master_port/SConscript
/gem5/util/tlm/examples/master_port/SConstruct
/gem5/util/tlm/examples/master_port/tlm.py
SConscript
SConstruct
run_gem5.sh
tgen.cfg
tlm.py
tlm_elastic.py
/gem5/util/tlm/master_transactor.cc
/gem5/util/tlm/master_transactor.hh
/gem5/util/tlm/run_gem5_fs.sh
/gem5/util/tlm/sc_ext.cc
/gem5/util/tlm/sc_ext.hh
/gem5/util/tlm/sc_master_port.cc
/gem5/util/tlm/sc_master_port.hh
/gem5/util/tlm/sc_mm.cc
/gem5/util/tlm/sc_mm.hh
/gem5/util/tlm/sc_peq.hh
/gem5/util/tlm/sc_slave_port.cc
/gem5/util/tlm/sc_slave_port.hh
/gem5/util/tlm/sim_control.cc
/gem5/util/tlm/sim_control.hh
/gem5/util/tlm/sim_control_if.hh
/gem5/util/tlm/slave_transactor.cc
/gem5/util/tlm/slave_transactor.hh
/gem5/util/tlm/src/SConscript
/gem5/util/tlm/src/master_transactor.cc
/gem5/util/tlm/src/master_transactor.hh
/gem5/util/tlm/src/sc_ext.cc
/gem5/util/tlm/src/sc_ext.hh
/gem5/util/tlm/src/sc_master_port.cc
/gem5/util/tlm/src/sc_master_port.hh
/gem5/util/tlm/src/sc_mm.cc
/gem5/util/tlm/src/sc_mm.hh
/gem5/util/tlm/src/sc_peq.hh
/gem5/util/tlm/src/sc_slave_port.cc
/gem5/util/tlm/src/sc_slave_port.hh
/gem5/util/tlm/src/sim_control.cc
/gem5/util/tlm/src/sim_control.hh
/gem5/util/tlm/src/sim_control_if.hh
/gem5/util/tlm/src/slave_transactor.cc
/gem5/util/tlm/src/slave_transactor.hh
11971:9573d7d7811a 23-Mar-2017 Éder F. Zulian <zulian@eit.uni-kl.de>

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>

11822:9018cadf6c87 09-Feb-2017 Christian Menard <Christian.Menard@tu-dresden.de>

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>

11821:39b0a51c9e76 09-Feb-2017 Christian Menard <Christian.Menard@tu-dresden.de>

misc: Clean up and complete the gem5<->SystemC-TLM bridge [4/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:
* Move common code of the example to a common directory. Move the cli
* parsing from the SimControl module to a separate example object. Add
* comments describing the Gem5SimControl module.

Testing Done: Examples compile and run.

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

Signed-off-by: Jason Lowe-Power <jason@lowepower.com>

11818:f12963cb9dc2 09-Feb-2017 Christian Menard <Christian.Menard@tu-dresden.de>

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>