Last change
on this file since 94 was
81,
checked in by rosiere, 16 years ago
|
- Finish Environment (and test)
- Continue predictor_unit
- Add external tools
- svn keyword "Id" set
|
-
Property svn:keywords set to
Id
|
File size:
695 bytes
|
Line | |
---|
1 | #include "../include/Cache_OneLevel.h" |
---|
2 | |
---|
3 | namespace environment { |
---|
4 | namespace cache { |
---|
5 | namespace cache_onelevel { |
---|
6 | |
---|
7 | std::ostream& operator<< (std::ostream& output, Cache_OneLevel & x) |
---|
8 | { |
---|
9 | output << x.information(0) << std::endl |
---|
10 | << "\t* Size Address (hex) : " << x.size_address << std::endl; |
---|
11 | |
---|
12 | output << " * Tag" << std::endl; |
---|
13 | for (uint32_t i = 0; i < x.param->nb_line / x.param->associativity; i ++) |
---|
14 | { |
---|
15 | output << " "; |
---|
16 | for (uint32_t j = 0; j < x.param->associativity; j ++) |
---|
17 | output << x.tag [i][j] << " | "; |
---|
18 | output << std::endl; |
---|
19 | } |
---|
20 | |
---|
21 | output << " * Write Buffer" << std::endl; |
---|
22 | output << *x.write_buffer << std::endl; |
---|
23 | |
---|
24 | return output; |
---|
25 | } |
---|
26 | }; |
---|
27 | }; |
---|
28 | }; |
---|
Note: See
TracBrowser
for help on using the repository browser.