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
Location:
trunk/IPs/systemC/processor/Morpheo/Behavioural/src
Files:
3 edited

Legend:

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

    r84 r85  
    2828                          bool           each_cycle)
    2929  {
    30     if (type = TYPE_COUNTER)
     30    if (type == TYPE_COUNTER)
    3131      create_counter (varname,unit,description);
    3232    else
  • 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");
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/src/XML_header.cpp

    r81 r85  
    77
    88#include "Behavioural/include/XML.h"
     9#include "Behavioural/include/Version.h"
    910
    1011namespace morpheo              {
     
    2021    time (&current_time);
    2122
    22     std::string str_time = ctime (&current_time );
    23 
    2423    std::string str;
    2524
     
    2726    str += "\n";
    2827    str += "<!--\n";
    29     str += "\tFile        : " + _name+"."+_filename_extension + "\n";
    30     str += "\tDate        : " + str_time;
    31     str += "\tComment     : it's a autogenerated file : don't modify\n";
     28    str += "\t"+toString(_("File : "))            + _name+"."+_filename_extension + "\n";
     29    str += "\t"+toString(_("Date : "))            + ctime (&current_time );
     30    str += "\t"+toString(_("Morpheo version : ")) + MORPHEO_VERSION +"\n";
     31    str += "\t"+toString(_("Comment : "))         + toString(_("it's a autogenerated file, don't modify")) +"\n";
    3232    str += "-->\n";
    3333    str += "\n";
Note: See TracChangeset for help on using the changeset viewer.