Ignore:
Timestamp:
Dec 31, 2008, 11:18:08 AM (16 years ago)
Author:
rosiere
Message:

1) Fix bug (read unit, RAT -> write in R0, SPR desallocation ...)
2) Change VHDL Execute_queue -> use Generic/Queue?
3) Complete document on VHDL generation
4) Add soc test

Location:
trunk/IPs/systemC/processor/Morpheo/Behavioural/src
Files:
4 edited

Legend:

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

    r81 r98  
    2121  {
    2222    for (uint32_t i=0; i<NB_GROUP; i++)
    23         if (_spr_generic [i] != NULL)
    24           delete _spr_generic [i];
     23      if (_spr_generic [i] != NULL)
     24        delete [] _spr_generic [i];
    2525
    26       delete [] _spr_generic;
     26    delete [] _spr_generic;
    2727
    28       delete _max_register_by_group;
    29     }
     28    delete [] _max_register_by_group;
     29  }
    3030
    3131}; // end namespace behavioural
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Vhdl_generate_file_model.cpp

    r88 r98  
    2626    msg_printf(INFORMATION,_("Generate file \"%s\"."),filename.c_str());
    2727
    28     log_printf(TRACE,Behavioural,"generate_file_model","declaration");
    2928    std::ofstream file;
    3029
    31     log_printf(TRACE,Behavioural,"generate_file_model","open file");
    3230    file.open(filename.c_str(),std::ios::out | std::ios::trunc);
    3331
    34     log_printf(TRACE,Behavioural,"generate_file_model","get model");
    3532    file << get_model (0,filename,_name,"behavioural");
    3633    file.close();
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Vhdl_get_header.cpp

    r94 r98  
    2929
    3030    text += "-------------------------------------------------------------------------------\n";
    31     text += "-- "+toString(_("File : "))            + filename  +"\n";
    32     text += "-- "+toString(_("Date : "))            + ctime (&current_time );
    33     text += "-- "+toString(_("Morpheo version : ")) + MORPHEO_HEADER +"\n";
    34     text += "-- "+toString(_("Comment : "))         + _("it's a autogenerated file, don't modify") +"\n";
     31    text += "-- "+toString(_("File    : ")) + filename  +"\n";
     32    text += "-- "+toString(_("Date    : ")) + ctime (&current_time );
     33    text += "-- "+toString(_("Version : ")) + MORPHEO_HEADER +"\n";
     34    text += "-- "+toString(_("Comment : ")) + _("it's a autogenerated file, don't modify") +"\n";
    3535    text += "-------------------------------------------------------------------------------\n";
    3636   
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/src/XML_header.cpp

    r88 r98  
    2626    str += "\n";
    2727    str += "<!--\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_HEADER +"\n";
    31     str += "\t"+toString(_("Comment : "))         + toString(_("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(_("Version : ")) + MORPHEO_HEADER +"\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.