source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod/include/Parameters.h @ 86

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

Decod :

  • Correct selftest
  • Set Instruction address on (32/64)-2 bits,
  • Decod Custom Instruction : valid and tested. (add an test to verify the decod information)
  • Property svn:keywords set to Id
File size: 3.4 KB
Line 
1#ifndef morpheo_behavioural_core_multi_front_end_front_end_decod_unit_decod_Parameters_h
2#define morpheo_behavioural_core_multi_front_end_front_end_decod_unit_decod_Parameters_h
3
4/*
5 * $Id: Parameters.h 86 2008-05-14 17:08:56Z 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/Custom/include/Custom.h"
15#include "Behavioural/Custom/include/Custom_default.h"
16
17namespace morpheo {
18namespace behavioural {
19namespace core {
20namespace multi_front_end {
21namespace front_end {
22namespace decod_unit {
23namespace decod {
24
25  class Parameters : public morpheo::behavioural::Parameters
26  {
27    //-----[ fields ]------------------------------------------------------------
28  public : uint32_t            _nb_context                   ;
29  public : uint32_t          * _nb_inst_fetch                ; //[nb_context]
30  public : uint32_t            _nb_inst_decod                ;
31  public : uint32_t            _size_general_data            ;
32  public : uint32_t            _nb_branch_speculated         ;
33  public : uint32_t            _size_branch_update_prediction;
34  public : uint32_t            _nb_context_select            ;
35  public : Tpriority_t         _priority                     ;
36  public : Tload_balancing_t   _load_balancing               ;
37  public : bool             ** _instruction_implemeted       ; //[nb_context][nb_instruction]
38  public : morpheo::behavioural::custom::custom_information_t (*_get_custom_information) (uint32_t);
39   
40  public : uint32_t            _max_nb_inst_fetch     ;
41
42  public : uint32_t            _size_address_inst     ;
43  public : uint32_t            _size_context_id       ;
44  public : uint32_t            _size_depth            ;
45  public : uint32_t            _size_inst_ifetch_ptr  ;
46                                                     
47  public : bool                _have_port_context_id                 ;
48  public : bool                _have_port_depth                      ;
49  public : bool                _have_port_branch_update_prediction_id;
50  public : bool                _have_port_inst_ifetch_ptr            ;
51
52    //-----[ methods ]-----------------------------------------------------------
53
54  public : Parameters  (uint32_t            nb_context                   ,
55                        uint32_t          * nb_inst_fetch                ,
56                        uint32_t            nb_inst_decod                ,
57                        uint32_t            size_general_data            ,
58                        uint32_t            nb_branch_speculated         ,
59                        uint32_t            size_branch_update_prediction,
60                        uint32_t            nb_context_select            ,
61                        Tpriority_t         priority                     ,
62                        Tload_balancing_t   load_balancing               ,
63                        bool             ** instruction_implemeted       ,
64                        morpheo::behavioural::custom::custom_information_t (*get_custom_information) (uint32_t));
65
66//   public : Parameters  (Parameters & param) ;
67  public : ~Parameters () ;
68
69  public :        Parameters_test msg_error  (void);
70
71  public :        std::string     print      (uint32_t depth);
72  public : friend std::ostream&   operator<< (std::ostream& output_stream,
73                                              morpheo::behavioural::core::multi_front_end::front_end::decod_unit::decod::Parameters & x);
74  };
75
76}; // end namespace decod
77}; // end namespace decod_unit
78}; // end namespace front_end
79}; // end namespace multi_front_end
80}; // end namespace core
81
82}; // end namespace behavioural
83}; // end namespace morpheo             
84
85#endif
Note: See TracBrowser for help on using the repository browser.