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

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

1) Context_state : Add statistics
2) Add configuration with multi front_end
3) Add optionnal pid at log filename

  • Property svn:keywords set to Id
File size: 3.9 KB
Line 
1#ifndef morpheo_behavioural_core_multi_execute_loop_execute_loop_network_execution_unit_to_write_unit_Parameters_h
2#define morpheo_behavioural_core_multi_execute_loop_execute_loop_network_execution_unit_to_write_unit_Parameters_h
3
4/*
5 * $Id: Parameters.h 120 2009-05-26 19:01:47Z rosiere $
6 *
7 * [ Description ]
8 *
9 */
10
11#include "Behavioural/include/Parameters.h"
12#include "Behavioural/include/Types.h"
13#include "Common/include/Debug.h"
14#include "Behavioural/include/Identification.h"
15
16namespace morpheo {
17namespace behavioural {
18namespace core {
19namespace multi_execute_loop {
20namespace execute_loop {
21namespace network {
22namespace execution_unit_to_write_unit {
23
24
25  class Parameters : public morpheo::behavioural::Parameters
26  {
27    //-----[ fields ]------------------------------------------------------------
28  public : uint32_t    _nb_execute_unit              ;
29  public : uint32_t  * _nb_execute_unit_port         ;//[nb_execute_unit]
30  public : uint32_t    _nb_write_unit                ;
31  public : uint32_t    _nb_context                   ;
32  public : uint32_t    _nb_front_end                 ;
33  public : uint32_t    _nb_ooo_engine                ;
34  public : uint32_t    _nb_packet                    ;
35//public : uint32_t    _size_general_data            ;
36//public : uint32_t    _size_special_data            ;
37  public : uint32_t    _nb_general_register          ;
38  public : uint32_t    _nb_special_register          ;
39  public : Tpriority_t _priority                     ;
40  public : bool    *** _table_routing                ; //[nb_execute_unit][nb_execute_unit_port][nb_write_unit]
41  public : bool     ** _table_thread                 ; //[nb_write_unit][nb_thread]
42  public : bool      * _num_thread_valid             ; //[nb_thread]
43
44  public : uint32_t    _max_nb_execute_unit_port     ;
45//public : uint32_t    _size_context_id              ;
46//public : uint32_t    _size_front_end_id            ;
47//public : uint32_t    _size_ooo_engine_id           ;
48//public : uint32_t    _size_packet_id               ;
49//public : uint32_t    _size_general_register        ;
50//public : uint32_t    _size_special_register        ;
51
52//public : bool        _have_port_context_id         ;
53//public : bool        _have_port_front_end_id       ;
54//public : bool        _have_port_ooo_engine_id      ;
55//public : bool        _have_port_packet_id          ;
56
57  public : uint32_t    _nb_thread                    ;
58
59    //-----[ methods ]-----------------------------------------------------------
60  public : Parameters  (uint32_t    nb_execute_unit              ,
61                        uint32_t  * nb_execute_unit_port         ,
62                        uint32_t    nb_write_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                        Tpriority_t priority                     ,
72                        bool    *** table_routing                ,
73                        bool     ** table_thread                 ,
74                        bool      * num_thread_valid             , //[nb_thread]
75                        bool        is_toplevel=false
76                        );
77//   public : Parameters  (Parameters & param) ;
78  public : ~Parameters ();
79
80  public :        void            copy       (void);
81
82  public :        Parameters_test msg_error  (void);
83
84  public :        std::string   print      (uint32_t depth);
85  public : friend std::ostream& operator<< (std::ostream& output_stream,
86                                            morpheo::behavioural::core::multi_execute_loop::execute_loop::network::execution_unit_to_write_unit::Parameters & x);
87  };
88
89}; // end namespace execution_unit_to_write_unit
90}; // end namespace network
91}; // end namespace execute_loop
92}; // end namespace multi_execute_loop
93}; // end namespace core
94
95}; // end namespace behavioural
96}; // end namespace morpheo             
97
98#endif
Note: See TracBrowser for help on using the repository browser.