README (12047:8b269268312c) README (12207:a0836f380313)
1This directory contains a demo of a coupling between gem5 and SystemC-TLM. It
2is based on the gem5-systemc implementation in utils/systemc. This Readme gives
3an overall overview (I), describes the source files in this directory (II),
4explains the build steps (III), shows how to run example simulations (IV-VI)
5and lists known issues (VII).
6
7
8I. Overview

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

179 R. Jagtap, S. Diestelhorst, A. Hansson, M. Jung, N. Wehn.
180 IEEE International Conference on Embedded Computer Systems Architectures
181 Modeling and Simulation (SAMOS), July, 2016, Samos Island, Greece.
182
183Similar to IV. the simulation can be set up with this command:
184
185> ../../build/ARM/gem5.opt ./conf/tlm_elastic_slave.py
186
1This directory contains a demo of a coupling between gem5 and SystemC-TLM. It
2is based on the gem5-systemc implementation in utils/systemc. This Readme gives
3an overall overview (I), describes the source files in this directory (II),
4explains the build steps (III), shows how to run example simulations (IV-VI)
5and lists known issues (VII).
6
7
8I. Overview

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

179 R. Jagtap, S. Diestelhorst, A. Hansson, M. Jung, N. Wehn.
180 IEEE International Conference on Embedded Computer Systems Architectures
181 Modeling and Simulation (SAMOS), July, 2016, Samos Island, Greece.
182
183Similar to IV. the simulation can be set up with this command:
184
185> ../../build/ARM/gem5.opt ./conf/tlm_elastic_slave.py
186
187or
188
189> ../../build/ARM/gem5.opt ./conf/tlm_elastic_slave_with_l2.py
190
187Then:
188
189> build/examples/slave_port/gem5.sc m5out/config.ini
190
191
192VII. Knwon issues
193=================
194
195* For some toolchains, compiling libgem5 with tcmalloc leads to errors
196 ('tcmalloc Attempt to free invalid pointer xxx') when linking libgem5 into a
197 SystemC application.
198* When SystemC is build with pthread support enabled, the binding of gem5 to
199 SystemC breaks. When gem5 is linked to a SystemC application, gem5's usage
200 of thread local storage results in a segfault.
191Then:
192
193> build/examples/slave_port/gem5.sc m5out/config.ini
194
195
196VII. Knwon issues
197=================
198
199* For some toolchains, compiling libgem5 with tcmalloc leads to errors
200 ('tcmalloc Attempt to free invalid pointer xxx') when linking libgem5 into a
201 SystemC application.
202* When SystemC is build with pthread support enabled, the binding of gem5 to
203 SystemC breaks. When gem5 is linked to a SystemC application, gem5's usage
204 of thread local storage results in a segfault.