source: trunk/IPs/systemC/Environnement/Cache/src/Cache_OneLevel_print.cpp @ 78

Last change on this file since 78 was 78, checked in by rosiere, 16 years ago

Add :

  • Execute_loop (must be test systemC)
  • Prediction
    • Direction : predifined scheme
    • Branch Target Buffer
  • iFetch_unit
    • ifetch_queue
    • pc management
  • Decod_unit
    • coming soon : support for custom operation
  • Rename_unit
    • RAT
    • Free_list
    • Dependence RAW check
    • Load store unit pointer
  • New Environnement (hierarchy_memory will remove in a next version)


Modif :

  • Manage Custom Operation
  • All component in execute_loop to use the new statistics management

Not Finish :

  • Return Address Stack
  • Environnement
File size: 697 bytes
Line 
1#include "../include/Cache_OneLevel.h"
2
3namespace environnement {
4namespace cache {
5namespace 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.