Ignore:
Timestamp:
Jan 19, 2008, 12:09:01 PM (16 years ago)
Author:
rosiere
Message:

Modification of Statisctics
Add a new systemC component : Load_Store_Queue (tested with one benchmark and one configuration). Store don't supported the Data Buss Error (Load is supported)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/include/New_Component.h

    r69 r71  
    55 * $Id$
    66 *
    7  * [ Description ]
     7 * [ Description ]
    88 *
    99 */
     
    2020#include "Behavioural/@DIRECTORY/include/Parameters.h"
    2121#ifdef STATISTICS
    22 #include "Behavioural/@DIRECTORY/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 {
     
    4038#endif
    4139  {
    42     // -----[ fields ]----------------------------------------------------
     40    // -----[ fields ]----------------------------------------------------
    4341    // Parameters
    44   protected : const string       _name;
     42  protected : const std::string  _name;
    4543  protected : const Parameters * _param;
    4644  private   : const Tusage_t     _usage;
    4745
    48 //#ifdef STATISTICS
    49 //  protected : const morpheo::behavioural::Parameters_Statistics * _param_statistics;
    50 //#endif
    51 
    5246#ifdef STATISTICS
    53   private   : Statistics                     * _stat;
     47  private   : Stat                           * _stat;
    5448#endif
    5549
     
    5852
    5953#ifdef SYSTEMC
    60     // ~~~~~[ Interface ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     54    // ~~~~~[ Interface ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    6155    // Interface
    6256  public    : SC_CLOCK                      *  in_CLOCK        ;
    6357  public    : SC_IN (Tcontrol_t)            *  in_NRESET       ;
    6458
    65     // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
     59    // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
    6660
    67     // ~~~~~[ Register ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
     61    // ~~~~~[ Register ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
    6862
    69     // ~~~~~[ Internal ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     63    // ~~~~~[ Internal ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    7064#endif
    7165
    72     // -----[ methods ]---------------------------------------------------
     66    // -----[ Methods ]---------------------------------------------------
    7367
    7468#ifdef SYSTEMC
     
    8074   sc_module_name                                name,
    8175#else                                         
    82    string                                        name,
     76   std::string                                   name,
    8377#endif                                         
    8478#ifdef STATISTICS
     
    9993#endif                                         
    10094#ifdef STATISTICS
    101   public  : string   statistics                (uint32_t depth);
     95  public  : void        statistics_declaration    (morpheo::behavioural::Parameters_Statistics * param_statistics);
     96  public  : std::string statistics_print          (uint32_t depth);
    10297#endif
    10398                                               
     
    108103#endif                                         
    109104                                               
     105#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
    110106  private : void     end_cycle                 (void);
     107#endif
    111108  };
    112109
Note: See TracChangeset for help on using the changeset viewer.