Ignore:
Timestamp:
Jan 19, 2008, 12:09:01 PM (16 years ago)
Author:
rosiere
Message:

Modification of Statisctics
Add a new systemC component : Load_Store_Queue (tested with one benchmark and one configuration). Store don't supported the Data Buss Error (Load is supported)

File:
1 edited

Legend:

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

    r43 r71  
    88#include "Behavioural/include/XML.h"
    99#include <fstream>
    10 using namespace std;
    1110
    1211namespace morpheo              {
     
    1514#undef  FUNCTION
    1615#define FUNCTION "XML::generate_file"
    17   void XML::generate_file (string encoding)
     16  void XML::generate_file (std::string encoding)
    1817  {
    1918    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
     
    2120    header (encoding);
    2221
    23     string name     = _name;
    24     string filename =  name + "." + _filename_extension;
     22    std::string filename =  _name + "." + _filename_extension;
    2523
    26     cout << "Generate file \""<< filename << "\"" << endl;
     24    std::cout << "Generate file \""<< filename << "\"" << std::endl;
    2725
    28     ofstream file;
    29     file.open(filename.c_str(),ios::out | ios::trunc);
     26    std::ofstream file;
     27    file.open(filename.c_str(),std::ios::out | std::ios::trunc);
    3028
    3129    file << get_body();
Note: See TracChangeset for help on using the changeset viewer.