source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Functionnal_unit/include/Parameters.h @ 76

Last change on this file since 76 was 76, checked in by rosiere, 16 years ago

Add new component : Read_unit (no tested)
Change functionnal_unit : now use type and operation to execute the good function
Change New_Component's script

File size: 3.9 KB
Line 
1#ifndef morpheo_behavioural_core_multi_execute_loop_execute_loop_multi_execute_unit_execute_unit_functionnal_unit_Parameters_h
2#define morpheo_behavioural_core_multi_execute_loop_execute_loop_multi_execute_unit_execute_unit_functionnal_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/Multi_Execute_unit/Execute_unit/Functionnal_unit/include/Types.h"
14#include "Behavioural/Custom/include/Custom.h"
15#include <math.h>
16
17namespace morpheo {
18namespace behavioural {
19namespace core {
20namespace multi_execute_loop {
21namespace execute_loop {
22namespace multi_execute_unit {
23namespace execute_unit {
24namespace functionnal_unit {
25
26
27  class Parameters : public morpheo::behavioural::Parameters
28  {
29    //-----[ fields ]------------------------------------------------------------
30  public : const uint32_t            _nb_context                   ;
31  public : const uint32_t            _nb_front_end                 ;
32  public : const uint32_t            _nb_ooo_engine                ;
33  public : const uint32_t            _nb_packet                    ;
34  public : const uint32_t            _size_general_data            ;
35  public : const uint32_t            _nb_general_register          ;
36  public : const uint32_t            _size_special_data            ;
37  public : const uint32_t            _nb_special_register          ;
38  public : const uint32_t            _nb_operation                 ;
39  public : const uint32_t            _nb_type                      ;
40  public :       execute_timing_t ** _timing                       ;
41  public : morpheo::behavioural::custom::custom_information_t (*_get_custom_information) (uint32_t);
42
43  public : const uint32_t            _size_context_id              ;
44  public : const uint32_t            _size_front_end_id            ;
45  public : const uint32_t            _size_ooo_engine_id           ;
46  public : const uint32_t            _size_packet_id               ;
47  public : const uint32_t            _size_general_register        ;
48  public : const uint32_t            _size_special_register        ;
49  public : const uint32_t            _size_operation               ;
50  public : const uint32_t            _size_type                    ;
51
52  public : const bool                _have_port_context_id         ;
53  public : const bool                _have_port_front_end_id       ;
54  public : const bool                _have_port_ooo_engine_id      ;
55  public : const bool                _have_port_packet_id          ;
56
57  public : const bool                _have_groupe_MAC              ;
58
59    //-----[ methods ]-----------------------------------------------------------
60  public : Parameters  (uint32_t           nb_context         ,
61                        uint32_t           nb_front_end       ,
62                        uint32_t           nb_ooo_engine      ,
63                        uint32_t           nb_packet          ,
64                        uint32_t           size_general_data  ,
65                        uint32_t           nb_general_register,
66                        uint32_t           size_special_data  ,
67                        uint32_t           nb_special_register,
68                        uint32_t           nb_operation       ,
69                        uint32_t           nb_type            ,
70                        execute_timing_t** timing             ,
71                        morpheo::behavioural::custom::custom_information_t (*get_custom_information) (uint32_t));
72  public : Parameters  (Parameters & param) ;
73  public : ~Parameters () ;
74
75  public :        std::string   msg_error  (void);
76
77  public :        std::string   print      (uint32_t depth);
78  public : friend std::ostream& operator<< (std::ostream& output_stream,
79                                          morpheo::behavioural::core::multi_execute_loop::execute_loop::multi_execute_unit::execute_unit::functionnal_unit::Parameters & x);
80  };
81
82}; // end namespace functionnal_unit
83}; // end namespace execute_unit
84}; // end namespace multi_execute_unit
85}; // end namespace execute_loop
86}; // end namespace multi_execute_loop
87}; // end namespace core
88
89}; // end namespace behavioural
90}; // end namespace morpheo             
91
92#endif
Note: See TracBrowser for help on using the repository browser.