source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/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/Core/Multi_Front_end/Front_end/Prediction_unit/include/Parameters.h"
9#include "Behavioural/include/XML.h"
10
11namespace morpheo                    {
12namespace behavioural {
13namespace core {
14namespace multi_front_end {
15namespace front_end {
16namespace prediction_unit {
17
18
19#undef  FUNCTION
20#define FUNCTION "Prediction_unit::print"
21  std::string Parameters::print (uint32_t depth)
22  {
23    log_printf(FUNC,Prediction_unit,FUNCTION,"Begin");
24
25    XML xml ("prediction_unit");
26
27    xml.balise_open("prediction_unit");
28//  xml.singleton_begin(""); xml.attribut("value",toString(_)); xml.singleton_end();
29    xml.balise_close();
30
31    log_printf(FUNC,Prediction_unit,FUNCTION,"End");
32   
33    return xml.get_body(depth);
34  };
35
36#undef  FUNCTION
37#define FUNCTION "Prediction_unit::operator<<"
38  std::ostream& operator<< (std::ostream& output_stream ,
39                            morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::Parameters & x)
40  {
41    log_printf(FUNC,Prediction_unit,FUNCTION,"Begin");
42
43    output_stream << x.print(0);
44   
45    log_printf(FUNC,Prediction_unit,FUNCTION,"End");
46
47    return output_stream;
48  };
49
50}; // end namespace prediction_unit
51}; // end namespace front_end
52}; // end namespace multi_front_end
53}; // end namespace core
54
55}; // end namespace behavioural
56}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.