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

    r57 r75  
    2020#include "Behavioural/Generic/RegisterFile/RegisterFile_Multi_Banked/include/Types.h"
    2121#ifdef STATISTICS
    22 #include "Behavioural/Generic/RegisterFile/RegisterFile_Multi_Banked/include/Statistics.h"
     22#include "Behavioural/include/Stat.h"
    2323#endif
    2424#include "Behavioural/include/Component.h"
     
    2626#include "Behavioural/include/Vhdl.h"
    2727#endif
    28 
    29 using namespace std;
    3028
    3129namespace morpheo {
     
    4341    // -----[ fields ]----------------------------------------------------
    4442    // Parameters
    45   protected : const string       _name;
     43  protected : const std::string       _name;
    4644
    4745  protected : const Parameters * _param;
    48 //#ifdef STATISTICS
    49 //  protected : const morpheo::behavioural::Parameters_Statistics _param_statistics;
    50 //#endif
    5146
    5247#ifdef STATISTICS
    53   private   : Statistics                     * _stat;
     48  public    : Stat                           * _stat;
    5449#endif
    5550
     
    10095                                              sc_module_name                                name,
    10196#else                                         
    102                                               string                                        name,
     97                                              std::string                                   name,
    10398#endif                                         
    10499#ifdef STATISTICS
     
    113108  private : void     deallocation              (void);
    114109                                               
    115 //#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
    116 
    117110  private : Taddress_t address_bank                 (Taddress_t address);
    118111  private : Taddress_t address_num_reg              (Taddress_t address);
     
    129122  public  : void     partial_crossbar_genMealy_read (void);
    130123  public  : void     partial_crossbar_genMealy_write(void);
    131 
    132 //#endif
    133124#endif                                         
    134 #ifdef STATISTICS
    135   public  : string   statistics                (uint32_t depth);
    136 #endif
    137125                                               
    138126#if VHDL                                       
     
    142130#endif                                         
    143131                                               
    144 #ifdef VHDL_TESTBENCH                         
    145   private : void     vhdl_testbench_transition (void);
     132#ifdef STATISTICS
     133  public  : void     statistics_declaration    (morpheo::behavioural::Parameters_Statistics * param_statistics);
     134#endif
     135#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
     136  private : void     end_cycle                 (void);
    146137#endif
    147138  };
Note: See TracChangeset for help on using the changeset viewer.