From e0e8b08a42210011205b52c3628749f60658e58c Mon Sep 17 00:00:00 2001 From: Andreas Hansson Date: Thu, 9 Oct 2014 17:52:03 -0400 Subject: ext: Add DRAMPower to enable on-line DRAM power modelling This patch adds the open-source (BSD 3-clause) tool DRAMPower, commit 8d3cf4bbb10aa202d850ef5e5e3e4f53aa668fa6, to be built as a part of the simulator. We have chosen this specific version of DRAMPower as it provides the necessary functionality, and future updates will be coordinated with the DRAMPower development team. The files added only include the bits needed to build the library, thus excluding all memory specifications, traces, and the stand-alone DRAMPower command-line tool. A future patch includes the DRAMPower functionality in the DRAM controller, to enable on-line DRAM power modelling, and avoid using post-processing of traces. --- SConstruct | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'SConstruct') diff --git a/SConstruct b/SConstruct index a96f8a685..1c3d8aa44 100755 --- a/SConstruct +++ b/SConstruct @@ -1175,6 +1175,10 @@ main.SConscript('ext/fputils/SConscript', main.SConscript('ext/dramsim2/SConscript', variant_dir = joinpath(build_root, 'dramsim2')) +# DRAMPower build is shared across all configs in the build root. +main.SConscript('ext/drampower/SConscript', + variant_dir = joinpath(build_root, 'drampower')) + ################################################### # # This function is used to set up a directory with switching headers -- cgit v1.2.3