source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station/include/Types.h @ 88

Last change on this file since 88 was 82, checked in by rosiere, 16 years ago
  • 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 size: 4.5 KB
Line 
1#ifndef morpheo_behavioural_core_multi_execute_loop_execute_loop_multi_read_unit_read_unit_reservation_station_Types_h
2#define morpheo_behavioural_core_multi_execute_loop_execute_loop_multi_read_unit_read_unit_reservation_station_Types_h
3
4/*
5 * $Id$
6 *
7 * [ Description ]
8 *
9 */
10
11#include "Behavioural/include/Types.h"
12
13namespace morpheo {
14namespace behavioural {
15namespace core {
16namespace multi_execute_loop {
17namespace execute_loop {
18namespace multi_read_unit {
19namespace read_unit {
20namespace reservation_station {
21
22  class Treservation_station_entry_t
23  {
24  public    : Tcontext_t         _context_id     ;
25  public    : Tcontext_t         _front_end_id   ;
26  public    : Tcontext_t         _ooo_engine_id  ;
27  public    : Tpacket_t          _rob_id         ;
28  public    : Toperation_t       _operation   ;
29  public    : Ttype_t            _type        ;
30  public    : Tlsq_ptr_t         _store_queue_ptr_write;
31  public    : Tlsq_ptr_t         _load_queue_ptr_write ;
32  public    : Tcontrol_t         _has_immediat;
33  public    : Tgeneral_data_t    _immediat    ;
34//public    : Tcontrol_t         _read_ra     ;
35  public    : Tgeneral_address_t _num_reg_ra  ;
36  public    : Tcontrol_t         _data_ra_val ;
37  public    : Tgeneral_data_t    _data_ra     ;
38//public    : Tcontrol_t         _read_rb     ;
39  public    : Tgeneral_address_t _num_reg_rb  ;
40  public    : Tcontrol_t         _data_rb_val ;
41  public    : Tgeneral_data_t    _data_rb     ;
42//public    : Tcontrol_t         _read_rc     ;
43  public    : Tspecial_address_t _num_reg_rc  ;
44  public    : Tcontrol_t         _data_rc_val ;
45  public    : Tspecial_data_t    _data_rc     ;
46  public    : Tcontrol_t         _write_rd    ;
47  public    : Tgeneral_address_t _num_reg_rd  ;
48  public    : Tcontrol_t         _write_re    ;
49  public    : Tspecial_address_t _num_reg_re  ;
50
51    friend std::ostream& operator<< (std::ostream& output_stream,
52                                morpheo::behavioural::core::multi_execute_loop::execute_loop::multi_read_unit::read_unit::reservation_station::Treservation_station_entry_t & x)
53    {
54      output_stream << " * _context_id            : " << toString(x._context_id     ) << std::endl
55                    << " * _front_end_id          : " << toString(x._front_end_id   ) << std::endl
56                    << " * _ooo_engine_id         : " << toString(x._ooo_engine_id  ) << std::endl
57                    << " * _rob_id                : " << toString(x._rob_id         ) << std::endl
58                    << " * _operation             : " << toString(x._operation      ) << std::endl
59                    << " * _type                  : " << toString(x._type           ) << std::endl
60                    << " * _store_queue_ptr_write : " << toString(x._store_queue_ptr_write) << std::endl
61                    << " * _load_queue_ptr_write  : " << toString(x._load_queue_ptr_write ) << std::endl
62                    << " * _has_immediat          : " << toString(x._has_immediat   ) << std::endl
63                    << " * _immediat              : " << toString(x._immediat       ) << std::endl
64//                  << " * _read_ra               : " << toString(x._read_ra        ) << std::endl
65                    << " * _num_reg_ra            : " << toString(x._num_reg_ra     ) << std::endl
66                    << " * _data_ra_val           : " << toString(x._data_ra_val    ) << std::endl
67                    << " * _data_ra               : " << toString(x._data_ra        ) << std::endl
68//                  << " * _read_rb               : " << toString(x._read_rb        ) << std::endl
69                    << " * _num_reg_rb            : " << toString(x._num_reg_rb     ) << std::endl
70                    << " * _data_rb_val           : " << toString(x._data_rb_val    ) << std::endl
71                    << " * _data_rb               : " << toString(x._data_rb        ) << std::endl
72//                  << " * _read_rc               : " << toString(x._read_rc        ) << std::endl
73                    << " * _num_reg_rc            : " << toString(x._num_reg_rc     ) << std::endl
74                    << " * _data_rc_val           : " << toString(x._data_rc_val    ) << std::endl
75                    << " * _data_rc               : " << toString(x._data_rc        ) << std::endl
76                    << " * _write_rd              : " << toString(x._write_rd       ) << std::endl
77                    << " * _num_reg_rd            : " << toString(x._num_reg_rd     ) << std::endl
78                    << " * _write_re              : " << toString(x._write_re       ) << std::endl
79                    << " * _num_reg_re            : " << toString(x._num_reg_re     ) << std::endl;
80
81      return output_stream;
82    }
83  };
84
85}; // end namespace reservation_station
86}; // end namespace read_unit
87}; // end namespace multi_read_unit
88}; // end namespace execute_loop
89}; // end namespace multi_execute_loop
90}; // end namespace core
91
92}; // end namespace behavioural
93}; // end namespace morpheo             
94
95#endif
Note: See TracBrowser for help on using the repository browser.