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/include/Register_unit.h

    r60 r75  
    2424#include "Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit/include/Parameters.h"
    2525#ifdef STATISTICS
    26 #include "Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit/include/Statistics.h"
     26#include "Behavioural/include/Stat.h"
    2727#endif
    2828#include "Behavioural/include/Component.h"
     
    3232#include "Behavioural/include/Usage.h"
    3333
    34 using namespace std;
    35 
    3634namespace morpheo {
    3735namespace behavioural {
    38 
    3936namespace core {
    4037namespace multi_execute_loop {
     
    5047    // -----[ fields ]----------------------------------------------------
    5148    // Parameters
    52   protected : const string       _name;
     49  protected : const std::string       _name;
    5350  protected : const Parameters * _param;
    5451  private   : const Tusage_t     _usage;
    5552
    5653#ifdef STATISTICS
    57   protected : morpheo::behavioural::Parameters_Statistics * _param_statistics;
    58 #endif
    59 
    60 #ifdef STATISTICS
    61   private   : Statistics                     * _stat;
     54  public    : Stat                           * _stat;
    6255#endif
    6356
     
    143136   sc_module_name                                name,
    144137#else                                         
    145    string                                        name,
     138   std::string                                        name,
    146139#endif                                         
    147140#ifdef STATISTICS
     
    153146  public  :          ~Register_unit             (void);
    154147                                               
    155   private : void     allocation                (void);
     148  private : void     allocation                (
     149#ifdef STATISTICS
     150                                                morpheo::behavioural::Parameters_Statistics * param_statistics
     151#else
     152                                                void
     153#endif
     154                                                );
    156155  private : void     deallocation              (void);
    157156                                               
     
    161160//#endif
    162161#endif                                         
    163 #ifdef STATISTICS
    164   public  : string   statistics                (uint32_t depth);
    165 #endif
    166162                                               
    167163#if VHDL                                       
     
    171167#endif                                         
    172168                                               
    173 #ifdef VHDL_TESTBENCH                         
    174   private : void     vhdl_testbench_transition (void);
     169#ifdef STATISTICS
     170  public  : void        statistics_declaration    (morpheo::behavioural::Parameters_Statistics * param_statistics);
     171#endif
     172#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
     173  private : void        end_cycle                 (void);
    175174#endif
    176175  };
     176
    177177
    178178}; // end namespace register_unit
Note: See TracChangeset for help on using the changeset viewer.