misc: Reorder sources in util/tlm and rewrite build scripts
authorChristian Menard <christian.menard@tu-dresden.de>
Mon, 22 May 2017 22:48:52 +0000 (00:48 +0200)
committerChristian Menard <christian.menard@tu-dresden.de>
Tue, 30 May 2017 10:47:32 +0000 (10:47 +0000)
commit01921763a47d1ed2238ee5d4435edbf752783a95
tree3c1a8f43e2baeeaec04208f297b9e782e9393eae
parent6e8b0f659602602765fcfdb4d32a8aa2548d669e
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>
50 files changed:
util/tlm/README
util/tlm/SConstruct [new file with mode: 0644]
util/tlm/conf/tgen.cfg [new file with mode: 0644]
util/tlm/conf/tlm_elastic_slave.py [new file with mode: 0644]
util/tlm/conf/tlm_master.py [new file with mode: 0644]
util/tlm/conf/tlm_slave.py [new file with mode: 0644]
util/tlm/examples/common/SConscript [new file with mode: 0644]
util/tlm/examples/master_port/SConscript [new file with mode: 0644]
util/tlm/examples/master_port/SConstruct [deleted file]
util/tlm/examples/master_port/tlm.py [deleted file]
util/tlm/examples/slave_port/SConscript [new file with mode: 0644]
util/tlm/examples/slave_port/SConstruct [deleted file]
util/tlm/examples/slave_port/run_gem5.sh [deleted file]
util/tlm/examples/slave_port/tgen.cfg [deleted file]
util/tlm/examples/slave_port/tlm.py [deleted file]
util/tlm/examples/slave_port/tlm_elastic.py [deleted file]
util/tlm/master_transactor.cc [deleted file]
util/tlm/master_transactor.hh [deleted file]
util/tlm/run_gem5_fs.sh [new file with mode: 0755]
util/tlm/sc_ext.cc [deleted file]
util/tlm/sc_ext.hh [deleted file]
util/tlm/sc_master_port.cc [deleted file]
util/tlm/sc_master_port.hh [deleted file]
util/tlm/sc_mm.cc [deleted file]
util/tlm/sc_mm.hh [deleted file]
util/tlm/sc_peq.hh [deleted file]
util/tlm/sc_slave_port.cc [deleted file]
util/tlm/sc_slave_port.hh [deleted file]
util/tlm/sim_control.cc [deleted file]
util/tlm/sim_control.hh [deleted file]
util/tlm/sim_control_if.hh [deleted file]
util/tlm/slave_transactor.cc [deleted file]
util/tlm/slave_transactor.hh [deleted file]
util/tlm/src/SConscript [new file with mode: 0644]
util/tlm/src/master_transactor.cc [new file with mode: 0644]
util/tlm/src/master_transactor.hh [new file with mode: 0644]
util/tlm/src/sc_ext.cc [new file with mode: 0644]
util/tlm/src/sc_ext.hh [new file with mode: 0644]
util/tlm/src/sc_master_port.cc [new file with mode: 0644]
util/tlm/src/sc_master_port.hh [new file with mode: 0644]
util/tlm/src/sc_mm.cc [new file with mode: 0644]
util/tlm/src/sc_mm.hh [new file with mode: 0644]
util/tlm/src/sc_peq.hh [new file with mode: 0644]
util/tlm/src/sc_slave_port.cc [new file with mode: 0644]
util/tlm/src/sc_slave_port.hh [new file with mode: 0644]
util/tlm/src/sim_control.cc [new file with mode: 0644]
util/tlm/src/sim_control.hh [new file with mode: 0644]
util/tlm/src/sim_control_if.hh [new file with mode: 0644]
util/tlm/src/slave_transactor.cc [new file with mode: 0644]
util/tlm/src/slave_transactor.hh [new file with mode: 0644]