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/Shifter.h

    r44 r75  
    1919#include "Behavioural/Generic/Shifter/include/Types.h"
    2020#ifdef STATISTICS
    21 #include "Behavioural/Generic/Shifter/include/Statistics.h"
     21#include "Behavioural/include/Stat.h"
    2222#endif
    2323#ifdef VHDL
     
    2525#endif
    2626#include "Behavioural/include/Component.h"
    27 
    28 using namespace std;
    2927
    3028namespace morpheo                    {
     
    4139    // -----[ fields ]----------------------------------------------------
    4240    // Parameters
    43   protected : const string     _name;
     41  protected : const std::string     _name;
    4442
    4543  protected : const Parameters _param;
    4644#ifdef STATISTICS
    47   private   : Statistics                     * _stat;
     45  public    : Stat                           * _stat;
    4846#endif
    4947
     
    7977  public  :          Shifter              (
    8078#ifdef SYSTEMC
    81                                            sc_module_name                              name,
     79                                           sc_module_name                                name,
    8280#else                                         
    83                                            string                                      name,
     81                                           std::string                                   name,
    8482#endif                                         
    8583#ifdef STATISTICS
    86                                            morpheo::behavioural::Parameters_Statistics param_statistics,
     84                                           morpheo::behavioural::Parameters_Statistics * param_statistics,
    8785#endif
    88                                            Parameters                                  param );
     86                                           Parameters                                    param );
    8987   
    9088  public  :          Shifter              (Parameters param );
     
    106104  private : void     vhdl_body                 (Vhdl * & vhdl);
    107105#endif                                         
     106
    108107#ifdef STATISTICS
    109   public  : string   statistics                (uint32_t depth);
     108  public  : void        statistics_declaration    (morpheo::behavioural::Parameters_Statistics * param_statistics);
    110109#endif
    111                                                
    112 #ifdef VHDL_TESTBENCH                         
    113   private : void     vhdl_testbench_transition (void);
     110#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
     111  private : void        end_cycle                 (void);
    114112#endif
    115 
    116113  };
    117114
Note: See TracChangeset for help on using the changeset viewer.