sim: Adding thermal model support
authorDavid Guillen Fandos <david.guillen@arm.com>
Tue, 12 May 2015 09:26:47 +0000 (10:26 +0100)
committerDavid Guillen Fandos <david.guillen@arm.com>
Tue, 12 May 2015 09:26:47 +0000 (10:26 +0100)
commit75c82f1fe3e654ca7d472d8f824424ff450c01d1
treeb07198404e3647302cc66e800fb7bf1fcdad01fa
parent85dadcd38133252652686b92c52cc6a38c90331c
sim: Adding thermal model support

This patch adds basic thermal support to gem5. It models energy dissipation
through a circuital equivalent, which allows us to use RC networks.
This lays down the basic infrastructure to do so, but it does not "work" due
to the lack of power models. For now some hardcoded number is used as a PoC.
The solver is embedded in the patch.
17 files changed:
src/sim/SConscript
src/sim/SubSystem.py
src/sim/System.py
src/sim/linear_solver.cc [new file with mode: 0644]
src/sim/linear_solver.hh [new file with mode: 0644]
src/sim/power/SConscript [new file with mode: 0644]
src/sim/power/ThermalDomain.py [new file with mode: 0644]
src/sim/power/ThermalModel.py [new file with mode: 0644]
src/sim/power/thermal_domain.cc [new file with mode: 0644]
src/sim/power/thermal_domain.hh [new file with mode: 0644]
src/sim/power/thermal_entity.hh [new file with mode: 0644]
src/sim/power/thermal_model.cc [new file with mode: 0644]
src/sim/power/thermal_model.hh [new file with mode: 0644]
src/sim/sub_system.cc
src/sim/sub_system.hh
src/sim/system.cc
src/sim/system.hh