Ignore:
Timestamp:
May 1, 2008, 6:48:45 PM (16 years ago)
Author:
rosiere
Message:
  • support locale (now must "just" translate)
  • update all component with new test format
  • update all component with usage
  • New component : decod queue and prediction_unit
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station/include/Reservation_station.h

    r81 r82  
    2121#endif
    2222#include "Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station/include/Parameters.h"
    23 #include "Behavioural/include/Types.h"
     23#include "Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station/include/Types.h"
    2424#ifdef STATISTICS
    2525#include "Behavioural/include/Stat.h"
     
    2929#include "Behavioural/include/Vhdl.h"
    3030#endif
     31#include "Behavioural/include/Usage.h"
    3132
    3233namespace morpheo {
     
    3940namespace reservation_station {
    4041
    41   class Treservation_station_entry_t
    42   {
    43   public    : Tcontext_t         _context_id     ;
    44   public    : Tcontext_t         _front_end_id   ;
    45   public    : Tcontext_t         _ooo_engine_id  ;
    46   public    : Tpacket_t          _rob_id         ;
    47   public    : Toperation_t       _operation   ;
    48   public    : Ttype_t            _type        ;
    49   public    : Tlsq_ptr_t         _store_queue_ptr_write;
    50   public    : Tlsq_ptr_t         _load_queue_ptr_write ;
    51   public    : Tcontrol_t         _has_immediat;
    52   public    : Tgeneral_data_t    _immediat    ;
    53 //public    : Tcontrol_t         _read_ra     ;
    54   public    : Tgeneral_address_t _num_reg_ra  ;
    55   public    : Tcontrol_t         _data_ra_val ;
    56   public    : Tgeneral_data_t    _data_ra     ;
    57 //public    : Tcontrol_t         _read_rb     ;
    58   public    : Tgeneral_address_t _num_reg_rb  ;
    59   public    : Tcontrol_t         _data_rb_val ;
    60   public    : Tgeneral_data_t    _data_rb     ;
    61 //public    : Tcontrol_t         _read_rc     ;
    62   public    : Tspecial_address_t _num_reg_rc  ;
    63   public    : Tcontrol_t         _data_rc_val ;
    64   public    : Tspecial_data_t    _data_rc     ;
    65   public    : Tcontrol_t         _write_rd    ;
    66   public    : Tgeneral_address_t _num_reg_rd  ;
    67   public    : Tcontrol_t         _write_re    ;
    68   public    : Tspecial_address_t _num_reg_re  ;
    69 
    70     friend std::ostream& operator<< (std::ostream& output_stream,
    71                                 morpheo::behavioural::core::multi_execute_loop::execute_loop::multi_read_unit::read_unit::reservation_station::Treservation_station_entry_t & x)
    72     {
    73       output_stream << " * _context_id            : " << toString(x._context_id     ) << std::endl
    74                     << " * _front_end_id          : " << toString(x._front_end_id   ) << std::endl
    75                     << " * _ooo_engine_id         : " << toString(x._ooo_engine_id  ) << std::endl
    76                     << " * _rob_id                : " << toString(x._rob_id         ) << std::endl
    77                     << " * _operation             : " << toString(x._operation      ) << std::endl
    78                     << " * _type                  : " << toString(x._type           ) << std::endl
    79                     << " * _store_queue_ptr_write : " << toString(x._store_queue_ptr_write) << std::endl
    80                     << " * _load_queue_ptr_write  : " << toString(x._load_queue_ptr_write ) << std::endl
    81                     << " * _has_immediat          : " << toString(x._has_immediat   ) << std::endl
    82                     << " * _immediat              : " << toString(x._immediat       ) << std::endl
    83 //                  << " * _read_ra               : " << toString(x._read_ra        ) << std::endl
    84                     << " * _num_reg_ra            : " << toString(x._num_reg_ra     ) << std::endl
    85                     << " * _data_ra_val           : " << toString(x._data_ra_val    ) << std::endl
    86                     << " * _data_ra               : " << toString(x._data_ra        ) << std::endl
    87 //                  << " * _read_rb               : " << toString(x._read_rb        ) << std::endl
    88                     << " * _num_reg_rb            : " << toString(x._num_reg_rb     ) << std::endl
    89                     << " * _data_rb_val           : " << toString(x._data_rb_val    ) << std::endl
    90                     << " * _data_rb               : " << toString(x._data_rb        ) << std::endl
    91 //                  << " * _read_rc               : " << toString(x._read_rc        ) << std::endl
    92                     << " * _num_reg_rc            : " << toString(x._num_reg_rc     ) << std::endl
    93                     << " * _data_rc_val           : " << toString(x._data_rc_val    ) << std::endl
    94                     << " * _data_rc               : " << toString(x._data_rc        ) << std::endl
    95                     << " * _write_rd              : " << toString(x._write_rd       ) << std::endl
    96                     << " * _num_reg_rd            : " << toString(x._num_reg_rd     ) << std::endl
    97                     << " * _write_re              : " << toString(x._write_re       ) << std::endl
    98                     << " * _num_reg_re            : " << toString(x._num_reg_re     ) << std::endl;
    99 
    100       return output_stream;
    101     }
    102   };
    103 
    10442  class Reservation_station
    10543#if SYSTEMC
     
    10947    // -----[ fields ]----------------------------------------------------
    11048    // Parameters
    111   protected : const std::string       _name;
    112 
     49  protected : const std::string  _name;
    11350  protected : const Parameters * _param;
     51  private   : const Tusage_t     _usage;
    11452
    11553#ifdef STATISTICS
     
    241179                                                       morpheo::behavioural::Parameters_Statistics * param_statistics,
    242180#endif
    243                                                        Parameters                                  * param );
     181                                                       Parameters                                  * param,
     182                                                       morpheo::behavioural::Tusage_t                usage );
     183
    244184  public  :          ~Reservation_station             (void);
    245185                                               
Note: See TracChangeset for help on using the changeset viewer.