source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Return_Address_Stack/include/Parameters.h @ 88

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

Almost complete design
with Test and test platform

  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
1#ifndef morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_return_address_stack_Parameters_h
2#define morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_return_address_stack_Parameters_h
3
4/*
5 * $Id: Parameters.h 88 2008-12-10 18:31:39Z rosiere $
6 *
7 * [ Description ]
8 *
9 */
10
11#include "Common/include/Debug.h"
12#include "Behavioural/include/Parameters.h"
13
14namespace morpheo {
15namespace behavioural {
16namespace core {
17namespace multi_front_end {
18namespace front_end {
19namespace prediction_unit {
20namespace return_address_stack {
21
22
23  class Parameters : public morpheo::behavioural::Parameters
24  {
25    //-----[ fields ]------------------------------------------------------------
26  public : uint32_t   _nb_context     ;
27  public : uint32_t * _size_queue     ;//[nb_context]
28//public : uint32_t   _size_address   ;
29  public : uint32_t   _nb_inst_predict;
30  public : uint32_t   _nb_inst_decod  ;
31  public : uint32_t   _nb_inst_update ;
32   
33//public : uint32_t   _size_context_id;
34  public : uint32_t   _size_index     ;
35
36//public : uint32_t   _have_port_context_id;
37
38    //-----[ methods ]-----------------------------------------------------------
39  public : Parameters  (uint32_t   nb_context     ,
40                        uint32_t * size_queue     ,
41                        uint32_t   size_address   ,
42                        uint32_t   nb_inst_predict,
43                        uint32_t   nb_inst_decod  ,
44                        uint32_t   nb_inst_update ,
45                        bool       is_toplevel=false
46                        );
47//   public : Parameters  (Parameters & param) ;
48  public : ~Parameters () ;
49
50  public :        void            copy       (void);
51
52  public :        Parameters_test msg_error  (void);
53
54  public :        std::string     print      (uint32_t depth);
55  public : friend std::ostream&   operator<< (std::ostream& output_stream,
56                                            morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::return_address_stack::Parameters & x);
57  };
58
59}; // end namespace return_address_stack
60}; // end namespace prediction_unit
61}; // end namespace front_end
62}; // end namespace multi_front_end
63}; // end namespace core
64
65}; // end namespace behavioural
66}; // end namespace morpheo             
67
68#endif
Note: See TracBrowser for help on using the repository browser.