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/Vhdl_get_list.cpp

    r43 r71  
    1111
    1212#include <sstream>
    13 using namespace std;
    1413
    1514namespace morpheo              {
     
    1817#undef  FUNCTION
    1918#define FUNCTION "Vhdl::get_list"
    20   string Vhdl::get_list (list<string> liste                ,
    21                          uint32_t     depth                ,
    22                          string       separator            ,
    23                          bool         last_separator       )
     19  std::string Vhdl::get_list (std::list<std::string> liste                ,
     20                              uint32_t     depth                ,
     21                              std::string       separator            ,
     22                              bool         last_separator       )
    2423  {
    2524    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
    2625
    27     list<string>::iterator i     = liste.begin();
    28     bool                   empty = liste.empty();
     26    std::list<std::string>::iterator i     = liste.begin();
     27    bool                             empty = liste.empty();
    2928
    30     string                 tab   = string(depth,'\t');
    31     ostringstream          text;
     29    std::string                 tab   = std::string(depth,'\t');
     30    std::ostringstream          text;
    3231
    3332    if (not empty)
     
    4241        while (i != liste.end())
    4342          {
    44             text << separator << endl;
     43            text << separator << std::endl;
    4544            text << tab << *i;
    4645            ++i;
     
    4847       
    4948        if (last_separator)
    50           text << separator << endl;
     49          text << separator << std::endl;
    5150      }
    5251
Note: See TracChangeset for help on using the changeset viewer.