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

Last change on this file since 88 was 88, checked in by rosiere, 15 years ago

Almost complete design
with Test and test platform

  • Property svn:keywords set to Id
File size: 4.1 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: Parameters.h 88 2008-12-10 18:31:39Z rosiere $
6 *
7 * [ Description ]
8 *
9 */
10
11#include "Common/include/Debug.h"
12#include "Behavioural/include/Parameters.h"
13#include "Behavioural/include/Types.h"
14#include "Behavioural/include/Identification.h"
15
16namespace morpheo {
17namespace behavioural {
18namespace core {
19namespace multi_execute_loop {
20namespace execute_loop {
21namespace network {
22namespace read_unit_to_execution_unit {
23
24
25  class Parameters : public morpheo::behavioural::Parameters
26  {
27    //-----[ fields ]------------------------------------------------------------
28  public : uint32_t    _nb_read_unit           ;
29  public : uint32_t  * _nb_read_unit_port      ;//[nb_read_unit]
30  public : uint32_t    _nb_execute_unit        ;
31  public : uint32_t  * _nb_execute_unit_port   ;//[nb_execute_unit]
32  public : uint32_t    _nb_context             ;
33  public : uint32_t    _nb_front_end           ;
34  public : uint32_t    _nb_ooo_engine          ;
35  public : uint32_t    _nb_packet              ;
36//public : uint32_t    _size_general_data      ;
37//public : uint32_t    _size_special_data      ;
38  public : uint32_t    _nb_general_register    ;
39  public : uint32_t    _nb_special_register    ;
40//public : uint32_t    _size_store_queue       ;
41//public : uint32_t    _size_load_queue        ;
42  public : Tpriority_t _priority               ;
43  public : bool    *** _table_routing          ; //[nb_read_unit][nb_execute_unit][nb_execute_unit_port]
44  public : bool     ** _table_execute_type     ; //[nb_execute_unit][nb_type]
45  public : bool     ** _table_execute_thread   ; //[nb_execute_unit][nb_thread]
46
47  public : uint32_t    _max_nb_read_unit_port  ;
48  public : uint32_t    _max_nb_execute_unit_port;
49//public : uint32_t    _size_context_id        ;
50//public : uint32_t    _size_front_end_id      ;
51//public : uint32_t    _size_ooo_engine_id     ;
52//public : uint32_t    _size_packet_id         ;
53//public : uint32_t    _size_general_register  ;
54//public : uint32_t    _size_special_register  ;
55
56//public : bool        _have_port_context_id   ;
57//public : bool        _have_port_front_end_id ;
58//public : bool        _have_port_ooo_engine_id;
59//public : bool        _have_port_packet_id    ;
60//public : bool        _have_port_load_queue_ptr;
61
62  public : uint32_t    _nb_thread              ;
63  public : uint32_t    _nb_load_store_unit     ;
64  public : uint32_t    _nb_functionnal_unit    ;
65
66    //-----[ methods ]-----------------------------------------------------------
67  public : Parameters  (uint32_t    nb_read_unit           ,
68                        uint32_t  * nb_read_unit_port      ,
69                        uint32_t    nb_execute_unit        ,
70                        uint32_t  * nb_execute_unit_port   ,
71                        uint32_t    nb_context             ,
72                        uint32_t    nb_front_end           ,
73                        uint32_t    nb_ooo_engine          ,
74                        uint32_t    nb_packet              ,
75                        uint32_t    size_general_data      ,
76                        uint32_t    size_special_data      ,
77                        uint32_t    nb_general_register    ,
78                        uint32_t    nb_special_register    ,
79                        uint32_t    size_store_queue       ,
80                        uint32_t    size_load_queue        ,
81                        Tpriority_t priority               ,
82                        bool    *** table_routing          ,
83                        bool     ** table_execute_type     ,
84                        bool     ** table_execute_thread   ,
85                        bool        is_toplevel=false      );
86//   public : Parameters  (Parameters & param) ;
87  public : ~Parameters () ;
88
89  public :        void            copy       (void);
90
91  public :        Parameters_test msg_error  (void);
92
93  public :        std::string   print      (uint32_t depth);
94  public : friend std::ostream& operator<< (std::ostream& output_stream,
95                                            morpheo::behavioural::core::multi_execute_loop::execute_loop::network::read_unit_to_execution_unit::Parameters & x);
96  };
97
98}; // end namespace read_unit_to_execution_unit
99}; // end namespace network
100}; // end namespace execute_loop
101}; // end namespace multi_execute_loop
102}; // end namespace core
103
104}; // end namespace behavioural
105}; // end namespace morpheo             
106
107#endif
Note: See TracBrowser for help on using the repository browser.