Hi,
We tried debugging the issue related to FA caches:
We found out that we get the segmentation fault due to the following
line in cache_impl.hh file

"  if (pkt->isRead()) {
            // Segmentation fault here...
            std::memcpy(blk->data, pkt->getPtr<uint8_t>(), blkSize);
    }
"

I guess this is because of the different findVictim method
implementation in the fa_lru code.
However, we could not debug this issue completely, could you tell us
where to find the actual source of this error ?

Thanks, 
Siddharth 

----- Original Message -----
From: "nathan binkert" <[email protected]>
To: "M5 users mailing list" <[email protected]>
Sent: Thursday, June 4, 2009 2:01:14 PM GMT -08:00 US/Canada Pacific
Subject: Re: [m5-users] Fully associative

> When i set my associativity = l2 size/block size (in my case L2 is 512k and 
> block is 64 so assoc is 8192) I get segmentation fault.
> However assoc of 4096 works. So i am not able to make it fully associative.
>
> I don't think I specifically need to change anything else. numSets in the 
> builder code gets set to 1 according to the formula above.

The fully associative code is different from the normal cache code and
I don't think it's used much, so it's entirely possible that there's
some bit rot going on here.  Perhaps you can spend a little time
debugging it.  We can help figure it out.

  Nate
_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to