README (11099:69fb77726e9e) | README (11554:adafd259839e) |
---|---|
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 --- 80 unchanged lines hidden (view full) --- 89Try: 90 91> ./gem5.opt.sc m5out/config.ini -o 2147483648 92 93The parameter -o specifies the begining of the memory region (0x80000000). 94The system should boot now. 95 96For conveniance a run_gem5.sh file holds all those commands | 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 --- 80 unchanged lines hidden (view full) --- 89Try: 90 91> ./gem5.opt.sc m5out/config.ini -o 2147483648 92 93The parameter -o specifies the begining of the memory region (0x80000000). 94The system should boot now. 95 96For conveniance a run_gem5.sh file holds all those commands |
97 98 99III. Elastic Trace Setup 100======================== 101 102Elastic traces can also be replayed into the SystemC world. 103For more information on elastic traces please refer to: 104 105 - http://www.gem5.org/TraceCPU 106 107 - Exploring System Performance using Elastic Traces: 108 Fast, Accurate and Portable 109 R. Jagtap, S. Diestelhorst, A. Hansson, M. Jung, N. Wehn. 110 IEEE International Conference on Embedded Computer Systems Architectures 111 Modeling and Simulation (SAMOS), July, 2016, Samos Island, Greece. 112 113Similar to I. the simulation can be set up with this command: 114 115> ../../build/ARM/gem5.opt ./tlm_elastic.py 116 117Then: 118 119> ./gem5.opt.sc m5out/config.ini |
|