Ignore:
Timestamp:
May 16, 2009, 4:42:39 PM (15 years ago)
Author:
rosiere
Message:

1) Platforms : add new organization for test
2) Load_Store_Unit : add array to count nb_check in store_queue
3) Issue_queue and Core_Glue : rewrite the issue network
4) Special_Register_Unit : add reset value to register CID
5) Softwares : add multicontext test
6) Softwares : add SPECINT
7) Softwares : add MiBench?
7) Read_queue : inhib access for r0
8) Change Core_Glue (network) - dont yet support priority and load balancing scheme

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Common/include/ErrorMorpheo.h

    r88 r117  
    2222  class ErrorMorpheo : public std::exception
    2323  {
    24     // -----[ fields ]----------------------------------------------------
     24    // -----[ fields ]----------------------------------------------------
    2525  private : std::string _msg;
    2626   
    27     // -----[ methods ]---------------------------------------------------
     27    // -----[ methods ]---------------------------------------------------
    2828  public  :             ErrorMorpheo  ()                throw() {_msg = toString("%s ",MSG_ERROR); _msg+="Exception detected ...";}
    2929  public  :             ErrorMorpheo  (std::string msg) throw() {_msg = toString("%s ",MSG_ERROR); _msg+=msg;}
     
    3434    {
    3535#ifdef DEBUG
    36       _msg = toString(_("%s <%s> at line %d, in file %s : %s"),MSG_ERROR,funcname.c_str(),line,file.c_str(),msg.c_str());
     36      _msg = toString(_("\n%s at line %d, in file %s"),MSG_ERROR,line,file.c_str());
     37      _msg = toString(_("\n%s <%s> %s"),MSG_ERROR,funcname.c_str(),msg.c_str());
    3738#else
    38       _msg = toString(_("%s %s"),MSG_ERROR,msg.c_str());
     39      _msg = toString(_("\n%s %s"),MSG_ERROR,msg.c_str());
    3940#endif
    4041    }
     
    4445  };
    4546
    46   class TestMorpheo : public std::exception
    47   {
    48     // -----[ fields ]----------------------------------------------------
    49   private : std::string _msg;
     47//   class TestMorpheo : public std::exception
     48//   {
     49//     // -----[ fields ]----------------------------------------------------
     50//   private : std::string _msg;
    5051   
    51     // -----[ methods ]---------------------------------------------------
    52   public  :             TestMorpheo   ()                throw() {_msg=_("Test error ...");}
    53   public  :             TestMorpheo   (std::string msg) throw() {_msg=msg;}
    54   public  :             ~TestMorpheo  (void)            throw() {}
    55   public  : const char* what          ()    const       throw() { return ( _msg.c_str() );}
    56   };
     52//     // -----[ methods ]---------------------------------------------------
     53//   public  :             TestMorpheo   ()                throw() {_msg=_("Test error ...");}
     54//   public  :             TestMorpheo   (std::string msg) throw() {_msg=msg;}
     55//   public  :             ~TestMorpheo  (void)            throw() {}
     56//   public  : const char* what          ()    const       throw() { return ( _msg.c_str() );}
     57//   };
    5758
    5859}; // end namespace morpheo             
Note: See TracChangeset for help on using the changeset viewer.