README (10993:4e27d8806403) README (11099:69fb77726e9e)
1This directory contains a demo of a coupling between gem5 and SystemC-TLM.
2It is based on the gem5-systemc implementation in utils/systemc.
3First a simple example with gem5's traffic generator is shown, later an full
4system example.
5
6Files:
7
8 main.cc -- demonstration top level

--- 19 unchanged lines hidden (view full) ---

28
29First build a normal gem5 (cxx-config not needed, Python needed).
30Second build gem5 as a library with cxx-config support and (optionally)
31without python.
32
33> cd ../..
34> scons build/ARM/gem5.opt
35> scons --with-cxx-config --without-python build/ARM/libgem5_opt.so
1This directory contains a demo of a coupling between gem5 and SystemC-TLM.
2It is based on the gem5-systemc implementation in utils/systemc.
3First a simple example with gem5's traffic generator is shown, later an full
4system example.
5
6Files:
7
8 main.cc -- demonstration top level

--- 19 unchanged lines hidden (view full) ---

28
29First build a normal gem5 (cxx-config not needed, Python needed).
30Second build gem5 as a library with cxx-config support and (optionally)
31without python.
32
33> cd ../..
34> scons build/ARM/gem5.opt
35> scons --with-cxx-config --without-python build/ARM/libgem5_opt.so
36> cd util/systemc_tlm
36> cd util/tlm
37
38Set a proper LD_LIBRARY_PATH e.g. for bash:
39> export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/path/to/gem5/build/ARM/"
40
41Then edit the Makefile to set the paths for SystemC and run make
42
43> make
44

--- 52 unchanged lines hidden ---
37
38Set a proper LD_LIBRARY_PATH e.g. for bash:
39> export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/path/to/gem5/build/ARM/"
40
41Then edit the Makefile to set the paths for SystemC and run make
42
43> make
44

--- 52 unchanged lines hidden ---