Ignore:
Timestamp:
Aug 4, 2010, 10:09:03 PM (14 years ago)
Author:
rosiere
Message:

1) Full parallel compilation
2) Add statistics in ROB : list instruction affinity

Location:
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine
Files:
20 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/Makefile.deps

    r88 r142  
    2727                                        $(Behavioural_LIBRARY) 
    2828
    29 Commit_unit_DIR_LIBRARY         =       -L$(Commit_unit_DIR)/lib        \
    30                                         $(Priority_DIR_LIBRARY)         \
    31                                         $(Behavioural_DIR_LIBRARY)
    32 
    3329#-----[ Rules ]--------------------------------------------
    3430
    35 Commit_unit_library             :
     31Commit_unit_library_only        :
     32                                @\
     33                                $(MAKE) --directory=$(Commit_unit_DIR) --makefile=Makefile;
     34
     35Commit_unit_library_clean_only  :
     36                                @\
     37                                $(MAKE) --directory=$(Commit_unit_DIR) --makefile=Makefile clean;
     38
     39Commit_unit_library             : Commit_unit_library_only
    3640                                @\
    3741                                $(MAKE) Behavioural_library;            \
    38                                 $(MAKE) Priority_library;               \
    39                                 $(MAKE) --directory=$(Commit_unit_DIR) --makefile=Makefile;
     42                                $(MAKE) Priority_library;
    4043
    41 Commit_unit_library_clean       :
     44Commit_unit_library_clean       : Commit_unit_library_clean_only
    4245                                @\
    4346                                $(MAKE) Behavioural_library_clean;      \
    44                                 $(MAKE) Priority_library_clean;         \
    45                                 $(MAKE) --directory=$(Commit_unit_DIR) --makefile=Makefile clean;
     47                                $(MAKE) Priority_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/include/Commit_unit.h

    r141 r142  
    3535namespace morpheo {
    3636namespace behavioural {
    37 
    3837namespace core {
    3938namespace multi_ooo_engine {
     
    4140namespace commit_unit {
    4241
     42#ifdef STATISTICS
     43  typedef std::map<uint32_t,uint32_t> stat_inst_fusion_t;
     44#endif
    4345
    4446  class Commit_unit
     
    7173  public    : counter_t                     ** _stat_nb_cycle_state_event         ;//[nb_thread]
    7274  public    : counter_t                     ** _stat_nb_cycle_state_wait_end      ;//[nb_thread]
     75
     76// public    : uint32_t                       * _stat_last_inst                    ;//[nb_thread]
     77  public    : uint32_t                       * _stat_last_inst_type               ;//[nb_thread]
     78  public    : uint32_t                       * _stat_last_inst_operation          ;//[nb_thread]
     79  public    : stat_inst_fusion_t             * _stat_inst_fusion                  ;//[nb_thread]
    7380#endif
    7481
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/src/Commit_unit_statistics_allocation.cpp

    r141 r142  
    88
    99#include "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/include/Commit_unit.h"
     10#include "Behavioural/include/Allocation.h"
    1011
    1112namespace morpheo {
     
    169170      {
    170171        _stat_nb_inst_insert [i] = _stat->create_counters("nb_inst_insert_"+toString(i),_param->_nb_inst_insert[i],"",
    171                                                              _("Cycle number with %d instruction(s) included ")+toString(_("(rename_unit %d)."),i),
    172                                                              _("Percent of cycle number with %d instruction(s) included ")+toString(_("(rename_unit %d)."),i),
    173                                                              _("Average of instruction(s) included ")+toString(_("(rename_unit %d)."),i)
    174                                                              );
     172                                                          _("Cycle number with %d instruction(s) included ")+toString(_("(rename_unit %d)."),i),
     173                                                          _("Percent of cycle number with %d instruction(s) included ")+toString(_("(rename_unit %d)."),i),
     174                                                          _("Average of instruction(s) included ")+toString(_("(rename_unit %d)."),i)
     175                                                          );
    175176       
    176177        _stat_nb_inst_retire [i] = _stat->create_counters("nb_inst_retire_"+toString(i),_param->_nb_inst_retire[i],"",
    177                                                              _("Cycle number with %d instruction(s) removed ")+toString(_("(rename_unit %d)."),i),
    178                                                              _("Percent of cycle number with %d instruction(s) removed ")+toString(_("(rename_unit %d)."),i),
    179                                                              _("Average of instruction(s) removed ")+toString(_("(rename_unit %d)."),i)
    180                                                              );
     178                                                          _("Cycle number with %d instruction(s) removed ")+toString(_("(rename_unit %d)."),i),
     179                                                          _("Percent of cycle number with %d instruction(s) removed ")+toString(_("(rename_unit %d)."),i),
     180                                                          _("Average of instruction(s) removed ")+toString(_("(rename_unit %d)."),i)
     181                                                          );
    181182       
    182183        _stat_nb_inst_commit [i] = _stat->create_counters("nb_inst_commit_"+toString(i),_param->_nb_inst_commit,"",
    183                                                              _("Cycle number with %d instruction(s) commited ")+toString(_("(rename_unit %d)."),i),
    184                                                              _("Percent of cycle number with %d instruction(s) commited ")+toString(_("(rename_unit %d)."),i),
    185                                                              _("Average of instruction(s) commited "+toString(_("(rename_unit %d)."),i))
    186                                                              );
     184                                                          _("Cycle number with %d instruction(s) commited ")+toString(_("(rename_unit %d)."),i),
     185                                                          _("Percent of cycle number with %d instruction(s) commited ")+toString(_("(rename_unit %d)."),i),
     186                                                          _("Average of instruction(s) commited ")+toString(_("(rename_unit %d)."),i)
     187                                                          );
    187188
    188189        average_nb_inst_commit = "+ average_nb_inst_commit_"+toString(i) + " " + average_nb_inst_commit;
     
    192193    _stat->create_expr_average_by_cycle("average_use_interface_commit_conflit_access","nb_inst_commit_conflit_access", "", _("Average access conflit by cycle on commit interface"));
    193194    _stat->create_expr_percent         ("percent_use_interface_commit_conflit_access","average_use_interface_commit_conflit_access", average_nb_inst_commit, _("Percent access conflit on commit interface"));
     195
     196
     197//  ALLOC1(_stat_last_inst          ,uint32_t          ,_param->_nb_thread);
     198    ALLOC1(_stat_last_inst_type     ,uint32_t          ,_param->_nb_thread);
     199    ALLOC1(_stat_last_inst_operation,uint32_t          ,_param->_nb_thread);
     200    ALLOC1(_stat_inst_fusion        ,stat_inst_fusion_t,_param->_nb_thread);
     201
     202    for (uint32_t i=0; i<_param->_nb_thread; ++i)
     203      {
     204      //_stat_last_inst           [i] = INSTRUCTION_L_NOP;
     205        _stat_last_inst_type      [i] = instruction_information(INSTRUCTION_L_NOP)._type     ;
     206        _stat_last_inst_operation [i] = instruction_information(INSTRUCTION_L_NOP)._operation;
     207      }
    194208
    195209    log_end(Commit_unit,FUNCTION);
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/src/Commit_unit_statistics_deallocation.cpp

    r141 r142  
    88
    99#include "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/include/Commit_unit.h"
     10#include "Behavioural/include/Allocation.h"
     11#include "Common/include/BitManipulation.h"
    1012
    1113namespace morpheo {
     
    4143    delete [] _stat_nb_inst_retire;
    4244    delete [] _stat_nb_inst_commit;
     45
     46//  uint32_t mask_inst      = gen_mask<uint32_t>(SIZE_INSTRUCTION);
     47    uint32_t mask_type      = gen_mask<uint32_t>(SIZE_TYPE       );
     48    uint32_t mask_operation = gen_mask<uint32_t>(SIZE_OPERATION  );
     49
     50    for (uint32_t i=0; i<_param->_nb_thread; ++i)
     51      for(stat_inst_fusion_t::iterator it = _stat_inst_fusion [i].begin();
     52          it != _stat_inst_fusion [i].end();
     53          ++it)
     54        {
     55          uint32_t value = it->second;
     56
     57          if (value != 0)
     58            {
     59              uint32_t inst = it->first;
     60
     61              type_t   type_0      = static_cast<type_t>((inst>>(SIZE_TYPE+2*SIZE_OPERATION))&mask_type     );
     62              uint32_t operation_0 =                     (inst>>(SIZE_TYPE+  SIZE_OPERATION))&mask_operation ;
     63              type_t   type_1      = static_cast<type_t>((inst>>(            SIZE_OPERATION))&mask_type     );
     64              uint32_t operation_1 =                      inst                               &mask_operation ;
     65
     66              // log_printf(STAT,Commit_unit,FUNCTION,
     67              msgInformation(
     68                           //"  * %s - %s : %d\n"
     69                           //,toString_instruction((inst>>SIZE_INSTRUCTION)&mask_inst).c_str()
     70                           //,toString_instruction( inst                   &mask_inst).c_str(),value
     71                             "  * %s.%s - %s.%s : %d\n"
     72                             ,toString          (type_0            ).c_str()
     73                             ,toString_operation(type_0,operation_0).c_str()
     74                             ,toString          (type_1            ).c_str()
     75                             ,toString_operation(type_1,operation_1).c_str()
     76                             ,value
     77                             );
     78            }
     79        }
     80
     81 // DELETE1(_stat_last_inst          ,_param->_nb_thread);
     82    DELETE1(_stat_last_inst_type     ,_param->_nb_thread);
     83    DELETE1(_stat_last_inst_operation,_param->_nb_thread);
     84    DELETE1(_stat_inst_fusion        ,_param->_nb_thread);
    4385       
    4486    log_end(Commit_unit,FUNCTION);
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/src/Commit_unit_transition.cpp

    r141 r142  
    770770                    can_continue = true;
    771771
    772                     Tcontext_t  front_end_id = entry->front_end_id;
    773                     Tcontext_t  context_id   = entry->context_id  ;
    774                     uint32_t    num_thread   = _param->_translate_num_context_to_num_thread [front_end_id][context_id];
    775                     rob_state_t state        = entry->state_old;
    776                     Ttype_t     type         = entry->type        ;
    777                     bool        retire_ok    = false;
    778                     uint32_t    packet_id    = ((entry->ptr << _param->_shift_num_slot) | num_bank);
     772                    Tcontext_t   front_end_id = entry->front_end_id;
     773                    Tcontext_t   context_id   = entry->context_id  ;
     774                    uint32_t     num_thread   = _param->_translate_num_context_to_num_thread [front_end_id][context_id];
     775                    rob_state_t  state        = entry->state_old;
     776                    Ttype_t      type         = entry->type        ;
     777                    Toperation_t operation    = entry->operation   ;
     778                    bool         retire_ok    = false;
     779                    uint32_t     packet_id    = ((entry->ptr << _param->_shift_num_slot) | num_bank);
    779780                   
    780781                    log_printf(TRACE,Commit_unit,FUNCTION,"    * front_end_id : %d",front_end_id );
     
    875876                            (*_stat_nb_inst_instruction [instruction]) ++;
    876877                            (*_stat_nb_inst_type        [type]       ) ++;
     878
     879                          //uint32_t index = (_stat_last_inst [num_thread] << SIZE_INSTRUCTION) | instruction;
     880                            uint32_t index = ((_stat_last_inst_type      [num_thread] << (SIZE_TYPE+2*SIZE_OPERATION)) |
     881                                              (_stat_last_inst_operation [num_thread] << (SIZE_TYPE+  SIZE_OPERATION)) |
     882                                              (                type                   << (            SIZE_OPERATION)) |
     883                                              (                operation                                             ));
     884
     885                            _stat_inst_fusion [num_thread][index] ++;
     886                           
     887                          //_stat_last_inst           [num_thread] = instruction;
     888                            _stat_last_inst_type      [num_thread] = type       ;
     889                            _stat_last_inst_operation [num_thread] = operation  ;
    877890                          }
    878891                        else
     
    893906                          << "{" << ((retire_ok)?"OK":"KO") << "} ";
    894907                       
    895                         if ((type == TYPE_MEMORY) and  is_operation_memory_load(entry->operation))
     908                        if ((type == TYPE_MEMORY) and  is_operation_memory_load(operation))
    896909                          instruction_log_file [num_thread] << std::hex << entry->load_data << std::dec;
    897910                       
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Issue_queue/Makefile.deps

    r88 r142  
    2727                                        $(Behavioural_LIBRARY) 
    2828
    29 Issue_queue_DIR_LIBRARY         =       -L$(Issue_queue_DIR)/lib        \
    30                                         $(Priority_DIR_LIBRARY)         \
    31                                         $(Behavioural_DIR_LIBRARY)
    32 
    3329#-----[ Rules ]--------------------------------------------
    3430
    35 Issue_queue_library             :
     31Issue_queue_library_only        :
     32                                @\
     33                                $(MAKE) --directory=$(Issue_queue_DIR) --makefile=Makefile;
     34
     35Issue_queue_library_clean_only  :
     36                                @\
     37                                $(MAKE) --directory=$(Issue_queue_DIR) --makefile=Makefile clean;
     38
     39Issue_queue_library             : Issue_queue_library_only
    3640                                @\
    3741                                $(MAKE) Behavioural_library;            \
    38                                 $(MAKE) Priority_library;               \
    39                                 $(MAKE) --directory=$(Issue_queue_DIR) --makefile=Makefile;
     42                                $(MAKE) Priority_library;
    4043
    41 Issue_queue_library_clean       :
     44Issue_queue_library_clean       : Issue_queue_library_clean_only
    4245                                @\
    4346                                $(MAKE) Behavioural_library_clean;      \
    44                                 $(MAKE) Priority_library_clean;         \
    45                                 $(MAKE) --directory=$(Issue_queue_DIR) --makefile=Makefile clean;
     47                                $(MAKE) Priority_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Makefile.deps

    r88 r142  
    4747                                        $(Behavioural_LIBRARY)
    4848
    49 OOO_Engine_DIR_LIBRARY          =       -L$(OOO_Engine_DIR)/lib                 \
    50                                         $(Commit_unit_DIR_LIBRARY)              \
    51                                         $(Issue_queue_DIR_LIBRARY)              \
    52                                         $(Reexecute_unit_DIR_LIBRARY)           \
    53                                         $(Rename_unit_DIR_LIBRARY)              \
    54                                         $(Special_Register_unit_DIR_LIBRARY)    \
    55                                         $(OOO_Engine_Glue_DIR_LIBRARY)          \
    56                                         $(Behavioural_DIR_LIBRARY)
    57 
    5849#-----[ Rules ]--------------------------------------------
    5950
    60 OOO_Engine_library              :
     51OOO_Engine_library_only         :
     52                                @\
     53                                $(MAKE) --directory=$(OOO_Engine_DIR) --makefile=Makefile;
     54
     55OOO_Engine_library_clean_only   :
     56                                @\
     57                                $(MAKE) --directory=$(OOO_Engine_DIR) --makefile=Makefile clean;
     58
     59OOO_Engine_library              : OOO_Engine_library_only
    6160                                @\
    6261                                $(MAKE) Behavioural_library;                    \
     
    6665                                $(MAKE) Rename_unit_library;                    \
    6766                                $(MAKE) Special_Register_unit_library;          \
    68                                 $(MAKE) OOO_Engine_Glue_library;                \
    69                                 $(MAKE) --directory=$(OOO_Engine_DIR) --makefile=Makefile;
     67                                $(MAKE) OOO_Engine_Glue_library;
    7068
    71 OOO_Engine_library_clean        :
     69OOO_Engine_library_clean        : OOO_Engine_library_clean_only
    7270                                @\
    7371                                $(MAKE) Behavioural_library_clean;              \
     
    7775                                $(MAKE) Rename_unit_library_clean;              \
    7876                                $(MAKE) Special_Register_unit_library_clean;    \
    79                                 $(MAKE) OOO_Engine_Glue_library_clean;          \
    80                                 $(MAKE) --directory=$(OOO_Engine_DIR) --makefile=Makefile clean;
     77                                $(MAKE) OOO_Engine_Glue_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/OOO_Engine_Glue/Makefile.deps

    r88 r142  
    88# DIR_MORPHEO must be defined
    99
    10 OOO_Engine_Glue                 = yes
     10OOO_Engine_Glue                         = yes
    1111
    1212ifndef Behavioural
    13 include                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
     13include                                 $(DIR_MORPHEO)/Behavioural/Makefile.deps
    1414endif
    1515
     
    2020#-----[ Library ]------------------------------------------
    2121
    22 OOO_Engine_Glue_LIBRARY         =       -lOOO_Engine_Glue       \
    23                                         $(Behavioural_LIBRARY) 
    24 
    25 OOO_Engine_Glue_DIR_LIBRARY             =       -L$(OOO_Engine_Glue_DIR)/lib    \
    26                                         $(Behavioural_DIR_LIBRARY)
     22OOO_Engine_Glue_LIBRARY                 =       -lOOO_Engine_Glue       \
     23                                                $(Behavioural_LIBRARY) 
    2724
    2825#-----[ Rules ]--------------------------------------------
    2926
    30 OOO_Engine_Glue_library         :
    31                                 @\
    32                                 $(MAKE) Behavioural_library;            \
    33                                 $(MAKE) --directory=$(OOO_Engine_Glue_DIR) --makefile=Makefile;
     27OOO_Engine_Glue_library_only            :
     28                                        @\
     29                                        $(MAKE) --directory=$(OOO_Engine_Glue_DIR) --makefile=Makefile;
     30                                       
     31OOO_Engine_Glue_library_clean_only      :
     32                                        @\
     33                                        $(MAKE) --directory=$(OOO_Engine_Glue_DIR) --makefile=Makefile clean;
    3434
    35 OOO_Engine_Glue_library_clean   :
    36                                 @\
    37                                 $(MAKE) Behavioural_library_clean;      \
    38                                 $(MAKE) --directory=$(OOO_Engine_Glue_DIR) --makefile=Makefile clean;
     35OOO_Engine_Glue_library                 : OOO_Engine_Glue_library_only
     36                                        @\
     37                                        $(MAKE) Behavioural_library;
     38                                       
     39OOO_Engine_Glue_library_clean           : OOO_Engine_Glue_library_clean_only
     40                                        @\
     41                                        $(MAKE) Behavioural_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Reexecute_unit/Makefile.deps

    r88 r142  
    88# DIR_MORPHEO must be defined
    99
    10 Reexecute_unit                  = yes
     10Reexecute_unit                          = yes
    1111
    1212ifndef Behavioural
    13 include                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
     13include                                 $(DIR_MORPHEO)/Behavioural/Makefile.deps
    1414endif
    1515ifndef Priority
    16 include                         $(DIR_MORPHEO)/Behavioural/Generic/Priority/Makefile.deps
     16include                                 $(DIR_MORPHEO)/Behavioural/Generic/Priority/Makefile.deps
    1717endif
    1818
    1919#-----[ Directory ]----------------------------------------
    2020
    21 Reexecute_unit_DIR              =       $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Reexecute_unit
     21Reexecute_unit_DIR                      =       $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Reexecute_unit
    2222
    2323#-----[ Library ]------------------------------------------
    2424
    25 Reexecute_unit_LIBRARY          =       -lReexecute_unit                \
    26                                         $(Priority_LIBRARY)             \
    27                                         $(Behavioural_LIBRARY) 
    28 
    29 Reexecute_unit_DIR_LIBRARY      =       -L$(Reexecute_unit_DIR)/lib     \
    30                                         $(Priority_DIR_LIBRARY)         \
    31                                         $(Behavioural_DIR_LIBRARY)
     25Reexecute_unit_LIBRARY                  =       -lReexecute_unit                \
     26                                                $(Priority_LIBRARY)             \
     27                                                $(Behavioural_LIBRARY) 
    3228
    3329#-----[ Rules ]--------------------------------------------
    3430
    35 Reexecute_unit_library          :
    36                                 @\
    37                                 $(MAKE) Behavioural_library;            \
    38                                 $(MAKE) Priority_library;               \
    39                                 $(MAKE) --directory=$(Reexecute_unit_DIR) --makefile=Makefile;
     31Reexecute_unit_library_only             :
     32                                        @\
     33                                        $(MAKE) --directory=$(Reexecute_unit_DIR) --makefile=Makefile;
    4034
    41 Reexecute_unit_library_clean    :
    42                                 @\
    43                                 $(MAKE) Behavioural_library_clean;      \
    44                                 $(MAKE) Priority_library_clean;         \
    45                                 $(MAKE) --directory=$(Reexecute_unit_DIR) --makefile=Makefile clean;
     35Reexecute_unit_library_clean_only       :
     36                                        @\
     37                                        $(MAKE) --directory=$(Reexecute_unit_DIR) --makefile=Makefile clean;
     38
     39Reexecute_unit_library                  : Reexecute_unit_library_only
     40                                        @\
     41                                        $(MAKE) Behavioural_library;            \
     42                                        $(MAKE) Priority_library;
     43
     44Reexecute_unit_library_clean            : Reexecute_unit_library_clean_only
     45                                        @\
     46                                        $(MAKE) Behavioural_library_clean;      \
     47                                        $(MAKE) Priority_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Load_Store_pointer_unit/Makefile.deps

    r81 r142  
    88# DIR_MORPHEO must be defined
    99
    10 Load_Store_pointer_unit                 = yes
     10Load_Store_pointer_unit                         = yes
    1111
    1212ifndef Behavioural
    13 include                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
     13include                                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
    1414endif
    1515
     
    2020#-----[ Library ]------------------------------------------
    2121
    22 Load_Store_pointer_unit_LIBRARY         =       -lLoad_Store_pointer_unit       \
    23                                         $(Behavioural_LIBRARY) 
    24 
    25 Load_Store_pointer_unit_DIR_LIBRARY             =       -L$(Load_Store_pointer_unit_DIR)/lib    \
    26                                         $(Behavioural_DIR_LIBRARY)
     22Load_Store_pointer_unit_LIBRARY                 =       -lLoad_Store_pointer_unit       \
     23                                                        $(Behavioural_LIBRARY) 
    2724
    2825#-----[ Rules ]--------------------------------------------
    2926
    30 Load_Store_pointer_unit_library         :
    31                                 @\
    32                                 $(MAKE) Behavioural_library;            \
    33                                 $(MAKE) --directory=$(Load_Store_pointer_unit_DIR) --makefile=Makefile;
     27Load_Store_pointer_unit_library_only            :
     28                                                @\
     29                                                $(MAKE) --directory=$(Load_Store_pointer_unit_DIR) --makefile=Makefile;
    3430
    35 Load_Store_pointer_unit_library_clean   :
    36                                 @\
    37                                 $(MAKE) Behavioural_library_clean;      \
    38                                 $(MAKE) --directory=$(Load_Store_pointer_unit_DIR) --makefile=Makefile clean;
     31Load_Store_pointer_unit_library_clean_only      :
     32                                                @\
     33                                                $(MAKE) --directory=$(Load_Store_pointer_unit_DIR) --makefile=Makefile clean;
     34
     35Load_Store_pointer_unit_library                 : Load_Store_pointer_unit_library_only
     36                                                @\
     37                                                $(MAKE) Behavioural_library;
     38
     39Load_Store_pointer_unit_library_clean           : Load_Store_pointer_unit_library_clean_only
     40                                                @\
     41                                                $(MAKE) Behavioural_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Makefile.deps

    r88 r142  
    2626endif
    2727
    28 
    2928#-----[ Directory ]----------------------------------------
    3029
     
    3231
    3332#-----[ Library ]------------------------------------------
    34 
    35 
    3633
    3734Rename_unit_LIBRARY             =       -lRename_unit                                   \
     
    4239                                        $(Behavioural_LIBRARY) 
    4340
    44 Rename_unit_DIR_LIBRARY         =       -L$(Rename_unit_DIR)/lib                        \
    45                                         $(Load_Store_pointer_unit_DIR_LIBRARY)          \
    46                                         $(Register_translation_unit_DIR_LIBRARY)        \
    47                                         $(Rename_select_DIR_LIBRARY)                    \
    48                                         $(Rename_unit_Glue_DIR_LIBRARY)                 \
    49                                         $(Behavioural_DIR_LIBRARY)
    50 
    5141#-----[ Rules ]--------------------------------------------
    5242
    53 Rename_unit_library             :
     43Rename_unit_library_only        :
     44                                @\
     45                                $(MAKE) --directory=$(Rename_unit_DIR) --makefile=Makefile;
     46
     47Rename_unit_library_clean_only  :
     48                                @\
     49                                $(MAKE) --directory=$(Rename_unit_DIR) --makefile=Makefile clean;
     50
     51Rename_unit_library             : Rename_unit_library_only
    5452                                @\
    5553                                $(MAKE) Behavioural_library;                    \
     
    5755                                $(MAKE) Register_translation_unit_library;      \
    5856                                $(MAKE) Rename_select_library;                  \
    59                                 $(MAKE) Rename_unit_Glue_library;               \
    60                                 $(MAKE) --directory=$(Rename_unit_DIR) --makefile=Makefile;
     57                                $(MAKE) Rename_unit_Glue_library;
    6158
    62 Rename_unit_library_clean       :
     59Rename_unit_library_clean       : Rename_unit_library_clean_only
    6360                                @\
    6461                                $(MAKE) Behavioural_library_clean;              \
     
    6663                                $(MAKE) Register_translation_unit_library_clean;\
    6764                                $(MAKE) Rename_select_library_clean;            \
    68                                 $(MAKE) Rename_unit_Glue_library_clean;         \
    69                                 $(MAKE) --directory=$(Rename_unit_DIR) --makefile=Makefile clean;
     65                                $(MAKE) Rename_unit_Glue_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Dependency_checking_unit/Makefile.deps

    r81 r142  
    1111
    1212ifndef Behavioural
    13 include                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
     13include                                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
    1414endif
    1515
     
    2121
    2222Dependency_checking_unit_LIBRARY                =       -lDependency_checking_unit      \
    23                                         $(Behavioural_LIBRARY) 
    24 
    25 Dependency_checking_unit_DIR_LIBRARY            =       -L$(Dependency_checking_unit_DIR)/lib   \
    26                                         $(Behavioural_DIR_LIBRARY)
     23                                                        $(Behavioural_LIBRARY) 
    2724
    2825#-----[ Rules ]--------------------------------------------
    2926
    30 Dependency_checking_unit_library                :
    31                                 @\
    32                                 $(MAKE) Behavioural_library;            \
    33                                 $(MAKE) --directory=$(Dependency_checking_unit_DIR) --makefile=Makefile;
     27Dependency_checking_unit_library_only           :
     28                                                @\
     29                                                $(MAKE) --directory=$(Dependency_checking_unit_DIR) --makefile=Makefile;
    3430
    35 Dependency_checking_unit_library_clean  :
    36                                 @\
    37                                 $(MAKE) Behavioural_library_clean;      \
    38                                 $(MAKE) --directory=$(Dependency_checking_unit_DIR) --makefile=Makefile clean;
     31Dependency_checking_unit_library_clean_only     :
     32                                                @\
     33                                                $(MAKE) --directory=$(Dependency_checking_unit_DIR) --makefile=Makefile clean;
     34
     35Dependency_checking_unit_library                : Dependency_checking_unit_library_only
     36                                                @\
     37                                                $(MAKE) Behavioural_library;
     38
     39Dependency_checking_unit_library_clean          : Dependency_checking_unit_library_clean_only
     40                                                @\
     41                                                $(MAKE) Behavioural_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Free_List_unit/Makefile.deps

    r109 r142  
    88# DIR_MORPHEO must be defined
    99
    10 Free_List_unit                  = yes
     10Free_List_unit                          = yes
    1111
    1212ifndef Behavioural
    13 include                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
     13include                                 $(DIR_MORPHEO)/Behavioural/Makefile.deps
    1414endif
    1515
    1616ifndef Priority
    17 include                         $(DIR_MORPHEO)/Behavioural/Generic/Priority/Makefile.deps
     17include                                 $(DIR_MORPHEO)/Behavioural/Generic/Priority/Makefile.deps
    1818endif
    1919
    2020#-----[ Directory ]----------------------------------------
    2121
    22 Free_List_unit_DIR              =       $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Free_List_unit
     22Free_List_unit_DIR                      =       $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Free_List_unit
    2323
    2424#-----[ Library ]------------------------------------------
    2525
    26 Free_List_unit_LIBRARY          =       -lFree_List_unit                \
    27                                         $(Priority_LIBRARY)             \
    28                                         $(Behavioural_LIBRARY) 
    29 
    30 Free_List_unit_DIR_LIBRARY      =       -L$(Free_List_unit_DIR)/lib     \
    31                                         $(Priority_DIR_LIBRARY)         \
    32                                         $(Behavioural_DIR_LIBRARY)
     26Free_List_unit_LIBRARY                  =       -lFree_List_unit                \
     27                                                $(Priority_LIBRARY)             \
     28                                                $(Behavioural_LIBRARY) 
    3329
    3430#-----[ Rules ]--------------------------------------------
    3531
    36 Free_List_unit_library          :
    37                                 @\
    38                                 $(MAKE) Behavioural_library;            \
    39                                 $(MAKE) Priority_library;               \
    40                                 $(MAKE) --directory=$(Free_List_unit_DIR) --makefile=Makefile;
    41 
    42 Free_List_unit_library_clean    :
    43                                 @\
    44                                 $(MAKE) Behavioural_library_clean;      \
    45                                 $(MAKE) Priority_library_clean;         \
    46                                 $(MAKE) --directory=$(Free_List_unit_DIR) --makefile=Makefile clean;
     32Free_List_unit_library_only             :
     33                                        @\
     34                                        $(MAKE) --directory=$(Free_List_unit_DIR) --makefile=Makefile;
     35                                       
     36Free_List_unit_library_clean_only       :
     37                                        @\
     38                                        $(MAKE) --directory=$(Free_List_unit_DIR) --makefile=Makefile clean;
     39                                       
     40Free_List_unit_library                  : Free_List_unit_library_only
     41                                        @\
     42                                        $(MAKE) Behavioural_library;            \
     43                                        $(MAKE) Priority_library;
     44                                       
     45Free_List_unit_library_clean            : Free_List_unit_library_clean_only
     46                                        @\
     47                                        $(MAKE) Behavioural_library_clean;      \
     48                                        $(MAKE) Priority_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Makefile.deps

    r81 r142  
    2929endif
    3030
    31 
    32 
    3331#-----[ Directory ]----------------------------------------
    3432
     
    4543                                                        $(Register_translation_unit_Glue_LIBRARY)
    4644
    47 Register_translation_unit_DIR_LIBRARY           =       -L$(Register_translation_unit_DIR)/lib          \
    48                                                         $(Behavioural_DIR_LIBRARY)                      \
    49                                                         $(Register_Address_Translation_unit_DIR_LIBRARY)\
    50                                                         $(Free_List_unit_DIR_LIBRARY)                   \
    51                                                         $(Stat_List_unit_DIR_LIBRARY)                   \
    52                                                         $(Dependency_checking_unit_DIR_LIBRARY)         \
    53                                                         $(Register_translation_unit_Glue_DIR_LIBRARY)
    54 
    5545#-----[ Rules ]--------------------------------------------
    5646
    57 Register_translation_unit_library               :
     47Register_translation_unit_library_only          :
     48                                                @\
     49                                                $(MAKE) --directory=$(Register_translation_unit_DIR) --makefile=Makefile;
     50
     51Register_translation_unit_library_clean_only    :
     52                                                @\
     53                                                $(MAKE) --directory=$(Register_translation_unit_DIR) --makefile=Makefile clean;
     54
     55Register_translation_unit_library               : Register_translation_unit_library_only
    5856                                                @\
    5957                                                $(MAKE) Behavioural_library;                            \
     
    6260                                                $(MAKE) Stat_List_unit_library;                         \
    6361                                                $(MAKE) Dependency_checking_unit_library;               \
    64                                                 $(MAKE) Register_translation_unit_Glue_library;         \
    65                                                 $(MAKE) --directory=$(Register_translation_unit_DIR) --makefile=Makefile;
     62                                                $(MAKE) Register_translation_unit_Glue_library;
    6663
    67 Register_translation_unit_library_clean :
     64Register_translation_unit_library_clean         : Register_translation_unit_library_clean_only
    6865                                                @\
    6966                                                $(MAKE) Behavioural_library_clean;                      \
     
    7269                                                $(MAKE) Stat_List_unit_library_clean;                   \
    7370                                                $(MAKE) Dependency_checking_unit_library_clean;         \
    74                                                 $(MAKE) Register_translation_unit_Glue_library_clean;   \
    75                                                 $(MAKE) --directory=$(Register_translation_unit_DIR) --makefile=Makefile clean;
     71                                                $(MAKE) Register_translation_unit_Glue_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Register_Address_Translation_unit/Makefile.deps

    r81 r142  
    1111
    1212ifndef Behavioural
    13 include                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
     13include                                                 $(DIR_MORPHEO)/Behavioural/Makefile.deps
    1414endif
    1515
     
    2121
    2222Register_Address_Translation_unit_LIBRARY               =       -lRegister_Address_Translation_unit     \
    23                                         $(Behavioural_LIBRARY) 
    24 
    25 Register_Address_Translation_unit_DIR_LIBRARY           =       -L$(Register_Address_Translation_unit_DIR)/lib  \
    26                                         $(Behavioural_DIR_LIBRARY)
     23                                                                $(Behavioural_LIBRARY) 
    2724
    2825#-----[ Rules ]--------------------------------------------
    2926
    30 Register_Address_Translation_unit_library               :
    31                                 @\
    32                                 $(MAKE) Behavioural_library;            \
    33                                 $(MAKE) --directory=$(Register_Address_Translation_unit_DIR) --makefile=Makefile;
     27Register_Address_Translation_unit_library_only          :
     28                                                        @\
     29                                                        $(MAKE) --directory=$(Register_Address_Translation_unit_DIR) --makefile=Makefile;
    3430
    35 Register_Address_Translation_unit_library_clean :
    36                                 @\
    37                                 $(MAKE) Behavioural_library_clean;      \
    38                                 $(MAKE) --directory=$(Register_Address_Translation_unit_DIR) --makefile=Makefile clean;
     31Register_Address_Translation_unit_library_clean_only    :
     32                                                        @\
     33                                                        $(MAKE) --directory=$(Register_Address_Translation_unit_DIR) --makefile=Makefile clean;
     34
     35Register_Address_Translation_unit_library               : Register_Address_Translation_unit_library_only
     36                                                        @\
     37                                                        $(MAKE) Behavioural_library;
     38
     39Register_Address_Translation_unit_library_clean         : Register_Address_Translation_unit_library_clean_only
     40                                                        @\
     41                                                        $(MAKE) Behavioural_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Register_translation_unit_Glue/Makefile.deps

    r81 r142  
    88# DIR_MORPHEO must be defined
    99
    10 Register_translation_unit_Glue                  = yes
     10Register_translation_unit_Glue                          = yes
    1111
    1212ifndef Behavioural
    13 include                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
     13include                                                 $(DIR_MORPHEO)/Behavioural/Makefile.deps
    1414endif
    1515
     
    2020#-----[ Library ]------------------------------------------
    2121
    22 Register_translation_unit_Glue_LIBRARY          =       -lRegister_translation_unit_Glue        \
    23                                         $(Behavioural_LIBRARY) 
    24 
    25 Register_translation_unit_Glue_DIR_LIBRARY              =       -L$(Register_translation_unit_Glue_DIR)/lib     \
    26                                         $(Behavioural_DIR_LIBRARY)
     22Register_translation_unit_Glue_LIBRARY                  =       -lRegister_translation_unit_Glue        \
     23                                                                $(Behavioural_LIBRARY) 
    2724
    2825#-----[ Rules ]--------------------------------------------
    2926
    30 Register_translation_unit_Glue_library          :
    31                                 @\
    32                                 $(MAKE) Behavioural_library;            \
    33                                 $(MAKE) --directory=$(Register_translation_unit_Glue_DIR) --makefile=Makefile;
     27Register_translation_unit_Glue_library_only             :
     28                                                        @\
     29                                                        $(MAKE) --directory=$(Register_translation_unit_Glue_DIR) --makefile=Makefile;
    3430
    35 Register_translation_unit_Glue_library_clean    :
    36                                 @\
    37                                 $(MAKE) Behavioural_library_clean;      \
    38                                 $(MAKE) --directory=$(Register_translation_unit_Glue_DIR) --makefile=Makefile clean;
     31Register_translation_unit_Glue_library_clean_only       :
     32                                                        @\
     33                                                        $(MAKE) --directory=$(Register_translation_unit_Glue_DIR) --makefile=Makefile clean;
     34
     35Register_translation_unit_Glue_library                  : Register_translation_unit_Glue_library_only
     36                                                        @\
     37                                                        $(MAKE) Behavioural_library;
     38
     39Register_translation_unit_Glue_library_clean            : Register_translation_unit_Glue_library_clean_only
     40                                                        @\
     41                                                        $(MAKE) Behavioural_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Stat_List_unit/Makefile.deps

    r81 r142  
    88# DIR_MORPHEO must be defined
    99
    10 Stat_List_unit                  = yes
     10Stat_List_unit                          = yes
    1111
    1212ifndef Behavioural
    13 include                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
     13include                                 $(DIR_MORPHEO)/Behavioural/Makefile.deps
    1414endif
    1515
     
    2020#-----[ Library ]------------------------------------------
    2121
    22 Stat_List_unit_LIBRARY          =       -lStat_List_unit        \
    23                                         $(Behavioural_LIBRARY) 
    24 
    25 Stat_List_unit_DIR_LIBRARY              =       -L$(Stat_List_unit_DIR)/lib     \
    26                                         $(Behavioural_DIR_LIBRARY)
     22Stat_List_unit_LIBRARY                  =       -lStat_List_unit        \
     23                                                $(Behavioural_LIBRARY) 
    2724
    2825#-----[ Rules ]--------------------------------------------
    2926
    30 Stat_List_unit_library          :
    31                                 @\
    32                                 $(MAKE) Behavioural_library;            \
    33                                 $(MAKE) --directory=$(Stat_List_unit_DIR) --makefile=Makefile;
     27Stat_List_unit_library_only             :
     28                                        @\
     29                                        $(MAKE) --directory=$(Stat_List_unit_DIR) --makefile=Makefile;
    3430
    35 Stat_List_unit_library_clean    :
    36                                 @\
    37                                 $(MAKE) Behavioural_library_clean;      \
    38                                 $(MAKE) --directory=$(Stat_List_unit_DIR) --makefile=Makefile clean;
     31Stat_List_unit_library_clean_only       :
     32                                        @\
     33                                        $(MAKE) --directory=$(Stat_List_unit_DIR) --makefile=Makefile clean;
     34
     35Stat_List_unit_library                  : Stat_List_unit_library_only
     36                                        @\
     37                                        $(MAKE) Behavioural_library;
     38
     39Stat_List_unit_library_clean            : Stat_List_unit_library_clean_only
     40                                        @\
     41                                        $(MAKE) Behavioural_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Rename_select/Makefile.deps

    r88 r142  
    2727                                        $(Behavioural_LIBRARY) 
    2828
    29 Rename_select_DIR_LIBRARY       =       -L$(Rename_select_DIR)/lib      \
    30                                         $(Priority_DIR_LIBRARY)         \
    31                                         $(Behavioural_DIR_LIBRARY)
    32 
    3329#-----[ Rules ]--------------------------------------------
    3430
    35 Rename_select_library           :
     31Rename_select_library_only      :
     32                                @\
     33                                $(MAKE) --directory=$(Rename_select_DIR) --makefile=Makefile;
     34
     35Rename_select_library_clean_only:
     36                                @\
     37                                $(MAKE) --directory=$(Rename_select_DIR) --makefile=Makefile clean;
     38
     39Rename_select_library           : Rename_select_library_only
    3640                                @\
    3741                                $(MAKE) Behavioural_library;            \
    38                                 $(MAKE) Priority_library;               \
    39                                 $(MAKE) --directory=$(Rename_select_DIR) --makefile=Makefile;
     42                                $(MAKE) Priority_library;
    4043
    41 Rename_select_library_clean     :
     44Rename_select_library_clean     : Rename_select_library_clean_only
    4245                                @\
    4346                                $(MAKE) Behavioural_library_clean;      \
    44                                 $(MAKE) Priority_library_clean;         \
    45                                 $(MAKE) --directory=$(Rename_select_DIR) --makefile=Makefile clean;
     47                                $(MAKE) Priority_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Rename_unit_Glue/Makefile.deps

    r88 r142  
    1111
    1212ifndef Behavioural
    13 include                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
     13include                                 $(DIR_MORPHEO)/Behavioural/Makefile.deps
    1414endif
    1515
     
    2121
    2222Rename_unit_Glue_LIBRARY                =       -lRename_unit_Glue      \
    23                                         $(Behavioural_LIBRARY) 
    24 
    25 Rename_unit_Glue_DIR_LIBRARY            =       -L$(Rename_unit_Glue_DIR)/lib   \
    26                                         $(Behavioural_DIR_LIBRARY)
     23                                                $(Behavioural_LIBRARY) 
    2724
    2825#-----[ Rules ]--------------------------------------------
    2926
    30 Rename_unit_Glue_library                :
    31                                 @\
    32                                 $(MAKE) Behavioural_library;            \
    33                                 $(MAKE) --directory=$(Rename_unit_Glue_DIR) --makefile=Makefile;
     27Rename_unit_Glue_library_only           :
     28                                        @\
     29                                        $(MAKE) --directory=$(Rename_unit_Glue_DIR) --makefile=Makefile;
    3430
    35 Rename_unit_Glue_library_clean  :
    36                                 @\
    37                                 $(MAKE) Behavioural_library_clean;      \
    38                                 $(MAKE) --directory=$(Rename_unit_Glue_DIR) --makefile=Makefile clean;
     31Rename_unit_Glue_library_clean_only     :
     32                                        @\
     33                                        $(MAKE) --directory=$(Rename_unit_Glue_DIR) --makefile=Makefile clean;
     34
     35Rename_unit_Glue_library                : Rename_unit_Glue_library_only
     36                                        @\
     37                                        $(MAKE) Behavioural_library;
     38
     39Rename_unit_Glue_library_clean          : Rename_unit_Glue_library_clean_only
     40                                        @\
     41                                        $(MAKE) Behavioural_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Special_Register_unit/Makefile.deps

    r138 r142  
    2323                                                $(Behavioural_LIBRARY) 
    2424
    25 Special_Register_unit_DIR_LIBRARY       =       -L$(Special_Register_unit_DIR)/lib      \
    26                                                 $(Behavioural_DIR_LIBRARY)
    27 
    2825#-----[ Rules ]--------------------------------------------
    2926
    30 Special_Register_unit_library           :
    31                                 @\
    32                                 $(MAKE) Behavioural_library;            \
    33                                 $(MAKE) --directory=$(Special_Register_unit_DIR) --makefile=Makefile;
     27Special_Register_unit_library_only      :
     28                                        @\
     29                                        $(MAKE) --directory=$(Special_Register_unit_DIR) --makefile=Makefile;
    3430
    35 Special_Register_unit_library_clean     :
    36                                 @\
    37                                 $(MAKE) Behavioural_library_clean;      \
    38                                 $(MAKE) --directory=$(Special_Register_unit_DIR) --makefile=Makefile clean;
     31Special_Register_unit_library_clean_only:
     32                                        @\
     33                                        $(MAKE) --directory=$(Special_Register_unit_DIR) --makefile=Makefile clean;
     34
     35Special_Register_unit_library           : Special_Register_unit_library_only
     36                                        @\
     37                                        $(MAKE) Behavioural_library;
     38
     39Special_Register_unit_library_clean     : Special_Register_unit_library_clean_only
     40                                        @\
     41                                        $(MAKE) Behavioural_library_clean;
Note: See TracChangeset for help on using the changeset viewer.