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 <rishucod...@gmail.com> 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
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to