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/Core/Multi_Execute_loop/Execute_loop/Register_unit/Register_unit_Glue/include/Register_unit_Glue.h

    r61 r75  
    2020#include "Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit/Register_unit_Glue/include/Parameters.h"
    2121#ifdef STATISTICS
    22 #include "Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit/Register_unit_Glue/include/Statistics.h"
     22#include "Behavioural/include/Stat.h"
    2323#endif
    2424#include "Behavioural/include/Component.h"
     
    2727#endif
    2828#include "Behavioural/include/Usage.h"
    29 
    30 using namespace std;
    3129
    3230namespace morpheo {
     
    4745    // -----[ fields ]----------------------------------------------------
    4846    // Parameters
    49   protected : const string       _name;
     47  protected : const std::string       _name;
    5048  protected : const Parameters * _param;
    5149  private   : const Tusage_t     _usage;
    5250
    53 //#ifdef STATISTICS
    54 //  protected : const morpheo::behavioural::Parameters_Statistics * _param_statistics;
    55 //#endif
    56 
    57 #ifdef STATISTICS
    58   private   : Statistics                     * _stat;
     51#ifdef STATISTICS
     52  public    : Stat                           * _stat;
    5953#endif
    6054
     
    169163   sc_module_name                                name,
    170164#else                                         
    171    string                                        name,
     165   std::string                                        name,
    172166#endif                                         
    173167#ifdef STATISTICS
     
    183177                                               
    184178#ifdef SYSTEMC                                 
    185 //#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
    186179  public  : void     transition                      (void);
    187180  public  : void     genMealy_gpr_read               (void);
     
    199192  public  : void     genMealy_insert                 (void);
    200193  public  : void     genMealy_retire                 (void);
    201 
    202 //#endif
    203194#endif                                         
    204 #ifdef STATISTICS
    205   public  : string   statistics                (uint32_t depth);
     195
     196#ifdef STATISTICS
     197  public  : void     statistics_declaration    (morpheo::behavioural::Parameters_Statistics * param_statistics);
    206198#endif
    207199                                               
     
    212204#endif                                         
    213205                                               
    214 #ifdef VHDL_TESTBENCH                         
    215   private : void     vhdl_testbench_transition (void);
     206#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
     207  private : void     end_cycle                (void);
    216208#endif
    217209  };
Note: See TracChangeset for help on using the changeset viewer.