Ignore:
Timestamp:
Feb 1, 2011, 9:57:54 PM (13 years ago)
Author:
rosiere
Message:

1) Integration of RegisterFile_Internal_Banked in RegisterFile?
2) Erase "read_write" interface in RegisterFile_Monolithic component
3) Add smith predictor parameters in Load_store_pointer_unit.
4) Fix not statistics flags

File:
1 edited

Legend:

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

    r138 r146  
    1818namespace morpheo              {
    1919
    20 #define ERRORMORPHEO(funcname,msg) ErrorMorpheo(funcname,msg,__LINE__,__FILE__)
     20#define ERRORMORPHEO(funcname,msg)              \
     21  ErrorMorpheo(funcname,msg,__LINE__,__FILE__)
    2122
     23#define THROW_ERRORMORPHEO(cond,funcname,msg)   \
     24  do                                            \
     25    {                                           \
     26      if (cond)                                 \
     27        {                                       \
     28          throw ERRORMORPHEO(funcname,msg);     \
     29        }                                       \
     30    }                                           \
     31  while (0)
     32 
    2233  class ErrorMorpheo : public std::exception
    2334  {
     
    4657  };
    4758
    48 //   class TestMorpheo : public std::exception
    49 //   {
    50 //     // -----[ fields ]----------------------------------------------------
    51 //   private : std::string _msg;
    52    
    53 //     // -----[ methods ]---------------------------------------------------
    54 //   public  :             TestMorpheo   ()                throw() {_msg=_("Test error ...");}
    55 //   public  :             TestMorpheo   (std::string msg) throw() {_msg=msg;}
    56 //   public  :             ~TestMorpheo  (void)            throw() {}
    57 //   public  : const char* what          ()    const       throw() { return ( _msg.c_str() );}
    58 //   };
    59 
    6059}; // end namespace morpheo             
    6160
Note: See TracChangeset for help on using the changeset viewer.