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

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

1) Decod_queue : multi implementation (one_fifo, multi_fifo)
2) Issue_queue : multi implementation (in_order, out_of_order)
3) Direction : Add Meta predictor
4) Context_State : re add Branch_complete, More priority to Load miss (is not speculative)
5) Return_Address_Stack : update reg_PREDICT pointer on decod miss prediction
6) UPT : Fix bug in multi event
7) Prediction_glue : in read_stack case, insert in UPT pc_next
8) Rename select : when rob have an event (need flush), read_r{a,b,c} and write_r{d,e} is set at 0

  • Property svn:keywords set to Id
File size: 3.3 KB
Line 
1#ifndef morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_update_prediction_table_Parameters_h
2#define morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_update_prediction_table_Parameters_h
3
4/*
5 * $Id: Parameters.h 111 2009-02-27 18:37:40Z 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 update_prediction_table {
21
22
23  class Parameters : public morpheo::behavioural::Parameters
24  {
25    //-----[ fields ]------------------------------------------------------------
26  public : uint32_t   _nb_context                ;
27  public : uint32_t * _size_upt_queue            ; // [nb_context]
28  public : uint32_t * _size_ufpt_queue           ; // [nb_context]
29//public : uint32_t   _size_address              ;
30  public : uint32_t   _nb_inst_predict           ;
31  public : uint32_t   _nb_inst_decod             ;
32  public : uint32_t   _nb_inst_branch_complete   ;
33  public : uint32_t   _nb_inst_update            ;
34  public : uint32_t   _size_history              ;
35  public : uint32_t * _size_ras_index            ; // [nb_context]
36  public : const bool _not_accurate_block_predict;
37  public : uint32_t   _nb_thread                          ;
38  public : uint32_t * _translate_num_context_to_num_thread;//[nb_context]                   
39
40//public : uint32_t   _size_context_id           ;
41//public : uint32_t * _size_depth                ; // [nb_context]
42//public : uint32_t   _max_size_depth            ;
43  public : uint32_t   _max_size_ras_index        ;
44                                                 
45//public : bool       _have_port_context_id      ;
46//public : bool     * _have_port_depth           ; // [nb_context]
47//public : bool       _have_port_max_depth       ;
48  public : bool       _have_port_history         ;
49   
50  public : bool              * _have_thread             ;//[nb_thread]
51
52    //-----[ methods ]-----------------------------------------------------------
53  public : Parameters  (uint32_t   nb_context             ,
54                        uint32_t * size_upt_queue         ,
55                        uint32_t * size_ufpt_queue        ,
56                        uint32_t   size_address           ,
57                        uint32_t   nb_inst_predict        ,
58                        uint32_t   nb_inst_decod          ,
59                        uint32_t   nb_inst_branch_complete,
60                        uint32_t   nb_inst_update         ,
61                        uint32_t   size_history           ,
62                        uint32_t * size_ras_index         ,
63                        uint32_t   nb_thread                           ,
64                        uint32_t * translate_num_context_to_num_thread ,//[nb_context]                   
65                        bool       is_toplevel=false);
66//public : Parameters  (Parameters & param) ;
67  public : ~Parameters () ;
68
69  public :        void            copy       (void);
70
71  public :        Parameters_test msg_error  (void);
72
73  public :        std::string     print      (uint32_t depth);
74  public : friend std::ostream&   operator<< (std::ostream& output_stream,
75                                            morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::update_prediction_table::Parameters & x);
76  };
77
78}; // end namespace update_prediction_table
79}; // end namespace prediction_unit
80}; // end namespace front_end
81}; // end namespace multi_front_end
82}; // end namespace core
83
84}; // end namespace behavioural
85}; // end namespace morpheo             
86
87#endif
Note: See TracBrowser for help on using the repository browser.