Ignore:
Timestamp:
Mar 6, 2007, 3:34:04 PM (17 years ago)
Author:
kane
Message:

1) Ajout d'un "printer" XML pour la configuration de paramètres

2) Fin du composant "Two_Level_Branch_Predictor"

validation * systemc

  • vhdl
Location:
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/VERSION

    r2 r3  
    1 v0.3
     1v0.4
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/Parameters_print.cpp

    r2 r3  
    77
    88#include "Behavioural/@DIRECTORY/include/Parameters.h"
    9 #include <sstream>
     9#include "Behavioural/include/XML.h"
    1010using namespace std;
    1111
     
    1818    log_printf(FUNC,@COMPONENT,"print","Begin");
    1919
    20     string tab = string(depth,'\t');
    21     ostringstream msg;
    22     msg << tab << "<@COMPONENT_LOWER>" << endl
    23         << tab << "</@COMPONENT_LOWER>" << endl;
     20    XML xml ("@COMPONENT_LOWER");
     21
     22    xml.balise_open("@COMPONENT_LOWER");
     23//  xml.  singleton_begin("size_data");
     24//  xml.    attribut("value",toString(_size_data));
     25//  xml.  singleton_end();
     26//  xml.  singleton_begin("nb_port  ");
     27//  xml.    attribut("value",toString(_nb_port));
     28//  xml.  singleton_end();
     29    xml.balise_close();
    2430
    2531    log_printf(FUNC,@COMPONENT,"print","End");
    2632   
    27     return msg.str();
     33    return xml.get_body(depth);
    2834  };
    2935
Note: See TracChangeset for help on using the changeset viewer.