Simplescalar cache_access( ) question
CASTalk.com Forum Index CASTalk.com
Discussion of DSP, FPGA, storage and embedded system.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web castalk.com
Simplescalar cache_access( ) question

 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Computer Architecture
Author Message
arun
Guest





Posted: Fri Nov 18, 2005 3:31 pm    Post subject: Simplescalar cache_access( ) question Reply with quote

Hello:

This is a Simplescalar simulator code question.

In SS 3.0, cache is accessed using a cache_access( ) function. In case
of write hit, shouldn't the 'ready' variable of the cache block
structure be changed to (now+hit_latency), when there are no
outstanding misses? If we return hit_latency when there is a read hit,
why does the same not apply on a write hit?

Currently, ready is changed only in the cache miss section to a future
cycle time equal to miss latency of that cache access.

Thanks in advance to anyone commenting on this question.
-Arun.
Back to top
 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Computer Architecture All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




VoIP Electronics Powered by phpBB