Ignore:
Timestamp:
Dec 10, 2008, 7:31:39 PM (16 years ago)
Author:
rosiere
Message:

Almost complete design
with Test and test platform

Location:
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Prediction_unit_Glue/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Prediction_unit_Glue/include/Parameters.h

    r82 r88  
    2727  public : uint32_t   _nb_decod_unit            ;
    2828//public : uint32_t   _nb_ooo_engine            ;
    29   public : uint32_t   _size_address             ;
     29//public : uint32_t   _size_address             ;
    3030  public : uint32_t * _nb_instruction           ;//[nb_context]
    31   public : uint32_t * _size_depth               ;//[nb_context]
     31//public : uint32_t * _size_depth               ;//[nb_context]
     32  public : uint32_t * _array_size_depth         ;//[nb_context]
    3233  public : uint32_t * _nb_inst_decod            ;//[nb_decod_unit]
    3334//public : uint32_t * _nb_inst_update           ;//[nb_ooo_engine]
     
    3738//public : uint32_t   _nb_inst_branch_complete  ;
    3839
    39   public : uint32_t   _size_context_id          ;
    40   public : uint32_t * _size_inst_ifetch_ptr     ;//[nb_context]
    41   public : uint32_t   _max_size_depth           ;
     40//public : uint32_t   _size_context_id          ;
     41//public : uint32_t * _size_inst_ifetch_ptr     ;//[nb_context]
     42//public : uint32_t   _max_size_depth           ;
    4243
    43   public : bool       _have_port_context_id     ;
    44   public : bool       _have_port_max_depth      ;
    45   public : bool     * _have_port_depth          ;//[nb_context]
    46   public : bool     * _have_port_inst_ifetch_ptr;//[nb_context]
     44//public : bool       _have_port_context_id     ;
     45//public : bool       _have_port_max_depth      ;
     46//public : bool     * _have_port_depth          ;//[nb_context]
     47//public : bool     * _have_port_inst_ifetch_ptr;//[nb_context]
    4748
    4849    //-----[ methods ]-----------------------------------------------------------
     
    5051                        uint32_t   nb_decod_unit         ,
    5152//                      uint32_t   nb_ooo_engine         ,
    52                         uint32_t   size_address          ,
     53                        uint32_t   size_address          ,
    5354                        uint32_t * nb_instruction        ,
    5455                        uint32_t * size_depth            ,
     
    5758                        uint32_t   nb_inst_branch_predict,
    5859                        uint32_t   nb_inst_branch_decod  ,
    59                         uint32_t   nb_inst_branch_update );
     60                        uint32_t   nb_inst_branch_update ,
     61                        bool       is_toplevel=false
     62                        );
    6063//   public : Parameters  (Parameters & param) ;
    6164  public : ~Parameters () ;
     65
     66  public :        void            copy       (void);
    6267
    6368  public :        Parameters_test msg_error  (void);
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Prediction_unit_Glue/include/Prediction_unit_Glue.h

    r82 r88  
    106106  public    : SC_IN (Tcontrol_t         )  **  in_PREDICT_UPT_ACK                     ; //[nb_inst_branch_predict]
    107107  public    : SC_OUT(Tcontext_t         )  ** out_PREDICT_UPT_CONTEXT_ID              ; //[nb_inst_branch_predict]
     108  public    : SC_IN (Tprediction_ptr_t  )  **  in_PREDICT_UPT_BRANCH_UPDATE_PREDICTION_ID; //[nb_inst_branch_predict]
     109
    108110  public    : SC_OUT(Taddress_t         )  ** out_PREDICT_UPT_BTB_ADDRESS_SRC         ; //[nb_inst_branch_predict]* BTB.ADDRESS_SRC
    109111  public    : SC_OUT(Taddress_t         )  ** out_PREDICT_UPT_BTB_ADDRESS_DEST        ; //[nb_inst_branch_predict]
     
    159161  public    : SC_OUT(Tcontrol_t         )  ** out_DECOD_UPT_MISS_DECOD                ; //[nb_inst_branch_decod]
    160162  public    : SC_OUT(Tprediction_ptr_t  )  ** out_DECOD_UPT_UPDATE_PREDICTION_ID      ; //[nb_inst_branch_decod]
     163  public    : SC_OUT(Tcontrol_t         )  ** out_DECOD_UPT_IS_ACCURATE               ; //[nb_inst_branch_decod]
    161164                                                                                     
    162165    // ~~~~~[ Interface : "update" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~           
     
    202205//public    : SC_IN (Tcontrol_t         )  **  in_UPDATE_UPT_RAS_PREDICTION_IFETCH    ; //[nb_inst_branch_update] RAS.PREDICTION_IFETCH
    203206                                                                                     
    204     // ~~~~~[ Interface : "depth" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~           
    205   public    : SC_IN (Tdepth_t           )  **  in_DEPTH_UPT_NB_BRANCH                 ; //[nb_context]
    206   public    : SC_IN (Tdepth_t           )  **  in_DEPTH_UPT_TAIL                      ; //[nb_context]
    207   public    : SC_OUT(Tdepth_t           )  ** out_DEPTH_NB_BRANCH                     ; //[nb_context]
    208   public    : SC_OUT(Tdepth_t           )  ** out_DEPTH_TAIL                          ; //[nb_context]
     207//  // ~~~~~[ Interface : "depth" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~           
     208//public    : SC_IN (Tdepth_t           )  **  in_DEPTH_UPT_NB_BRANCH                 ; //[nb_context]
     209//public    : SC_IN (Tdepth_t           )  **  in_DEPTH_UPT_TAIL                      ; //[nb_context]
     210//public    : SC_OUT(Tdepth_t           )  ** out_DEPTH_NB_BRANCH                     ; //[nb_context]
     211//public    : SC_OUT(Tdepth_t           )  ** out_DEPTH_TAIL                          ; //[nb_context]
    209212
    210213    // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
Note: See TracChangeset for help on using the changeset viewer.