Hi Andreas, Thanks for writing this patch. I'm in the process of making some changes to the DRAMSim2 interface that will eventually be going into the master branch and be breaking the current API. Since I'm already breaking the API, if you have any ideas for changes that would make it easier to integrate DRAMSim2 with GEM5, I'll do my best to try to implement them.
Thanks, Paul On Mon, Nov 25, 2013 at 8:59 AM, Andreas Hansson <[email protected]>wrote: > Hi, > > I suggest you have a look at http://reviews.gem5.org/r/2087/ > > In contrast to earlier attempts I’ve seen, this patch properly > integrates DRAMSim2 as a type of memory in gem5. > > All you have to do is follow the instructions in the patch. > > Andreas > > From: Xing Niu <[email protected]> > Reply-To: gem5 users mailing list <[email protected]> > Date: Sunday, 24 November 2013 23:20 > To: "[email protected]" <[email protected]> > Subject: [gem5-users] DRAMSim2+GEM5 Error > > Hi, I want to use DRAMSim2+GEM5, and the patch of Xiangyu Dong is used. > Dong only supplies the se_dramsim2.py, but I want to use the FS mode. > > I modified the fs.py, only adding one sentence below > > test_sys.physmem = DRAMMemory(range=AddrRange("512MB")) > > the following error occured. > > xniu@hec-53:~/gem5_parsec1/gem5$ ./build/ALPHA_FS/m5.opt > configs/example/fs_dramsim2.py -t > > gem5 Simulator System. http://gem5.org > gem5 is copyrighted software; use the --copyright option for details. > gem5 compiled Nov 24 2013 17:37:01 > gem5 started Nov 24 2013 23:20:56 > gem5 executing on hec-53 > command line: ./build/ALPHA_FS/m5.opt configs/example/fs_dramsim2.py -t > Global frequency set at 1000000000000 ticks per second > warn: This is an integrated DRAMsim v2 module > CPU Clock = 2000MHz > Memory Bus Clock = 666MHz > Memory Capacity = 512MB > info: kernel located at: /mnt/common/xniu/parsec/m5_system/binaries/vmlinux > Listening for system connection on port 3456 > 0: system.tsunami.io.rtc: Real-time clock set to Thu Jan 1 00:00:00 > 2009 > Error connecting port system.membus.port to <orphan PhysicalMemory>.port > Traceback (most recent call last): > File "<string>", line 1, in <module> > File "/mnt/common/xniu/gem5_parsec1/gem5/src/python/m5/main.py", line > 356, in main > exec filecode in scope > File "configs/example/fs_dramsim2.py", line 219, in <module> > Simulation.run(options, root, test_sys, FutureClass) > File "/mnt/common/xniu/gem5_parsec1/gem5/configs/common/Simulation.py", > line 235, in run > m5.instantiate(checkpoint_dir) > File "/mnt/common/xniu/gem5_parsec1/gem5/src/python/m5/simulate.py", > line 79, in instantiate > for obj in root.descendants(): obj.connectPorts() > File "/mnt/common/xniu/gem5_parsec1/gem5/src/python/m5/SimObject.py", > line 972 , in connectPorts > portRef.ccConnect() > File "/mnt/common/xniu/gem5_parsec1/gem5/src/python/m5/params.py", line > 1473, in ccConnect > [el.ccConnect() for el in self.elements] > File "/mnt/common/xniu/gem5_parsec1/gem5/src/python/m5/params.py", line > 1395, in ccConnect > peer.simobj.getCCObject(), peer.name, peer.index) > File "/mnt/common/xniu/gem5_parsec1/gem5/src/python/m5/SimObject.py", > line 943 , in getCCObject > raise RuntimeError, "Attempt to instantiate orphan node" > RuntimeError: Attempt to instantiate orphan node > > > Thanks in advance, > Xing > > > > -- IMPORTANT NOTICE: The contents of this email and any attachments are > confidential and may also be privileged. If you are not the intended > recipient, please notify the sender immediately and do not disclose the > contents to any other person, use it for any purpose, or store or copy the > information in any medium. Thank you. > > ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, > Registered in England & Wales, Company No: 2557590 > ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, > Registered in England & Wales, Company No: 2548782 > > _______________________________________________ > 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
