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

Last change on this file since 55 was 55, checked in by rosiere, 17 years ago

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)

File size: 3.3 KB
Line 
1#ifndef morpheo_behavioural_core_multi_execute_loop_execute_loop_multi_read_unit_read_unit_reservation_station_Parameters_h
2#define morpheo_behavioural_core_multi_execute_loop_execute_loop_multi_read_unit_read_unit_reservation_station_Parameters_h
3
4/*
5 * $Id$
6 *
7 * [ Description ]
8 *
9 */
10
11#include "Common/include/Debug.h"
12#include "Behavioural/include/Parameters.h"
13#include <math.h>
14
15namespace morpheo {
16namespace behavioural {
17namespace core {
18namespace multi_execute_loop {
19namespace execute_loop {
20namespace multi_read_unit {
21namespace read_unit {
22namespace reservation_station {
23
24
25  class Parameters : public morpheo::behavioural::Parameters
26  {
27    //-----[ fields ]------------------------------------------------------------
28  public : const uint32_t    _size_queue           ;
29  public : const uint32_t    _nb_context           ;
30  public : const uint32_t    _nb_packet            ;
31  public : const uint32_t    _size_general_data    ;
32  public : const uint32_t    _size_special_data    ;
33  public : const uint32_t    _nb_general_register  ;
34  public : const uint32_t    _nb_special_register  ;
35  public : const uint32_t    _nb_operation         ;
36  public : const uint32_t    _nb_type              ;
37  public : const uint32_t    _nb_gpr_write         ;
38  public : const uint32_t    _nb_spr_write         ;
39  public : const uint32_t    _nb_bypass_write      ;//if nb_bypass=0, then bypass is desactivated
40  public : const uint32_t    _nb_bypass_memory     ;//if nb_bypass=0, then bypass is desactivated
41    /*
42  public : const bool        _have_immediat        ;
43  public : const bool        _have_gpr_ra          ;
44  public : const bool        _have_gpr_rb          ;
45  public : const bool        _have_spr_rc          ;
46  public : const bool        _have_gpr_rd          ;
47  public : const bool        _have_spr_re          ;
48    */
49  public : const uint32_t    _size_context_id      ;
50  public : const uint32_t    _size_packet_id       ;
51  public : const uint32_t    _size_general_register;
52  public : const uint32_t    _size_special_register;
53  public : const uint32_t    _size_operation       ;
54  public : const uint32_t    _size_type            ;
55
56    //-----[ methods ]-----------------------------------------------------------
57  public : Parameters  (uint32_t size_queue         ,
58                        uint32_t nb_context         ,
59                        uint32_t nb_packet          ,
60                        uint32_t size_general_data  ,
61                        uint32_t size_special_data  ,
62                        uint32_t nb_general_register,
63                        uint32_t nb_special_register,
64                        uint32_t nb_operation       ,
65                        uint32_t nb_type            ,
66                        uint32_t nb_gpr_write       ,
67                        uint32_t nb_spr_write       ,
68                        uint32_t nb_bypass_write    ,
69                        uint32_t nb_bypass_memory   );
70
71  public : Parameters  (Parameters & param) ;
72  public : ~Parameters () ;
73
74  public : string msg_error (void);
75
76  public :        string   print      (uint32_t depth);
77  public : friend ostream& operator<< (ostream& output_stream,
78                                       morpheo::behavioural::core::multi_execute_loop::execute_loop::multi_read_unit::read_unit::reservation_station::Parameters & x);
79  };
80
81}; // end namespace reservation_station
82}; // end namespace read_unit
83}; // end namespace multi_read_unit
84}; // end namespace execute_loop
85}; // end namespace multi_execute_loop
86}; // end namespace core
87
88}; // end namespace behavioural
89}; // end namespace morpheo             
90
91#endif
Note: See TracBrowser for help on using the repository browser.