Re: [Gems-users] Generated files in ruby


Date: Thu, 7 Sep 2006 15:33:42 -0500 (CDT)
From: Mike Marty <mikem@xxxxxxxxxxx>
Subject: Re: [Gems-users] Generated files in ruby
> I am looking for a protocol where each processor has split L1 and unified
> L2.
> I think the CMP protocols GEMS provides has a shared L2 for all processors.
> Is this a fact?
>

MOESI_CMP_token, MOESI_CMP_directory, and MSI_MOSI_CMP_directory all
implement a shared L2


> This is now clear. So I guess I can't change those assumptions of SLICC. Say
> if
> I want add more public methods for L1Cache_Entry, I can't change it in
> generated
> file. But I should be able change the AbstractCacheEntry class.

The AbstractCacheEntry.h abstract class is used because each cache entry
includes some necessary fields used by CacheMemory.h.  For example, the
CacheEntry must contain an Address and a LastRef field to implement LRU
replacement.

> Also, after
> I
> make the changes, I should recompile ruby like this, right?
>
> make PROTOCOL=MOSI_SMP_bcast DESTINATION=MOSI_SMP_bcast
>

Yes.


> BTW, any idea how I can make dataBlk function correctly? Or is
> there a release of GEMS that supports dataBlk? In my project I do need the
> cache to contain actual data.
>

DataBlk functionality works when using the tester.  It is supposed to work
when using Simics, but I recall some reports of problems with this.  I
haven't looked into any problems.  When using Simics, it should call into
Simics to read the memory value.

--Mike

[← Prev in Thread] Current Thread [Next in Thread→]