Project

General

Profile

MMU description » History » Revision 3

Revision 2 (Taya Sergeeva, 01/29/2013 01:01 PM) → Revision 3/132 (Taya Sergeeva, 01/29/2013 02:37 PM)

h1. MMU description 

 1. Documentation with examples 

 There is an example of buffer which can be loaded to the MMU translator: 

 /**********************************************************/ 
 address PA   
 { 
	 width = 40 
 } 

 buffer L1  
 { 
	 sets = 4 
	 lines = 128 
	 line = (tag:30 data:256) 
	 index(addr:PA) = addr<9**8>  
	 match(addr:PA) = line.tag == addr<39**10> 	
	 policy =    lru 
 } 

 /**********************************************************/ 

 The folder ru.ispras.microtesk.translator.mmu.ir. contains the inner representation 2. Scheme of the MMU hierarchy.  
 Buffer L1 is a child of the class BufferExpr, address PA is a child of the class AddressExpr.  
 translation