 +
 +    config_file = Param.String("", "configuration file")
 +    num_cpus = Param.Unsigned(1, "Number of cpu")
-diff -r 0e86fac7254c src/mem/SConscript
---- a/src/mem/SConscript  Sat May 31 18:00:23 2014 -0700
-+++ b/src/mem/SConscript  Fri Jan 22 19:05:46 2016 -0500
+diff -r 0e86fac7254c -r d1234c44d57e src/mem/SConscript
+--- a/src/mem/SConscript	Sat May 31 18:00:23 2014 -0700
++++ b/src/mem/SConscript	Thu Mar 10 03:46:14 2016 +0800
 @@ -71,6 +71,11 @@
      Source('dramsim2_wrapper.cc')
      Source('dramsim2.cc')

                 # Inform each controller how many channels to account
                 # for
                 ctrl.channels = nbr_mem_ctrls
diff -r 0e86fac7254c configs/common/Options.py
--- a/configs/common/Options.py Sat May 31 18:00:23 2014 -0700
+++ b/configs/common/Options.py Fri Jan 22 19:05:46 2016 -0500
@@ -93,6 +93,8 @@
     parser.add_option("--mem-size", action="store", type="string",
                       default="512MB",

+main.Prepend(CPPPATH=Dir('.'))
+main.Append(LIBS=['ramulator'])
+main.Prepend(LIBPATH=[Dir('.')])
diff -r 0e86fac7254c -r d1234c44d57e src/mem/Ramulator.py
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/mem/Ramulator.py	Thu Mar 10 03:46:14 2016 +0800
@@ -0,0 +1,14 @@
+# -*- mode:python -*-
+from m5.params import *
