source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Victim/Victim_Pseudo_LRU/src/Parameters_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: 1.4 KB
Line 
1/*
2 * $Id$
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/Generic/Victim/Victim_Pseudo_LRU/include/Parameters.h"
9#include "Behavioural/include/XML.h"
10#include <sstream>
11
12namespace morpheo {
13namespace behavioural {
14namespace generic {
15namespace victim {
16namespace victim_pseudo_lru {
17
18  std::string Parameters::print (uint32_t depth)
19  {
20    XML xml ("victim_pseudo_lru");
21
22    xml.balise_open("victim_pseudo_lru");
23    xml.singleton_begin("nb_entity   "); xml.attribut("value",toString(_nb_entity   )); xml.singleton_end();
24    xml.singleton_begin("nb_access   "); xml.attribut("value",toString(_nb_access   )); xml.singleton_end();
25//     xml.singleton_begin("nb_update   "); xml.attribut("value",toString(_nb_update   )); xml.singleton_end();
26    xml.singleton_begin("size_table  "); xml.attribut("value",toString(_size_table  )); xml.singleton_end();
27    xml.singleton_begin("table_global"); xml.attribut("value",toString(_table_global)); xml.singleton_end();
28    xml.balise_close();
29
30    return xml.get_body(depth);
31  };
32
33  std::ostream& operator<< (std::ostream& output_stream ,
34                            morpheo::behavioural::generic::victim::victim_pseudo_lru::Parameters & x)
35  {
36    output_stream << x.print(0);
37   
38    return output_stream;
39  };
40
41}; // end namespace victim_pseudo_lru
42}; // end namespace victim
43}; // end namespace generic
44}; // end namespace behavioural
45}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.