source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Network/Read_unit_to_Execution_unit/include/Parameters.h @ 77

Last change on this file since 77 was 77, checked in by rosiere, 16 years ago
  • Add two component :
    • network between read unit and execute unit
    • network between execute unit and write unit
  • remove parameters "nb_operation" and "nb_type"
  • in write_queue add the special case : load_speculative
File size: 3.8 KB
Line 
1#ifndef morpheo_behavioural_core_multi_execute_loop_execute_loop_network_read_unit_to_execution_unit_Parameters_h
2#define morpheo_behavioural_core_multi_execute_loop_execute_loop_network_read_unit_to_execution_unit_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 "Behavioural/Core/Multi_Execute_loop/Execute_loop/Network/Read_unit_to_Execution_unit/include/Types.h"
14
15namespace morpheo {
16namespace behavioural {
17namespace core {
18namespace multi_execute_loop {
19namespace execute_loop {
20namespace network {
21namespace read_unit_to_execution_unit {
22
23
24  class Parameters : public morpheo::behavioural::Parameters
25  {
26    //-----[ fields ]------------------------------------------------------------
27  public : const uint32_t    _nb_read_unit           ;
28  public : const uint32_t    _nb_execute_unit        ;
29  public : const uint32_t    _nb_context             ;
30  public : const uint32_t    _nb_front_end           ;
31  public : const uint32_t    _nb_ooo_engine          ;
32  public : const uint32_t    _nb_packet              ;
33  public : const uint32_t    _size_general_data      ;
34  public : const uint32_t    _size_special_data      ;
35  public : const uint32_t    _nb_general_register    ;
36  public : const uint32_t    _nb_special_register    ;
37  public : const uint32_t    _size_store_queue       ;
38  public : const uint32_t    _size_load_queue        ;
39  public : const Tpriority_t _priority               ;
40  public :       bool     ** _table_routing          ; //array [nb_read_unit][nb_execute_unit]
41  public :       bool     ** _table_execute_type     ; //array [nb_execute_unit][nb_type]
42  public :       bool     ** _table_execute_thread   ; //array [nb_execute_unit][nb_thread]
43
44  public : const uint32_t    _size_context_id        ;
45  public : const uint32_t    _size_front_end_id      ;
46  public : const uint32_t    _size_ooo_engine_id     ;
47  public : const uint32_t    _size_packet_id         ;
48  public : const uint32_t    _size_general_register  ;
49  public : const uint32_t    _size_special_register  ;
50
51  public : const bool        _have_port_context_id   ;
52  public : const bool        _have_port_front_end_id ;
53  public : const bool        _have_port_ooo_engine_id;
54  public : const bool        _have_port_packet_id    ;
55
56  public : const uint32_t    _nb_thread              ;
57  public :       uint32_t    _nb_load_store_unit     ;
58  public :       uint32_t    _nb_functionnal_unit    ;
59
60    //-----[ methods ]-----------------------------------------------------------
61  public : Parameters  (uint32_t    nb_read_unit           ,
62                        uint32_t    nb_execute_unit        ,
63                        uint32_t    nb_context             ,
64                        uint32_t    nb_front_end           ,
65                        uint32_t    nb_ooo_engine          ,
66                        uint32_t    nb_packet              ,
67                        uint32_t    size_general_data      ,
68                        uint32_t    size_special_data      ,
69                        uint32_t    nb_general_register    ,
70                        uint32_t    nb_special_register    ,
71                        uint32_t    size_store_queue       ,
72                        uint32_t    size_load_queue        ,
73                        Tpriority_t priority               ,
74                        bool     ** table_routing          ,
75                        bool     ** table_execute_type     ,
76                        bool     ** table_execute_thread   );
77  public : Parameters  (Parameters & param) ;
78  public : ~Parameters () ;
79
80  public :        std::string   msg_error  (void);
81
82  public :        std::string   print      (uint32_t depth);
83  public : friend std::ostream& operator<< (std::ostream& output_stream,
84                                            morpheo::behavioural::core::multi_execute_loop::execute_loop::network::read_unit_to_execution_unit::Parameters & x);
85  };
86
87}; // end namespace read_unit_to_execution_unit
88}; // end namespace network
89}; // end namespace execute_loop
90}; // end namespace multi_execute_loop
91}; // end namespace core
92
93}; // end namespace behavioural
94}; // end namespace morpheo             
95
96#endif
Note: See TracBrowser for help on using the repository browser.