design of cache ways in w-way set associative cache

Status
Not open for further replies.

ssubha

Junior Member level 2
Joined
Feb 1, 2011
Messages
21
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,435
I want to design 4-way set associative cache of eight sets. i use the following verilog code to view this as array of 32 entries.
reg[0..7] sa[0..31];
can i selectively put off the array elements using power gating thus disabling the cache ways? is there any better method to achieve this?
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…