source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Network/Execution_unit_to_Write_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.6 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$
6 *
7 * [ Description ]
8 *
9 */
10
11#include "Behavioural/include/Parameters.h"
12#include "Common/include/Debug.h"
13#include "Behavioural/Core/Multi_Execute_loop/Execute_loop/Network/Execution_unit_to_Write_unit/include/Types.h"
14
15namespace morpheo {
16namespace behavioural {
17namespace core {
18namespace multi_execute_loop {
19namespace execute_loop {
20namespace network {
21namespace execution_unit_to_write_unit {
22
23
24  class Parameters : public morpheo::behavioural::Parameters
25  {
26    //-----[ fields ]------------------------------------------------------------
27  public : const uint32_t    _nb_execute_unit              ;
28  public : const uint32_t    _nb_write_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 Tpriority_t _priority                     ;
38  public :       bool     ** _table_routing                ; //array [nb_execute_unit][nb_write_unit]
39  public :       bool     ** _table_thread                 ; //array [nb_write_unit][nb_thread]
40
41  public : const uint32_t    _size_context_id              ;
42  public : const uint32_t    _size_front_end_id            ;
43  public : const uint32_t    _size_ooo_engine_id           ;
44  public : const uint32_t    _size_packet_id               ;
45  public : const uint32_t    _size_general_register        ;
46  public : const uint32_t    _size_special_register        ;
47
48  public : const bool        _have_port_context_id         ;
49  public : const bool        _have_port_front_end_id       ;
50  public : const bool        _have_port_ooo_engine_id      ;
51  public : const bool        _have_port_packet_id          ;
52
53  public : const uint32_t    _nb_thread                    ;
54
55    //-----[ methods ]-----------------------------------------------------------
56  public : Parameters  (uint32_t    nb_execute_unit              ,
57                        uint32_t    nb_write_unit                ,
58                        uint32_t    nb_context                   ,
59                        uint32_t    nb_front_end                 ,
60                        uint32_t    nb_ooo_engine                ,
61                        uint32_t    nb_packet                    ,
62                        uint32_t    size_general_data            ,
63                        uint32_t    size_special_data            ,
64                        uint32_t    nb_general_register          ,
65                        uint32_t    nb_special_register          ,
66                        Tpriority_t priority                     ,
67                        bool     ** table_routing                ,
68                        bool     ** table_thread                 );
69  public : Parameters  (Parameters & param) ;
70  public : ~Parameters ();
71
72  public :        std::string   msg_error  (void);
73
74  public :        std::string   print      (uint32_t depth);
75  public : friend std::ostream& operator<< (std::ostream& output_stream,
76                                            morpheo::behavioural::core::multi_execute_loop::execute_loop::network::execution_unit_to_write_unit::Parameters & x);
77  };
78
79}; // end namespace execution_unit_to_write_unit
80}; // end namespace network
81}; // end namespace execute_loop
82}; // end namespace multi_execute_loop
83}; // end namespace core
84
85}; // end namespace behavioural
86}; // end namespace morpheo             
87
88#endif
Note: See TracBrowser for help on using the repository browser.