This should be now fixed. I just merged https://gem5-review.googlesource.com/c/public/gem5/+/17828
Cheers, Jason On Tue, Mar 19, 2019 at 5:52 AM Nikos Nikoleris <[email protected]> wrote: > Have a look at the discussion here [1], you might be running into the > same issue. However, the patch is not ready yet, I think the conclusion > is that we have to send the swap packet to the writeQueue rather than > the readQueue. > > [1]: https://gem5-review.googlesource.com/c/public/gem5/+/17349 > > Nikos > > On 19/03/2019 12:14, Gambord, Ryan wrote: > > A write packet is ending up in the read queue. I'd run it in gdb up to > > that line and do some digging in there. > > > > Ryan > > > > On Tue, Mar 19, 2019, 05:08 Rishabh Jain <[email protected] > > <mailto:[email protected]>> wrote: > > > > Thanks for the reply Ryan. > > > > I build the system with this command: > > $scons build/RISCV/gem5.debug -j5 > > and then : > > $ build/RISCV/gem5.debug configs/learning_gem5/part1/simple.py > > Still, getting the same Assertion error. > > "build/RISCV/mem/dram_ctrl.cc:416: void > > DRAMCtrl::addToReadQueue(PacketPtr, unsigned int): Assertion > > `!pkt->isWrite()' failed." > > > > Am I missing something? > > > > On Tue, Mar 19, 2019 at 4:50 PM Rishabh Jain <[email protected] > > <mailto:[email protected]>> wrote: > > > > Hello everyone, > > > > I am getting an error while running "simple.py" configuration > > file, present at configs/learning_gem5/part1/ when I use the > > command: > > $ build/RISCV/gem5.opt configs/learning_gem5/part1/simple.py > > > > Error of console log is pasted at this link : > > https://pastebin.com/pgnaPzZQ > > > > This command used to work fine with mercurial > > repository(http://repo.gem5.org/gem5), but I found that the > > repository is not up to date. > > So, I cloned the latest git repository using: > > $ git clone https://gem5.googlesource.com/public/gem5 > > Then to build RISCV, I do: > > $ scons build/RISCV/gem5.opt > > > > I am highly confused here. The file "two_level.py" in > > configs/learning_gem5/part1/two_level.py works just fine but > > "simple.py " doesn't? > > Also, running "simple.py" with X86 ISA works just fine. > > > > From the console log: I am able to infer that an assertion > > present in file "build/RISCV/mem/dram_ctrl.cc" fails. > > > > Can somebody help in fixing this issue? > > > > Best, > > Rishabh Jain > > > > > > > > > > _______________________________________________ > > gem5-users mailing list > > [email protected] <mailto:[email protected]> > > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > > > 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
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
