source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Context_State/include/Parameters.h @ 83

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

Add component : Context_State (manage miss prediction, exception , decod_enable, synchronisation instruction ...)

  • Property svn:keywords set to Id
File size: 2.4 KB
Line 
1#ifndef morpheo_behavioural_core_multi_front_end_front_end_context_state_Parameters_h
2#define morpheo_behavioural_core_multi_front_end_front_end_context_state_Parameters_h
3
4/*
5 * $Id: Parameters.h 83 2008-05-09 18:00:21Z rosiere $
6 *
7 * [ Description ]
8 *
9 */
10
11#include "Behavioural/include/Parameters.h"
12#include "Common/include/Debug.h"
13
14namespace morpheo {
15namespace behavioural {
16namespace core {
17namespace multi_front_end {
18namespace front_end {
19namespace context_state {
20
21
22  class Parameters : public morpheo::behavioural::Parameters
23  {
24    //-----[ fields ]------------------------------------------------------------
25
26  public : uint32_t   _nb_context                   ;
27  public : uint32_t   _nb_decod_unit                ;
28  public : uint32_t   _nb_ooo_engine                ;
29  public : uint32_t   _nb_inst_branch_complete      ;
30  public : uint32_t * _size_depth                   ; //[nb_context]
31  public : uint32_t   _size_address                 ;
32  public : uint32_t * _size_inst_decod              ; //[nb_decod_unit]
33  public : uint32_t * _size_inst_commit             ; //[nb_ooo_engine]
34  public : uint32_t * _link_context_to_decod_unit   ; //[nb_context]
35  public : uint32_t * _link_decod_unit_to_ooo_engine; //[nb_decod_unit]
36
37  public : uint32_t   _size_context_id;
38  public : uint32_t   _size_max_depth ;
39
40  public : bool       _have_port_context_id;
41  public : bool     * _have_port_depth     ;
42  public : bool       _have_port_max_depth ;
43
44    //-----[ methods ]-----------------------------------------------------------
45  public : Parameters  (uint32_t   nb_context,
46                        uint32_t   nb_decod_unit,
47                        uint32_t   nb_ooo_engine,
48                        uint32_t   nb_inst_branch_complete,
49                        uint32_t * size_depth,               
50                        uint32_t   size_address,
51                        uint32_t * size_inst_decod,           
52                        uint32_t * size_inst_commit,         
53                        uint32_t * link_context_to_decod_unit,
54                        uint32_t * link_decod_unit_to_ooo_engine);
55//   public : Parameters  (Parameters & param) ;
56  public : ~Parameters () ;
57
58  public :        Parameters_test msg_error  (void);
59
60  public :        std::string     print      (uint32_t depth);
61  public : friend std::ostream&   operator<< (std::ostream& output_stream,
62                                              morpheo::behavioural::core::multi_front_end::front_end::context_state::Parameters & x);
63  };
64
65}; // end namespace context_state
66}; // end namespace front_end
67}; // end namespace multi_front_end
68}; // end namespace core
69
70}; // end namespace behavioural
71}; // end namespace morpheo             
72
73#endif
Note: See TracBrowser for help on using the repository browser.