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
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/src/XML_get_body.cpp

    r2 r3  
    1616  };
    1717
     18  string XML::get_body (uint32_t depth)
     19  {
     20    string body       = _body;
     21    string tabulation = indent(depth);
     22
     23    body.insert(0,tabulation);
     24    for (size_t pos=body.find('\n',0); pos<body.length()-1; pos=body.find('\n',++pos))
     25      body.insert(++pos,tabulation);
     26
     27    return body;
     28  };
     29
    1830}; // end namespace behavioural         
    1931}; // end namespace morpheo             
Note: See TracChangeset for help on using the changeset viewer.