Ignore:
Timestamp:
Jan 31, 2008, 6:46:41 PM (16 years ago)
Author:
rosiere
Message:

Update all component (except front_end) to :

  • new statistics model
  • no namespace std
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Shifter/include/Parameters.h

    r2 r75  
    4848  public : const bool        _have_direction_right         ;
    4949
    50     string toString_rotate    (rotate_t x)
    51     {
    52       switch (x)
    53         {
    54         case without_rotate            : return "without_rotate" ;
    55         case internal_rotate           : return "internal_rotate";
    56         case external_rotate           : return "external_rotate";     
    57         default                        : return "";
    58         }
    59     };
    60    
    61     string toString_direction (direction_t x)
    62     {
    63       switch (x)
    64         {
    65         case internal_right_shift      : return "internal_right_shift";
    66         case internal_left_shift       : return "internal_left_shift" ;
    67         case external_direction        : return "external_direction"  ;
    68         default                        : return "";
    69         }
    70     };
    71    
    72     string toString_carry (carry_t x)
    73     {
    74       switch (x)
    75         {
    76         case internal_logic            : return "internal_logic"       ;
    77         case internal_arithmetic       : return "internal_arithmetic"  ;
    78         case external_carry            : return "external_carry"       ;
    79         case external_completion       : return "external_completion"  ;
    80         default                        : return "";
    81         }
    82     };
    83    
    8450    //-----[ methods ]-----------------------------------------------------------
    8551  public : Parameters  (uint32_t    size_data           ,
     
    9359  public : ~Parameters () ;
    9460
    95   public : string msg_error (void);
    96 
    97   public :        string   print      (uint32_t depth);
    98   public : friend ostream& operator<< (ostream& output_stream,
    99                                        morpheo::behavioural::generic::shifter::Parameters & x);
     61  public :        std::string   msg_error  (void);
     62  public :        std::string   print      (uint32_t depth);
     63  public : friend std::ostream& operator<< (std::ostream& output_stream,
     64                                            morpheo::behavioural::generic::shifter::Parameters & x);
    10065  };
    10166
Note: See TracChangeset for help on using the changeset viewer.