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

    r62 r75  
    2323#include "Behavioural/Generic/RegisterFile/include/Types.h"
    2424#ifdef STATISTICS
    25 #include "Behavioural/Generic/RegisterFile/include/Statistics.h"
     25#include "Behavioural/include/Stat.h"
    2626#endif
    2727#include "Behavioural/include/Component.h"
     
    2929#include "Behavioural/include/Vhdl.h"
    3030#endif
    31 
    32 using namespace std;
    3331
    3432namespace morpheo {
     
    4543    // -----[ fields ]----------------------------------------------------
    4644    // Parameters
    47   protected : const string       _name;
     45  protected : const std::string       _name;
    4846
    4947  protected : const Parameters * _param;
     48
    5049#ifdef STATISTICS
    51   protected : morpheo::behavioural::Parameters_Statistics * _param_statistics;
     50  public    : Stat                           * _stat;
    5251#endif
    5352
     
    8988  public  :          RegisterFile              (
    9089#ifdef SYSTEMC
    91                                               sc_module_name                              name,
     90                                                sc_module_name                              name,
    9291#else                                         
    93                                               string                                      name,
     92                                                std::string                                      name,
    9493#endif                                         
    9594#ifdef STATISTICS
    96                                               morpheo::behavioural::Parameters_Statistics * param_statistics,
     95                                                morpheo::behavioural::Parameters_Statistics * param_statistics,
    9796#endif
    98                                               Parameters                                  * param );
    99                                               
     97                                                Parameters                                  * param );
     98   
    10099  public  :          ~RegisterFile             (void);
    101100                                               
    102101#ifdef SYSTEMC                                 
    103   private : void     allocation                (void);
     102  private : void     allocation                (
     103#ifdef STATISTICS
     104                                                morpheo::behavioural::Parameters_Statistics * param_statistics
     105#else
     106                                                void
     107#endif
     108                                                );
    104109  private : void     deallocation              (void);
    105110#endif                                         
    106 
    107 #ifdef STATISTICS
    108   public  : string   statistics                (uint32_t depth);
    109 #endif
    110111  };
    111112
Note: See TracChangeset for help on using the changeset viewer.