Ignore:
Timestamp:
Sep 24, 2007, 2:00:35 PM (17 years ago)
Author:
rosiere
Message:

Ajout SystemC read_queue et reservation_station
Ajout port au bloc registerfile_monolithic (à ajouter également au bloc registerfile et registerfile_multi_banked)
Modif param : passage de pointeur (attention, tous les composants n'ont pas été tous modifier)

Location:
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/include
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/include/Parameters.h

    r53 r55  
    2323  public : const uint32_t _nb_port_read ;
    2424  public : const uint32_t _nb_port_write;
     25  public : const uint32_t _nb_port_read_write;
    2526  public : const uint32_t _nb_word      ;
    2627  public : const uint32_t _size_word    ;
     
    2930  public : Parameters (uint32_t nb_port_read ,
    3031                       uint32_t nb_port_write,
     32                       uint32_t nb_port_read_write,
    3133                       uint32_t nb_word      ,
    3234                       uint32_t size_word    );
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/include/RegisterFile_Monolithic.h

    r44 r55  
    3636namespace registerfile_monolithic    {
    3737
     38  typedef enum {RW_READ, RW_WRITE} rw_t;
     39
    3840  class RegisterFile_Monolithic
    3941#if SYSTEMC
     
    4345    // -----[ fields ]----------------------------------------------------
    4446    // Parameters
    45   protected : const string     _name;
     47  protected : const string       _name;
    4648
    47   protected : const Parameters _param;
     49  protected : const Parameters * _param;
    4850#ifdef STATISTICS
    4951  private   : Statistics                     * _stat;
     
    7476  public    : SC_IN       (Tdata_t)        **  in_WRITE_DATA   ;
    7577
     78    // ----- Interface Read_Write
     79  public    : SC_IN       (Tcontrol_t)     **  in_READ_WRITE_VAL    ;
     80  public    : SC_OUT      (Tcontrol_t)     ** out_READ_WRITE_ACK    ;
     81  public    : SC_IN       (Tcontrol_t)     **  in_READ_WRITE_RW     ;
     82  public    : SC_IN       (Taddress_t)     **  in_READ_WRITE_ADDRESS;
     83  public    : SC_OUT      (Tdata_t)        ** out_READ_WRITE_RDATA  ;
     84  public    : SC_IN       (Tdata_t)        **  in_READ_WRITE_WDATA  ;
     85
    7686    // ~~~~~[ Register ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
    7787  private   : SC_REGISTER (Tdata_t)        ** reg_DATA         ;
     
    93103#endif                                         
    94104#ifdef STATISTICS
    95                                                 morpheo::behavioural::Parameters_Statistics param_statistics,
     105                                                morpheo::behavioural::Parameters_Statistics * param_statistics,
    96106#endif
    97                                                 Parameters                                  param );
    98                                                
    99   public  :          RegisterFile_Monolithic   (Parameters param );
     107                                                Parameters                                  * param );
    100108  public  :          ~RegisterFile_Monolithic  (void);
    101109                                               
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/include/Statistics.h

    r44 r55  
    2727  {
    2828    // -----[ fields ]----------------------------------------------------
    29   private  : const Parameters                                   _parameters;
     29  private  : const Parameters                                 * _parameters;
     30  private  : morpheo::behavioural::generic::group::Parameters * _param_port_read;
     31  private  : morpheo::behavioural::generic::group::Parameters * _param_port_write;
    3032  private  : morpheo::behavioural::generic::group::Statistics * _stat_port_read;
    3133  private  : morpheo::behavioural::generic::group::Statistics * _stat_port_write;
     
    3335    // -----[ methods ]---------------------------------------------------
    3436  public   : Statistics (string                                      name                       ,
    35                          morpheo::behavioural::Parameters_Statistics parameters_statistics      ,
    36                          Parameters                                  parameters
     37                         morpheo::behavioural::Parameters_Statistics * parameters_statistics    ,
     38                         Parameters                                  * parameters
    3739                         );
    3840//public   : Statistics (Statistics & stat);
Note: See TracChangeset for help on using the changeset viewer.