[Gems-users] question about LX_CACHE_NUM_SETS_BITS parameter


Date: Sun, 20 Apr 2008 14:26:50 -0400
From: "Konstantinos Aisopos" <kaisopos@xxxxxxxxx>
Subject: [Gems-users] question about LX_CACHE_NUM_SETS_BITS parameter
hi all,

I have a quick question about some configuration parameters. I
simulate a MESI_SCMP protocol with 64 cores on one single chip.

my question is: if LX is L1 or L2 and we have these parameters:
LX_CACHE_ASSOC 4
LX_CACHE_NUM_SETS_BITS 8
do these parameters represent the "total LX cache capacity" or the
"per core LX cache capacity"?

in other words is the size of LX *per core*..
       4 * 2^16 = 256K entries => 256K * 64bytes/line = 16MB???
or.. (4 * 2^16) / 64 = 4K entries  => 4K * 64bytes/line = 256KB???

thanks,
-Kostas
[← Prev in Thread] Current Thread [Next in Thread→]