Ignore:
Timestamp:
May 21, 2009, 12:01:32 AM (15 years ago)
Author:
rosiere
Message:

1) Stat List : scan all queue to find free register
2) Write_queue : test "genMealy" add bypass [0]
3) Functionnal_unit : add const parameters to add or not the pipeline_in
4) Load Store Unit : if load make an exception, free nb_check
5) Debug, change test to add model

Location:
trunk/IPs/systemC/processor/Morpheo/Behavioural/include
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Debug_component.h

    r112 r118  
    5151#  define                 DEBUG_Meta_Predictor_Glue               true
    5252#  define                 DEBUG_Two_Level_Branch_Predictor        true
    53 #  define                   DEBUG_Two_Level_Branch_Predictor_Glue true
    54 #  define                   DEBUG_Branch_History_Table            true
    55 #  define                   DEBUG_Pattern_History_Table           true
    5653#  define             DEBUG_Prediction_unit_Glue                  true
    5754#  define             DEBUG_Return_Address_Stack                  true
     
    9895#  define DEBUG_Allocation                                        true
    9996#  define DEBUG_Interface                                         true
     97
     98//----------------------------------------------------------------------
     99
     100// Boolean
     101#  define NAME_true                                       "true"
     102#  define NAME_false                                      "false"
     103                                                                                                       
     104// Others                                                                                             
     105#  define NAME_Allocation                                 "Allocation"
     106#  define NAME_Interface                                  "Interface"
     107
     108// Component                                               
     109#  define NAME_Morpheo                                    "Morpheo"
     110#  define NAME_Behavioural                                "Behavioural"
     111#  define NAME_Configuration                              "Configuration"
     112#  define NAME_Generic                                    "Generic"
     113#  define NAME_Comparator                                 "Comparator"
     114#  define NAME_Counter                                    "Counter"
     115#  define NAME_Divider                                    "Divider"
     116#  define NAME_Multiplier                                 "Multiplier"
     117#  define NAME_Priority                                   "Priority"
     118#  define NAME_Queue                                      "Queue"
     119#  define NAME_Queue_Control                              "Queue_Control"
     120#  define NAME_RegisterFile                               "RegisterFile"
     121#  define NAME_RegisterFile_Monolithic                    "RegisterFile_Monolithic"
     122#  define NAME_RegisterFile_Multi_Banked                  "RegisterFile_Multi_Banked"
     123#  define NAME_Select                                     "Select"
     124#  define NAME_Select_Priority_Fixed                      "Select_Priority_Fixed"
     125#  define NAME_Shifter                                    "Shifter"
     126#  define NAME_Sort                                       "Sort"
     127#  define NAME_Victim                                     "Victim"
     128#  define NAME_Victim_Pseudo_LRU                          "Victim_Pseudo_LRU"
     129#  define NAME_Core                                       "Core"
     130#  define NAME_Core_Glue                                  "Core_Glue"
     131#  define NAME_Dcache_Access                              "Dcache_Access"
     132#  define NAME_Icache_Access                              "Icache_Access"
     133#  define NAME_Multi_Front_end                            "Multi_Front_end"
     134#  define NAME_Front_end                                  "Front_end"
     135#  define NAME_Context_State                              "Context_State"
     136#  define NAME_Decod_unit                                 "Decod_unit"
     137#  define NAME_Decod                                      "Decod"
     138#  define NAME_Decod_queue                                "Decod_queue"
     139#  define NAME_Front_end_Glue                             "Front_end_Glue"
     140#  define NAME_Ifetch_unit                                "Ifetch_unit"
     141#  define NAME_Address_management                         "Address_management"
     142#  define NAME_Ifetch_queue                               "Ifetch_queue"
     143#  define NAME_Ifetch_unit_Glue                           "Ifetch_unit_Glue"
     144#  define NAME_Prediction_unit                            "Prediction_unit"
     145#  define NAME_Branch_Target_Buffer                       "Branch_Target_Buffer"
     146#  define NAME_Branch_Target_Buffer_Glue                  "Branch_Target_Buffer_Glue"
     147#  define NAME_Branch_Target_Buffer_Register              "Branch_Target_Buffer_Register"
     148#  define NAME_Direction                                  "Direction"
     149#  define NAME_Direction_Glue                             "Direction_Glue"
     150#  define NAME_Meta_Predictor                             "Meta_Predictor"
     151#  define NAME_Meta_Predictor_Glue                        "Meta_Predictor_Glue"
     152#  define NAME_Two_Level_Branch_Predictor                 "Two_Level_Branch_Predictor"
     153#  define NAME_Prediction_unit_Glue                       "Prediction_unit_Glue"
     154#  define NAME_Return_Address_Stack                       "Return_Address_Stack"
     155#  define NAME_Update_Prediction_Table                    "Update_Prediction_Table"
     156#  define NAME_Multi_OOO_Engine                           "Multi_OOO_Engine"
     157#  define NAME_OOO_Engine                                 "OOO_Engine"
     158#  define NAME_Commit_unit                                "Commit_unit"
     159#  define NAME_Issue_queue                                "Issue_queue"
     160#  define NAME_OOO_Engine_Glue                            "OOO_Engine_Glue"
     161#  define NAME_Reexecute_unit                             "Reexecute_unit"
     162#  define NAME_Rename_unit                                "Rename_unit"
     163#  define NAME_Load_Store_pointer_unit                    "Load_Store_pointer_unit"
     164#  define NAME_Register_translation_unit                  "Register_translation_unit"
     165#  define NAME_Dependency_checking_unit                   "Dependency_checking_unit"
     166#  define NAME_Free_List_unit                             "Free_List_unit"
     167#  define NAME_Register_Address_Translation_unit          "Register_Address_Translation_unit"
     168#  define NAME_Register_translation_unit_Glue             "Register_translation_unit_Glue"
     169#  define NAME_Stat_List_unit                             "Stat_List_unit"
     170#  define NAME_Rename_select                              "Rename_select"
     171#  define NAME_Rename_unit_Glue                           "Rename_unit_Glue"
     172#  define NAME_Special_Register_unit                      "Special_Register_unit"
     173#  define NAME_Multi_Execute_loop                         "Multi_Execute_loop"
     174#  define NAME_Execute_loop                               "Execute_loop"
     175#  define NAME_Execute_loop_Glue                          "Execute_loop_Glue"
     176#  define NAME_Multi_Execute_unit                         "Multi_Execute_unit"
     177#  define NAME_Execute_unit                               "Execute_unit"
     178#  define NAME_Functionnal_unit                           "Functionnal_unit"
     179#  define NAME_Load_store_unit                            "Load_store_unit"
     180#  define NAME_Multi_Read_unit                            "Multi_Read_unit"
     181#  define NAME_Read_unit                                  "Read_unit"
     182#  define NAME_Read_queue                                 "Read_queue"
     183#  define NAME_Reservation_station                        "Reservation_station"
     184#  define NAME_Multi_Write_unit                           "Multi_Write_unit"
     185#  define NAME_Write_unit                                 "Write_unit"
     186#  define NAME_Execute_queue                              "Execute_queue"
     187#  define NAME_Write_queue                                "Write_queue"
     188#  define NAME_Network                                    "Network"
     189#  define NAME_Execution_unit_to_Write_unit               "Execution_unit_to_Write_unit"
     190#  define NAME_Read_unit_to_Execution_unit                "Read_unit_to_Execution_unit"
     191#  define NAME_Register_unit                              "Register_unit"
     192#  define NAME_Register_unit_Glue                         "Register_unit_Glue"
     193
    100194#endif
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Model.h

    r113 r118  
    99 */
    1010
    11 #include "Common/include/Debug.h"
     11#include "Common/include/ToString.h"
     12#include "Common/include/FromString.h"
    1213#include "Common/include/ErrorMorpheo.h"
    1314#include <map>
     
    2425  typedef struct
    2526  {
    26     model_type_t      type ;
    27     debug_verbosity_t debug;
     27    model_type_t type ;
     28    bool        debug;
    2829  } model_t;
    2930   
    3031  class Model
    3132  {
    32   private : static const model_type_t      default_type  = MODEL_SYSTEMC;
    33   private : static const debug_verbosity_t default_debug = DEBUG_NONE;
     33  private : static const model_type_t default_type  = MODEL_SYSTEMC;
     34  private : static const bool         default_debug = false;
    3435
    3536  private : std::map<std::string,model_t> models;
    3637
    37   public  :                    Model (void);
    38   public  :                   ~Model (void);
    39   public  : void              set_model (std::string component, model_type_t type, debug_verbosity_t debug);
    40   public  : model_type_t      get_type  (std::string component);
    41   public  : debug_verbosity_t get_debug (std::string component);
    42   public  : void              print     (void);
     38  public  :               Model (void);
     39  public  :              ~Model (void);
     40  public  : void         set_model (std::string component, model_type_t type, bool debug);
     41  public  : model_type_t get_type  (std::string component);
     42  public  : bool        get_debug (std::string component);
     43  public  : void         print     (void);
    4344  };
    4445 
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Types.h

    r111 r118  
    2020  typedef uint8_t            Texception_t;
    2121  typedef uint8_t            Tcontext_t;
    22   typedef uint8_t            Tpacket_t;
     22  typedef uint16_t           Tpacket_t;
    2323  typedef uint8_t            Toperation_t;
    2424  typedef uint8_t            Ttype_t;
    25   typedef uint8_t            Tcounter_t; // universal counter
    26   typedef uint8_t            Tptr_t;     // universal pointer
     25  typedef uint32_t           Tcounter_t; // universal counter
     26  typedef uint32_t           Tptr_t;     // universal pointer
    2727  typedef uint32_t           Tspr_t;
    2828  typedef uint16_t           Tspr_address_t;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Version.h

    r117 r118  
    1010#define MORPHEO_MAJOR_VERSION "0"
    1111#define MORPHEO_MINOR_VERSION "2"
    12 #define MORPHEO_REVISION      "117"
     12#define MORPHEO_REVISION      "118"
    1313#define MORPHEO_CODENAME      "Castor"
    1414
    15 #define MORPHEO_DATE_DAY      "16
     15#define MORPHEO_DATE_DAY      "20
    1616#define MORPHEO_DATE_MONTH    "05"
    1717#define MORPHEO_DATE_YEAR     "2009"
Note: See TracChangeset for help on using the changeset viewer.