Re: [Gems-users] SLICC question


Date: Thu, 04 Dec 2008 10:55:37 +0100
From: Lois Orosa Nogueira <lois.orosa@xxxxxx>
Subject: Re: [Gems-users] SLICC question

Can I change the state in CacheMemory.h with m_cache[cacheSet][i].m_CacheState==NewState instead of change the state in the *.sm file with  L2cacheMemory[different_address].State := State:MY_MESSED_UP_STATE; ? And the TBE State in TBEtable.h ???

Thanks
Lois

Mike Marty escribió:
Yes, but doing so is playing with fire.

The state is queried by getState().  If a TBE is allocated, the state is pulled from the TBE entry.  Otherwise if a cache block is allocate, the state is pulled from the State field in the CacheEntry.  Otherwise State:NP is typically returned.

You could directly manipulate the cache block's state by accessing the TBEEntry or CacheEntry directly.  I.e.  L2cacheMemory[different_address].State := State:MY_MESSED_UP_STATE;

--Mike



On Thu, Oct 23, 2008 at 12:03 PM, Lois Orosa Nogueira <lois.orosa@xxxxxx> wrote:
Hi list,

Is it posible to change the state of two diferent cache blocks at the
same time in a single cache request with a single trigger??

Thanks
Lois
_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.



_______________________________________________ Gems-users mailing list Gems-users@xxxxxxxxxxx https://lists.cs.wisc.edu/mailman/listinfo/gems-users Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.

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