Ignore:
Timestamp:
May 14, 2008, 3:09:48 PM (16 years ago)
Author:
rosiere
Message:
  • Ifetch_unit : systemC test ok
  • modif shell script and makefile.tools : SHELL=/bin/bash
File:
1 edited

Legend:

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

    r81 r85  
    1919#define FUNCTION "Vhdl::get_header"
    2020  std::string Vhdl::get_header(uint32_t depth,
    21                           std::string   filename)
     21                               std::string   filename)
    2222  {
    2323    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
    2424
    25     std::string        tab = std::string(depth,'\t');
    26     std::ostringstream text;
     25    std::string tab = std::string(depth,'\t');
     26    std::string text;
    2727
    2828    time_t current_time;
    2929    time (&current_time);
    3030
    31     text << tab << "-------------------------------------------------------------------------------" << std::endl
    32          << tab << "-- file            : " << filename                                               << std::endl
    33          << tab << "-- date            : " << ctime (&current_time )
    34          << tab << "-- morpheo version : " << MORPHEO_VERSION                                        << std::endl
    35          << tab << "-- comment         : it's a autogenerated file : don't modify"                   << std::endl
    36          << tab << "-------------------------------------------------------------------------------" << std::endl;
     31    text += "-------------------------------------------------------------------------------\n";
     32    text += "-- "+toString(_("File : "))            + filename  +"\n";
     33    text += "-- "+toString(_("Date : "))            + ctime (&current_time );
     34    text += "-- "+toString(_("Morpheo version : ")) + MORPHEO_VERSION +"\n";
     35    text += "-- "+toString(_("Comment : "))         + _("it's a autogenerated file, don't modify") +"\n";
     36    text += "-------------------------------------------------------------------------------\n";
    3737   
    3838    log_printf(FUNC,Behavioural,FUNCTION,"End");
Note: See TracChangeset for help on using the changeset viewer.