Hi Muzamil, For the Learning gem5 two-level script, there was a bug in an old version of it. It should be "system.cpu.interrupts.pio[0]".
The correct script can be downloaded here: http://learning.gem5.org/book/_downloads/two_level.py. (Note: the cannonical version of the book now lives at http://learning.gem5.org/.) Also, you can always find a working version of the scripts in gem5/configs/learning_gem5/. Cheers, Jason On Tue, Jan 17, 2017 at 5:06 AM Andreas Hansson <[email protected]> wrote: > Hi Muzamil, > > The first issue is being addressed and patch will be pushed soon. > > The second issue would be good if you could clarify a bit further. Are you > suggesting the two-level script does not work out of the box? > > Thanks, > > Andreas > > From: gem5-users <[email protected]> on behalf of Muzamil > Rafique <[email protected]> > Reply-To: gem5 users mailing list <[email protected]> > Date: Monday, 16 January 2017 at 19:51 > To: "[email protected]" <[email protected]> > Subject: [gem5-users] HMC Simulation > > Hi, > > Thanks Andreas Hansson and Abdul Mutaal for your response. But still I > have couple of issues. > > > *1.* I have downloaded latest version of gem 5 and tried to simulate > hmctest.py in folder configs/example/hmctest.py using command: > > > build/ARM/gem5.opt configs/example/hmctest.py > > and get the following error. > > > warn: Cache line size is neither 16, 32, 64 nor 128 bytes. > info: Entering event queue @ 0. Starting simulation... > > gem5.opt: > > *build/ARM/mem/dram_ctrl.cc:684: void DRAMCtrl::processRespondEvent(): > Assertion `(dram_pkt->rankRef.pwrState == PWR_ACT) || > (dram_pkt->rankRef.pwrState == PWR_IDLE)' failed. *Program aborted at > tick 8384100 > > Just to make sure is it a bug or i did something wrong in running > simulation? > > *2.* I use to run basic tutorial on gem5 like > *configs/tutorial/two-level.py* by following instructions available > online. But now same programs are not running on latest gem5 version and > giving errors like mentioned below. > > *command line: build/X86/gem5.opt configs/tutorial/two-level.py* > > Traceback (most recent call last): > File "<string>", line 1, in <module> > File "/home/muzamil/GEM5/gem5/src/python/m5/main.py", line 400, in main > exec filecode in scope > File "configs/tutorial/two-level.py", line 92, in <module> > * system.cpu.interrupts.pio = system.membus.master* > File "/home/muzamil/GEM5/gem5/src/python/m5/params.py", line 239, in > __setattr__ > > *"Not allowed to set %s on '%s'" % (attr, type(self).__name__) > AttributeError: Not allowed to set pio on 'SimObjectVector'* > > How to set "pio" to make it run. > > Thanks > Muzamil > > 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. > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users -- Jason
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
