Re: [Gems-users] modify one cache parameter of MSI_MOSI_CMP_directory


Date: Fri, 15 Sep 2006 15:21:15 -0300 (BRT)
From: Mario Donato Marino <mario@xxxxxxxxxxxxxxxxxx>
Subject: Re: [Gems-users] modify one cache parameter of MSI_MOSI_CMP_directory
On Tue, 12 Sep 2006, Mike Marty wrote:
Hi!

And how about if I would like to modify, for example, the size of a L2 bank?

How is it possible to see if the modified value is properly applied from the statistics? Is there any relationship between the cache objects in Gems and objects in Simics? When I type list-object in Simics I don't see the objects created by Gems.

	Your help will be greatly appreciated!
	Thanks,

	Mario


> The L2 cache size is set in the L2 controller specification: >
 CacheMemory L2cacheMemory, template_hack="<L2Cache_Entry>",
constructor_hack='L2_CACHE_NUM_SETS_BITS,L2_CACHE_ASSOC,MachineType_L2Cache,int_to_string(i)';


This is instantiated for each controller.  To do what you want, perhaps
you should set the size in CacheMemory.h based on the passed parameter.
For example, do this (using the hidden "i" parameter that is used for
the name of the cache object):

 CacheMemory L2cacheMemory, template_hack="<L2Cache_Entry>",
constructor_hack='i, MachineType_L2Cache,int_to_string(i)';



Hi!

 	Suppose we have several L2s, I would like to modify just 1 of the
L2 cache sizes in MSI_MOSI_CMP_directory. ( I could also say I would
like to modify block size, associativity or other parameters). Should I
modify  the protocol specification (via the SLICC utility) or should I
modify the generated codes? What is the most appropriated?

 	Your help will be greatly appreciated!
 	Thanks,

 	Mario






_______________________________________________
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→]