Hi Fugelin,

This is an interesting bug! I would guess that there's a packet being
copied in the cache when it should be reused. The simple cache isn't tested
with Arm, and it's really just an example and shouldn't be used for
anything "real". If you do figure out the bug, we'd love to accept your
contribution!

Cheers,
Jason

On Tue, Mar 23, 2021 at 8:48 PM Gelin Fu via gem5-users <gem5-users@gem5.org>
wrote:

> Hi all,
>
> I am a freshman about gem5, so I try the learing_gem5 tutorial first. When
> I was modeling SimpleCache in the tutorial part2, I find this model can
> only work well with X86, not ARM. The screen outputs as follows:
>     gem5 version 20.1.0.4
>     gem5 compiled Mar 24 2021 11:38:19
>     gem5 started Mar 24 2021 11:40:55
>     gem5 executing on fgl-virtual-machine, pid 46006
>     command line: build/ARM/gem5.opt configs/tutorials/simple_cache.py
>
>     warn: membus.slave is deprecated. `slave` is now called
> `cpu_side_ports`
>     warn: membus.master is deprecated. `master` is now called
> `mem_side_ports`
>     warn: membus.slave is deprecated. `slave` is now called
> `cpu_side_ports`
>     Global frequency set at 1000000000000 ticks per second
>     warn: No dot file generated. Please install pydot to generate the dot
> file and pdf.
>     warn: DRAM device capacity (8192 Mbytes) does not match the address
> range assigned (512 Mbytes)
>     0: system.remote_gdb: listening for remote gdb on port 7000
>     warn: CoherentXBar system.membus has no snooping ports attached!
>     Beginning simulation!
>     info: Entering event queue @ 0.  Starting simulation...
>     gem5.opt: build/ARM/mem/request.hh:776: uint64_t
> Request::getExtraData() const: Assertion
> `privateFlags.isSet(VALID_EXTRA_DATA)' failed.
>     Program aborted at tick 12055000
>
> I would like to know if this SimpleCache object can be used for the ARM
> ISA or the reason why it cannot be used for ARM  ISA.
>
> Thanks and regards
> Fugelin
>  Xi'an Jiaotong University
> _______________________________________________
> gem5-users mailing list -- gem5-users@gem5.org
> To unsubscribe send an email to gem5-users-le...@gem5.org
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
>
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to