I'm unfamiliar with the DRAMSim2 integration (which, BTW, the DRAMCtrl has all of the DRAMSim features, IIRC). However, two things to answer your questions.
1. You shouldn't ever have to change a parameter in src/*.py (the SimObject declaration files). You can *always* specify SimObject parameter values at run time in the configuration file. You simply need to modify a file in configs/ (or write your own) and set the parameter on the DRAMSim2 SimObject. 2. You always need to recompile gem5 if you change something in src/. No matter what you change in src/ it will not be reflected in gem5 execution until you recompile. This includes all of the python files and SimObject description files in src/. These python files are compiled into the gem5 binary. Jason On Mon, Jun 19, 2017 at 10:32 PM hassan yamin <[email protected]> wrote: > you have also to change the system and config files name in > gem5/src/mem/dramsim2.py... > > On Tue, Jun 20, 2017 at 4:49 AM, Muzamil Rafique > <[email protected]> wrote: > > Hi All, > > > > I have integrated DRAMSim2 with gem5 and want to try different config > files. > > I changed the device and system config file options in the > > gem5/src/mem/DRAMSim2.py file but it is taking already specified config > > files, not different files from folder > > gem5/ext/dramsim2/DRAMSim2/ini? Do I have to recompile gem5 or how can i > > specify my own device and system config file? > > > > Thanks > > Muzamil > > > > _______________________________________________ > > gem5-users mailing list > > [email protected] > > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
