Hello,

I am just starting the cache part coding. And I am a little bit confused why a 
tag field is required for CacheLine structure in cacheLines.h file. As I am 
thinking the lib/logic.h has already defined the FullyAssociativeTags  
tags[ways], the tags[i] is used as the tag. Therefore, there is no necessary to 
use a tag field in CacheLine filed. Only reason I am thinking is for 
convenience but it brings troubles to ensure that these two tags (in the 
CacheLine and in logic.h) should be consistent. 

Is my understanding correct? 

Thanks,
kuniors
_______________________________________________
http://www.marss86.org
Marss86-Devel mailing list
[email protected]
https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel

Reply via email to