Hi Sharjeel,

This is a known issue with Ruby+ARM. Ruby does not support anything other
than a flat address space starting at 0. There are two options.
1. Overprovision memory. Just allocate 0-0x80000000 as well as the next
256MB. That's only an extra 2GB... You could probably pretty easily modify
Ruby to assign the first X bytes to one directory and then split the next
256 MB as you want. This would probably be a source change, though.
2. You can fix ruby to actually understand memory ranges. The main reason
that Ruby can't deal with this is that the logic that decides which
directory to send requests to is not very flexible. It really shouldn't be
that hard to fix this. If you do this, we would love to merge it into the
mainline.

Jason

On Fri, Apr 21, 2017 at 6:09 AM SHARJEEL KHILJI <
[email protected]> wrote:

> Hi,
>
> I want to simulate the a mesh ARM NOC  in FS mode with four nodes (four
> directories and four memory ranges each on one node). These memory ranges
> registered with four abstract memory objects for four node are as follows
> 0x80000000 - 0x8fffffff
> 0x90000000 - 0x9fffffff
> 0xa0000000 - 0xafffffff
> 0xb0000000 - 0xbfffffff
> Each range is 256MB with total memory size as 1GB physical mem. The
> protocol is MESI two level with private L1 and shared L2s. Directories in
> ruby are generating addresses starting from 0x0 onwards? assuming one
> contiguous memory range ? But I want directory at each node to  generate
> addresses within the range for the directory as specified above. Each of
> these ranges is assigned to one memory controller and one directory
> controller in ruby.py. Kindly, if someone can provide some assistance that
> from where in ruby addresses are generated for Packet and request? How can
> I make each directory to generate addresses within the specified range for
> that directory.
>
> best regards,
> Sharjeel
>
>
>
>
> _______________________________________________
> 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

Reply via email to