On Thu, 2 Aug 2012, Xi Chen wrote:
Hi Nilay,
Thanks for the response. Actually this is also the problem I am facing
with.
The file src/mem/ruby/CacheMemory.cc defines basic class of Ruby Cache. The
L1, L2 cache are all defined with slicc file, and only after built can
these files be compiled in
Hi Nilay,
Thanks for the response. Actually this is also the problem I am facing
with.
The file src/mem/ruby/CacheMemory.cc defines basic class of Ruby Cache. The
L1, L2 cache are all defined with slicc file, and only after built can
these files be compiled into c++ file. Also I cannot find somewh
Can you try replacing the place where l2_request_latency is used (other
than the definition it self) with a function call? This function can
return different values depending on the ratio.
--
Nilay
On Tue, 31 Jul 2012, Xi Chen wrote:
Hi Nilay,
I tried to add a variable in the MESI_CMP_direc
Hi Nilay,
I tried to add a variable in the MESI_CMP_directory-L2cache.sm file, like
change "int l2_request_latency=2" to "int l2_request_latency := 2 * ratio",
but it failed with error ">*<".
I tried to change "m_latency=p->latency * ratio" in
src/mem/ruby/system/CacheMemory.cc, but this will affe
On Mon, 30 Jul 2012, Xi Chen wrote:
Hi all,
I have a question about SLICC question. I am using MESI-CMP-directory,
alpha. I want the l2_request_latency and l2_response_latency to be
dynamical during the runtime, that means l2_request_latency is not a
constant but changes like l2_request_latency
In the src/mem/protocol/MESI-CMP-directory-L2cache.sm, "int
l2_request_latency = 2". I want to change it to " int l2_request_latency =
2*variable" where that "variable" is from another file, say src/mem/aa.hh.
Is there anyway to do that?
Thanks,
--
Xi Chen
___
Hi all,
I have a question about SLICC question. I am using MESI-CMP-directory,
alpha. I want the l2_request_latency and l2_response_latency to be
dynamical during the runtime, that means l2_request_latency is not a
constant but changes like l2_request_latency=default value * (ruby freq/cpu
freq) i