Changeset 85 for trunk/IPs/systemC/processor/Morpheo/Behavioural/src
- Timestamp:
- May 14, 2008, 3:09:48 PM (17 years ago)
- 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 28 28 bool each_cycle) 29 29 { 30 if (type = TYPE_COUNTER)30 if (type == TYPE_COUNTER) 31 31 create_counter (varname,unit,description); 32 32 else -
trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Vhdl_get_header.cpp
r81 r85 19 19 #define FUNCTION "Vhdl::get_header" 20 20 std::string Vhdl::get_header(uint32_t depth, 21 std::string filename)21 std::string filename) 22 22 { 23 23 log_printf(FUNC,Behavioural,FUNCTION,"Begin"); 24 24 25 std::string 26 std:: ostringstreamtext;25 std::string tab = std::string(depth,'\t'); 26 std::string text; 27 27 28 28 time_t current_time; 29 29 time (¤t_time); 30 30 31 text << tab << "-------------------------------------------------------------------------------" << std::endl32 << tab << "-- file : " << filename << std::endl 33 << tab << "-- date : " << ctime (¤t_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 (¤t_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"; 37 37 38 38 log_printf(FUNC,Behavioural,FUNCTION,"End"); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/src/XML_header.cpp
r81 r85 7 7 8 8 #include "Behavioural/include/XML.h" 9 #include "Behavioural/include/Version.h" 9 10 10 11 namespace morpheo { … … 20 21 time (¤t_time); 21 22 22 std::string str_time = ctime (¤t_time );23 24 23 std::string str; 25 24 … … 27 26 str += "\n"; 28 27 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 (¤t_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"; 32 32 str += "-->\n"; 33 33 str += "\n";
Note: See TracChangeset
for help on using the changeset viewer.