Project

General

Profile

MMU description » History » Version 2

Taya Sergeeva, 01/29/2013 01:01 PM

1 1 Taya Sergeeva
h1. MMU description
2
3
1. Documentation with examples
4 2 Taya Sergeeva
5
There is an example of buffer which can be loaded to the MMU translator:
6
7
/**********************************************************/
8
address PA  
9
{
10
	width = 40
11
}
12
13
buffer L1 
14
{
15
	sets = 4
16
	lines = 128
17
	line = (tag:30 data:256)
18
	index(addr:PA) = addr<9**8> 
19
	match(addr:PA) = line.tag == addr<39**10>	
20
	policy =  lru
21
}
22
23
/**********************************************************/
24
25 1 Taya Sergeeva
2. Scheme of the translation