Changeset 142 for trunk


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
Files:
1 added
102 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/Environment/Cache/Makefile

    r113 r142  
    11#-----[ Rules ]--------------------------------------------
    22
    3 all                             :
     3all                             : only
     4
     5clean                           : clean_only
     6
     7clean_all                       : clean
     8
     9only                            :
    410                                @\
    5                                 $(MAKE) --directory=$(DIR_QUEUE) all; \
    611                                $(MAKE)                          all_environment;
    712
    8 clean                           :
     13clean_only                      :
    914                                @\
    10                                 $(MAKE) --directory=$(DIR_QUEUE) clean; \
    1115                                $(MAKE)                          environment_clean;
    12 
    13 clean_all                       : clean
    1416
    1517help                            :
  • trunk/IPs/systemC/Environment/Data/Makefile

    r113 r142  
    11#-----[ Rules ]--------------------------------------------
    22
    3 all                             :
     3all                             : only
     4
     5clean                           : clean_only
     6
     7clean_all                       : clean
     8
     9only                            :
    410                                @$(MAKE) all_environment
    511
    6 clean                           :
     12clean_only                      :
    713                                @$(MAKE) environment_clean
    8 
    9 clean_all                       : clean
    1014
    1115help                            :
  • trunk/IPs/systemC/Environment/Endianness/Makefile

    r113 r142  
    11#-----[ Rules ]--------------------------------------------
    22
    3 all                             :
     3all                             : only
     4
     5clean                           : clean_only
     6
     7clean_all                       : clean
     8
     9only                            :
    410                                @\
    511                                $(MAKE) all_environment;
    612
    7 clean                           :
     13clean_only                      :
    814                                @\
    915                                $(MAKE) environment_clean;
    10 
    11 clean_all                       : clean
    1216
    1317help                            :
  • trunk/IPs/systemC/Environment/Makefile

    r138 r142  
    4646#-----[ Rules ]--------------------------------------------
    4747
    48 all                             :
     48all                             : all_parallel
     49
     50all_step                        :
    4951                                @\
    50                                 $(MAKE) --directory=$(DIR_CACHE)      all; \
    51                                 $(MAKE) --directory=$(DIR_DATA)       all; \
    52                                 $(MAKE) --directory=$(DIR_ENDIANNESS) all; \
    53                                 $(MAKE) --directory=$(DIR_QUEUE)      all; \
    54                                 $(MAKE) --directory=$(DIR_RAMLOCK)    all; \
    55                                 $(MAKE) --directory=$(DIR_SIM2OS)     all; \
    56                                 $(MAKE) --directory=$(DIR_TTY)        all; \
     52                                $(MAKE) lib_cache;      \
     53                                $(MAKE) lib_data;      \
     54                                $(MAKE) lib_endianness; \
     55                                $(MAKE) lib_queue;      \
     56                                $(MAKE) lib_ramlock;    \
     57                                $(MAKE) lib_sim2os;    \
     58                                $(MAKE) lib_tty;        \
    5759                                $(MAKE) $(LIBRARY_FILE);
    5860
     61all_parallel                    :       lib_cache      \
     62                                        lib_data       \
     63                                        lib_endianness \
     64                                        lib_queue      \
     65                                        lib_ramlock    \
     66                                        lib_sim2os     \
     67                                        lib_tty
     68                                @\
     69                                $(MAKE) $(LIBRARY_FILE);
     70
     71lib_cache                       :
     72                                @\
     73                                $(MAKE) --directory=$(DIR_CACHE)      only;
     74lib_data                        :
     75                                @\
     76                                $(MAKE) --directory=$(DIR_DATA)       only;
     77lib_endianness                  :
     78                                @\
     79                                $(MAKE) --directory=$(DIR_ENDIANNESS) only;
     80lib_queue                       :
     81                                @\
     82                                $(MAKE) --directory=$(DIR_QUEUE)      only;
     83lib_ramlock                     :
     84                                @\
     85                                $(MAKE) --directory=$(DIR_RAMLOCK)    only;
     86lib_sim2os                      :
     87                                @\
     88                                $(MAKE) --directory=$(DIR_SIM2OS)     only;
     89lib_tty                         :
     90                                @\
     91                                $(MAKE) --directory=$(DIR_TTY)        only;
    5992
    6093$(LIBRARY_FILE)                 : $(DIR_LIB) $(Environment_OBJECTS_DEPS)
  • trunk/IPs/systemC/Environment/Queue/Makefile

    r113 r142  
    11#-----[ Rules ]--------------------------------------------
    22
    3 all                             :
    4                                 @$(MAKE) all_environment
     3all                             : only
    54
    6 clean                           :
    7                                 @$(MAKE) environment_clean
     5clean                           : clean_only
    86
    97clean_all                       : clean
     8
     9only                            :
     10                                @\
     11                                $(MAKE)                          all_environment;
     12
     13clean_only                      :
     14                                @\
     15                                $(MAKE)                          environment_clean;
    1016
    1117help                            :
  • trunk/IPs/systemC/Environment/RamLock/Makefile

    r113 r142  
    11#-----[ Rules ]--------------------------------------------
    22
    3 all                             :
     3all                             : only
     4
     5clean                           : clean_only
     6
     7clean_all                       : clean
     8
     9only                            :
    410                                @$(MAKE) all_environment
    511
    6 clean                           :
     12clean_only                      :
    713                                @$(MAKE) environment_clean
    8 
    9 clean_all                       : clean
    1014
    1115help                            :
  • trunk/IPs/systemC/Environment/Sim2OS/Makefile

    r113 r142  
    11#-----[ Rules ]--------------------------------------------
    22
    3 all                             :
     3all                             : only
    44                                @\
    55                                $(MAKE) --directory=$(DIR_ENDIANNESS) all; \
    66                                $(MAKE) all_environment
    77
    8 clean                           :
     8clean                           : clean_only
    99                                @\
    10                                 $(MAKE) --directory=$(DIR_ENDIANNESS) clean; \
    11                                 $(MAKE) environment_clean
     10                                $(MAKE) --directory=$(DIR_ENDIANNESS) clean;
    1211
    1312clean_all                       : clean
     13
     14only                            :
     15                                @\
     16                                $(MAKE) all_environment
     17
     18clean_only                              :
     19                                @\
     20                                $(MAKE) environment_clean
    1421
    1522help                            :
  • trunk/IPs/systemC/Environment/TTY/Makefile

    r113 r142  
    11#-----[ Rules ]--------------------------------------------
    22
    3 all                             :
     3all                             : only
     4
     5clean                           : clean_only
     6
     7clean_all                       : clean
     8
     9only                            :
    410                                @$(MAKE) all_environment
    511
    6 clean                           :
     12clean_only                      :
    713                                @$(MAKE) environment_clean; $(RM) tty_*
    8 
    9 clean_all                       : clean
    1014
    1115help                            :
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Configuration/Makefile.deps

    r88 r142  
    2828                                        $(Behavioural_LIBRARY)
    2929
    30 Configuration_DIR_LIBRARY       =       -L$(Configuration_DIR)/lib      \
    31                                         $(Custom_DIR_LIBRARY)           \
    32                                         $(Behavioural_DIR_LIBRARY)
    33 
    3430#-----[ Rules ]--------------------------------------------
    3531
    36 Configuration_library           :
     32Configuration_library_only      :
     33                                @\
     34                                $(MAKE) --directory=$(Configuration_DIR) --makefile=Makefile;
     35
     36Configuration_library_clean_only:
     37                                @\
     38                                $(MAKE) --directory=$(Configuration_DIR) --makefile=Makefile clean;
     39
     40Configuration_library           : Configuration_library_only
    3741                                @\
    3842                                $(MAKE) Behavioural_library;            \
    39                                 $(MAKE) Custom_library;                 \
    40                                 $(MAKE) --directory=$(Configuration_DIR) --makefile=Makefile;
     43                                $(MAKE) Custom_library;
    4144
    42 Configuration_library_clean     :
     45Configuration_library_clean     : Configuration_library_clean_only
    4346                                @\
    4447                                $(MAKE) Behavioural_library_clean;      \
    45                                 $(MAKE) Custom_library_clean;           \
    46                                 $(MAKE) --directory=$(Configuration_DIR) --makefile=Makefile clean;
     48                                $(MAKE) Custom_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Core_Glue/Makefile.deps

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

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

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

    r88 r142  
    88# DIR_MORPHEO must be defined
    99
    10 Core                    = yes
     10Core                            = yes
    1111
    1212ifndef Behavioural
     
    1919include                         $(DIR_MORPHEO)/Behavioural/Core/Dcache_Access/Makefile.deps
    2020endif
    21 ifndef Multi_Front_end
     21ifndef Front_end
    2222include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Makefile.deps
    2323endif
    24 ifndef Multi_OOO_Engine
     24ifndef OOO_Engine
    2525include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Makefile.deps
    2626endif
    27 ifndef Multi_Execute_loop
     27ifndef Execute_loop
    2828include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Makefile.deps
    2929endif
     
    4747                                        $(Behavioural_LIBRARY) 
    4848
    49 Core_DIR_LIBRARY                =       -L$(Core_DIR)/lib               \
    50                                         $(Icache_Access_DIR_LIBRARY)    \
    51                                         $(Dcache_Access_DIR_LIBRARY)    \
    52                                         $(Front_end_DIR_LIBRARY)        \
    53                                         $(OOO_Engine_DIR_LIBRARY)       \
    54                                         $(Execute_loop_DIR_LIBRARY)     \
    55                                         $(Core_Glue_DIR_LIBRARY)        \
    56                                         $(Behavioural_DIR_LIBRARY)
    57 
    5849#-----[ Rules ]--------------------------------------------
    5950
    60 Core_library            :
     51Core_library_only               :
     52                                @\
     53                                $(MAKE) --directory=$(Core_DIR) --makefile=Makefile;
     54
     55Core_library_clean_only         :
     56                                @\
     57                                $(MAKE) --directory=$(Core_DIR) --makefile=Makefile clean;
     58
     59Core_library                    : Core_library_only
    6160                                @\
    6261                                $(MAKE) Behavioural_library;            \
     
    6665                                $(MAKE) OOO_Engine_library;             \
    6766                                $(MAKE) Execute_loop_library;           \
    68                                 $(MAKE) Core_Glue_library;              \
    69                                 $(MAKE) --directory=$(Core_DIR) --makefile=Makefile;
     67                                $(MAKE) Core_Glue_library;
    7068
    71 Core_library_clean      :
     69Core_library_clean              : Core_library_clean_only
    7270                                @\
    7371                                $(MAKE) Behavioural_library_clean;      \
     
    7775                                $(MAKE) OOO_Engine_library_clean;       \
    7876                                $(MAKE) Execute_loop_library_clean;     \
    79                                 $(MAKE) Core_Glue_library_clean;        \
    80                                 $(MAKE) --directory=$(Core_DIR) --makefile=Makefile clean;
     77                                $(MAKE) Core_Glue_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Execute_loop_Glue/Makefile.deps

    r88 r142  
    1111
    1212ifndef Behavioural
    13 include                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
     13include                                 $(DIR_MORPHEO)/Behavioural/Makefile.deps
    1414endif
    1515
     
    2121
    2222Execute_loop_Glue_LIBRARY               =       -lExecute_loop_Glue     \
    23                                         $(Behavioural_LIBRARY) 
    24 
    25 Execute_loop_Glue_DIR_LIBRARY           =       -L$(Execute_loop_Glue_DIR)/lib  \
    26                                         $(Behavioural_DIR_LIBRARY)
     23                                                $(Behavioural_LIBRARY) 
    2724
    2825#-----[ Rules ]--------------------------------------------
    2926
    30 Execute_loop_Glue_library               :
    31                                 @\
    32                                 $(MAKE) Behavioural_library;            \
    33                                 $(MAKE) --directory=$(Execute_loop_Glue_DIR) --makefile=Makefile;
     27Execute_loop_Glue_library_only          :
     28                                        @\
     29                                        $(MAKE) --directory=$(Execute_loop_Glue_DIR) --makefile=Makefile;
    3430
    35 Execute_loop_Glue_library_clean :
    36                                 @\
    37                                 $(MAKE) Behavioural_library_clean;      \
    38                                 $(MAKE) --directory=$(Execute_loop_Glue_DIR) --makefile=Makefile clean;
     31Execute_loop_Glue_library_clean_only    :
     32                                        @\
     33                                        $(MAKE) --directory=$(Execute_loop_Glue_DIR) --makefile=Makefile clean;
     34
     35Execute_loop_Glue_library               : Execute_loop_Glue_library_only
     36                                        @\
     37                                        $(MAKE) Behavioural_library;
     38
     39Execute_loop_Glue_library_clean         : Execute_loop_Glue_library_clean_only
     40                                        @\
     41                                        $(MAKE) Behavioural_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Makefile.deps

    r88 r142  
    5555                                        $(Execution_unit_to_Write_unit_LIBRARY)
    5656
    57 
    58 Execute_loop_DIR_LIBRARY        =       -L$(Execute_loop_DIR)/lib                       \
    59                                         $(Behavioural_DIR_LIBRARY)                      \
    60                                         $(Execute_loop_Glue_DIR_LIBRARY)                \
    61                                         $(Read_unit_DIR_LIBRARY)                        \
    62                                         $(Functionnal_unit_DIR_LIBRARY)                 \
    63                                         $(Load_store_unit_DIR_LIBRARY)                  \
    64                                         $(Write_unit_DIR_LIBRARY)                       \
    65                                         $(Register_unit_DIR_LIBRARY)                    \
    66                                         $(Read_unit_to_Execution_unit_DIR_LIBRARY)      \
    67                                         $(Execution_unit_to_Write_unit_DIR_LIBRARY)     
    68 
    69 
    7057#-----[ Rules ]--------------------------------------------
    7158
    72 Execute_loop_library            :
     59Execute_loop_library_only       :
     60                                @\
     61                                $(MAKE) --directory=$(Execute_loop_DIR) --makefile=Makefile;
     62
     63Execute_loop_library_clean_only :
     64                                @\
     65                                $(MAKE) --directory=$(Execute_loop_DIR) --makefile=Makefile clean;
     66
     67Execute_loop_library            : Execute_loop_library_only
    7368                                @\
    7469                                $(MAKE) Behavioural_library;                    \
     
    8075                                $(MAKE) Register_unit_library;                  \
    8176                                $(MAKE) Read_unit_to_Execution_unit_library;    \
    82                                 $(MAKE) Execution_unit_to_Write_unit_library;   \
    83                                 $(MAKE) --directory=$(Execute_loop_DIR) --makefile=Makefile;
     77                                $(MAKE) Execution_unit_to_Write_unit_library;
    8478
    85 Execute_loop_library_clean      :
     79Execute_loop_library_clean      : Execute_loop_library_clean_only
    8680                                @\
    8781                                $(MAKE) Behavioural_library_clean;                      \
     
    9387                                $(MAKE) Register_unit_library_clean;                    \
    9488                                $(MAKE) Read_unit_to_Execution_unit_library_clean;      \
    95                                 $(MAKE) Execution_unit_to_Write_unit_library_clean;     \
    96                                 $(MAKE) --directory=$(Execute_loop_DIR) --makefile=Makefile clean;
     89                                $(MAKE) Execution_unit_to_Write_unit_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Functionnal_unit/Makefile.deps

    r116 r142  
    1111
    1212ifndef Behavioural
    13 include                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
     13include                                 $(DIR_MORPHEO)/Behavioural/Makefile.deps
    1414endif
    1515ifndef Custom
    16 include                         $(DIR_MORPHEO)/Behavioural/Custom/Makefile.deps
     16include                                 $(DIR_MORPHEO)/Behavioural/Custom/Makefile.deps
    1717endif
    1818ifndef Shifter
    19 include                         $(DIR_MORPHEO)/Behavioural/Generic/Shifter/Makefile.deps
     19include                                 $(DIR_MORPHEO)/Behavioural/Generic/Shifter/Makefile.deps
    2020endif
    2121
    2222#-----[ Library ]------------------------------------------
    23 Functionnal_unit_LIBRARY        =       -lFunctionnal_unit      \
    24                                         $(Custom_LIBRARY)       \
    25                                         -lFunctionnal_unit      \
    26                                         $(Behavioural_LIBRARY)  \
    27                                         -lFunctionnal_unit      \
    28                                         $(Shifter_LIBRARY)     
    29 
    30 Functionnal_unit_DIR_LIBRARY    =       -L$(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Functionnal_unit/lib  \
    31                                         $(Custom_DIR_LIBRARY)      \
    32                                         $(Behavioural_DIR_LIBRARY) \
    33                                         $(Shifter_DIR_LIBRARY)
    34 
    35 Functionnal_unit_DEPENDENCIES   =       Custom_library          \
    36                                         Behavioural_library     \
    37                                         Shifter_library
    38 
    39 Functionnal_unit_CLEAN          =       Custom_library_clean      \
    40                                         Behavioural_library_clean \
    41                                         Shifter_library_clean
     23Functionnal_unit_LIBRARY                =       -lFunctionnal_unit      \
     24                                                $(Custom_LIBRARY)       \
     25                                                $(Behavioural_LIBRARY)  \
     26                                                $(Shifter_LIBRARY)     
    4227
    4328#-----[ Rules ]--------------------------------------------
    4429
    45 #.NOTPARALLEL                   : Functionnal_unit_library Functionnal_unit_library_clean
     30Functionnal_unit_library_only           :
     31                                        @\
     32                                        $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Functionnal_unit --makefile=Makefile;
    4633
    47 Functionnal_unit_library        : $(Functionnal_unit_DEPENDENCIES)
    48                                 @\
    49                                 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Functionnal_unit --makefile=Makefile;
     34Functionnal_unit_library_clean_only     :
     35                                        @\
     36                                        $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Functionnal_unit --makefile=Makefile clean;
    5037
    51 Functionnal_unit_library_clean  : $(Functionnal_unit_CLEAN)
    52                                 @\
    53                                 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Functionnal_unit --makefile=Makefile clean;
     38Functionnal_unit_library                : Functionnal_unit_library_only
     39                                        @\
     40                                        $(MAKE) Custom_library;         \
     41                                        $(MAKE) Behavioural_library;    \
     42                                        $(MAKE) Shifter_library;
     43
     44Functionnal_unit_library_clean          : Functionnal_unit_library_clean_only
     45                                        @\
     46                                        $(MAKE) Custom_library_clean;           \
     47                                        $(MAKE) Behavioural_library_clean;      \
     48                                        $(MAKE) Shifter_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Functionnal_unit/Operation/Makefile.deps

    r81 r142  
    88# DIR_MORPHEO must be defined
    99
    10 Operation               = yes
     10Operation                       = yes
     11
     12ifndef Behavioural
     13include                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
     14endif
    1115
    1216#-----[ Directory ]----------------------------------------
    1317
    14 Operation_DIR           =       $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Functionnal_unit/Operation
     18Operation_DIR                   =       $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Functionnal_unit/Operation
    1519
    1620#-----[ Library ]------------------------------------------
    1721
    18 Operation_LIBRARY       =       -lOperation
    19 
    20 Operation_DIR_LIBRARY   =       -L$(Operation_DIR)/lib
     22Operation_LIBRARY               =       -lOperation             \
     23                                        $(Behavioural_LIBRARY)
    2124
    2225#-----[ Rules ]--------------------------------------------
    2326
    24 Operation_library       :
    25                         @\
    26                         $(MAKE) --directory=$(Operation_DIR) --makefile=Makefile;
     27Operation_library_only          :
     28                                @\
     29                                $(MAKE) --directory=$(Operation_DIR) --makefile=Makefile;
    2730
    28 Operation_library_clean :
    29                         @\
    30                         $(MAKE) --directory=$(Operation_DIR) --makefile=Makefile clean;
     31Operation_library_clean_only    :
     32                                @\
     33                                $(MAKE) --directory=$(Operation_DIR) --makefile=Makefile clean;
     34
     35Operation_library               : Operation_library_only
     36                                @\
     37                                $(MAKE) Behavioural_library;
     38
     39Operation_library_clean         : Operation_library_clean_only
     40                                @\
     41                                $(MAKE) Behavioural_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Load_store_unit/Makefile.deps

    r81 r142  
    88# DIR_MORPHEO must be defined
    99
    10 Load_store_unit                 = yes
     10Load_store_unit                         = yes
    1111
    1212ifndef Behavioural
    13 include                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
     13include                                 $(DIR_MORPHEO)/Behavioural/Makefile.deps
    1414endif
    1515ifndef Queue_Control
    16 include                         $(DIR_MORPHEO)/Behavioural/Generic/Queue_Control/Makefile.deps
     16include                                 $(DIR_MORPHEO)/Behavioural/Generic/Queue_Control/Makefile.deps
    1717endif
    1818
    1919#-----[ Library ]------------------------------------------
    20 Load_store_unit_LIBRARY         =       -lLoad_store_unit       \
    21                                         $(Queue_Control_LIBRARY)\
    22                                         $(Behavioural_LIBRARY) 
    23 
    24 Load_store_unit_DIR_LIBRARY     =       -L$(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Load_store_unit/lib   \
    25                                         $(Queue_Control_DIR_LIBRARY)\
    26                                         $(Behavioural_DIR_LIBRARY)
     20Load_store_unit_LIBRARY                 =       -lLoad_store_unit       \
     21                                                $(Queue_Control_LIBRARY)\
     22                                                $(Behavioural_LIBRARY) 
    2723
    2824#-----[ Rules ]--------------------------------------------
    2925
    30 Load_store_unit_library         :
    31                                 @\
    32                                 $(MAKE) Queue_Control_library; \
    33                                 $(MAKE) Behavioural_library; \
    34                                 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Load_store_unit --makefile=Makefile;
     26Load_store_unit_library_only            :
     27                                        @\
     28                                        $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Load_store_unit --makefile=Makefile;
    3529       
    36 Load_store_unit_library_clean   :
    37                                 @\
    38                                 $(MAKE) Queue_Control_library_clean; \
    39                                 $(MAKE) Behavioural_library_clean; \
    40                                 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Load_store_unit --makefile=Makefile clean;
     30Load_store_unit_library_clean_only      :
     31                                        @\
     32                                        $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Load_store_unit --makefile=Makefile clean;
     33
     34Load_store_unit_library                 : Load_store_unit_library_only
     35                                        @\
     36                                        $(MAKE) Queue_Control_library; \
     37                                        $(MAKE) Behavioural_library;
     38
     39Load_store_unit_library_clean           : Load_store_unit_library_clean_only
     40                                        @\
     41                                        $(MAKE) Queue_Control_library_clean; \
     42                                        $(MAKE) Behavioural_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Makefile.deps

    r81 r142  
    2525
    2626#-----[ Library ]------------------------------------------
     27
    2728Read_unit_LIBRARY               =       -lRead_unit                     \
    2829                                        $(Behavioural_LIBRARY)          \
     
    3031                                        $(Reservation_station_LIBRARY)
    3132
    32 Read_unit_DIR_LIBRARY           =       -L$(Read_unit_DIR)/lib          \
    33                                         $(Behavioural_DIR_LIBRARY)      \
    34                                         $(Read_queue_DIR_LIBRARY)       \
    35                                         $(Reservation_station_DIR_LIBRARY)
    36 
    37 Read_unit_DEPENDENCIES          =       Behavioural_library             \
    38                                         Read_queue_library              \
    39                                         Reservation_station_library
    40 
    41 Read_unit_CLEAN                 =       Behavioural_library_clean       \
    42                                         Read_queue_library_clean        \
    43                                         Reservation_station_library_clean
    44 
    4533#-----[ Rules ]--------------------------------------------
    4634
    47 .NOTPARALLEL                    : Read_unit_library
    48 .NOTPARALLEL                    : Read_unit_library_clean
    49 
    50 Read_unit_library               : $(Read_unit_DEPENDENCIES)
     35Read_unit_library_only          :
    5136                                @\
    5237                                $(MAKE) --directory=$(Read_unit_DIR) --makefile=Makefile;
    5338
    54 Read_unit_library_clean         : $(Read_unit_CLEAN)
     39Read_unit_library_clean_only    :
    5540                                @\
    5641                                $(MAKE) --directory=$(Read_unit_DIR) --makefile=Makefile clean;
     42
     43Read_unit_library               : Read_unit_library_only
     44                                @\
     45                                $(MAKE) Behavioural_library;            \
     46                                $(MAKE) Read_queue_library;             \
     47                                $(MAKE) Reservation_station_library;
     48
     49Read_unit_library_clean         : Read_unit_library_clean_only
     50                                @\
     51                                $(MAKE) Behavioural_library_clean;              \
     52                                $(MAKE) Read_queue_library_clean;               \
     53                                $(MAKE) Reservation_station_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Read_queue/Makefile.deps

    r81 r142  
    1818
    1919#-----[ Library ]------------------------------------------
     20
    2021Read_queue_LIBRARY              =       -lRead_queue            \
    2122                                        $(Queue_LIBRARY)        \
    2223                                        $(Behavioural_LIBRARY) 
    2324
    24 Read_queue_DIR_LIBRARY          =       -L$(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Read_queue/lib      \
    25                                         $(Queue_DIR_LIBRARY) \
    26                                         $(Behavioural_DIR_LIBRARY)
    27 
    28 Read_queue_DEPENDENCIES         =       Queue_library   \
    29                                         Behavioural_library
    30 
    31 Read_queue_CLEAN                =       Queue_library_clean     \
    32                                         Behavioural_library_clean
    33 
    3425#-----[ Rules ]--------------------------------------------
    3526
    36 #.NOTPARALLEL                   : Read_queue_library Read_queue_library_clean
    37 
    38 Read_queue_library              : $(Read_queue_DEPENDENCIES)
     27Read_queue_library_only         :
    3928                                @\
    4029                                $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Read_queue --makefile=Makefile;
    4130
    42 Read_queue_library_clean        : $(Read_queue_CLEAN)
     31Read_queue_library_clean_only   :
    4332                                @\
    4433                                $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Read_queue --makefile=Makefile clean;
     34
     35Read_queue_library              : Read_queue_library_only
     36                                @\
     37                                $(MAKE) Queue_library;          \
     38                                $(MAKE) Behavioural_library;
     39
     40Read_queue_library_clean        : Read_queue_library_clean_only
     41                                @\
     42                                $(MAKE) Queue_library_clean;            \
     43                                $(MAKE) Behavioural_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station/Makefile.deps

    r81 r142  
    22# $Id$
    33#
    4 # [ Description ]
     4# [ Description ]
    55#
    66# Makefile
     
    88# DIR_MORPHEO must be defined
    99
    10 Reservation_station             = yes
     10Reservation_station                     = yes
    1111
    1212ifndef Behavioural
    13 include                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
     13include                                 $(DIR_MORPHEO)/Behavioural/Makefile.deps
    1414endif
    1515ifndef Queue_Control
    16 include                         $(DIR_MORPHEO)/Behavioural/Generic/Queue_Control/Makefile.deps
     16include                                 $(DIR_MORPHEO)/Behavioural/Generic/Queue_Control/Makefile.deps
    1717endif
    1818
    19 #-----[ Library ]------------------------------------------
    20 Reservation_station_LIBRARY     =       -lReservation_station   \
    21                                         $(Queue_Control_LIBRARY)\
    22                                         $(Behavioural_LIBRARY) 
     19#-----[ Library ]------------------------------------------
    2320
    24 Reservation_station_DIR_LIBRARY =       -L$(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station/lib     \
    25                                         $(Queue_Control_DIR_LIBRARY)\
    26                                         $(Behavioural_DIR_LIBRARY)
     21Reservation_station_LIBRARY             =       -lReservation_station   \
     22                                                $(Queue_Control_LIBRARY)\
     23                                                $(Behavioural_LIBRARY) 
    2724
    28 #-----[ Rules ]--------------------------------------------
     25#-----[ Rules ]--------------------------------------------
    2926
    30 Reservation_station_library             :
    31                                 @\
    32                                 $(MAKE) Queue_Control_library; \
    33                                 $(MAKE) Behavioural_library; \
    34                                 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station --makefile=Makefile;
     27Reservation_station_library_only        :
     28                                        @\
     29                                        $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station --makefile=Makefile;
    3530       
    36 Reservation_station_library_clean       :
    37                                 @\
    38                                 $(MAKE) Queue_Control_library_clean; \
    39                                 $(MAKE) Behavioural_library_clean; \
    40                                 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station --makefile=Makefile clean;
     31Reservation_station_library_clean_only  :
     32                                        @\
     33                                        $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station --makefile=Makefile clean;
     34
     35Reservation_station_library             : Reservation_station_library_only
     36                                        @\
     37                                        $(MAKE) Queue_Control_library; \
     38                                        $(MAKE) Behavioural_library;
     39       
     40Reservation_station_library_clean       : Reservation_station_library_clean_only
     41                                        @\
     42                                        $(MAKE) Queue_Control_library_clean; \
     43                                        $(MAKE) Behavioural_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Write_unit/Write_unit/Execute_queue/Makefile.deps

    r98 r142  
    2222
    2323#-----[ Library ]------------------------------------------
     24
    2425Execute_queue_LIBRARY           =       -lExecute_queue \
    2526                                        $(Queue_LIBRARY)        \
    2627                                        $(Behavioural_LIBRARY) 
    2728
    28 Execute_queue_DIR_LIBRARY       =       -L$(Execute_queue_DIR)/lib      \
    29                                         $(Queue_DIR_LIBRARY) \
    30                                         $(Behavioural_DIR_LIBRARY)
    31 
    3229#-----[ Rules ]--------------------------------------------
    3330
    34 Execute_queue_library           :
     31Execute_queue_library_only      :
     32                                @\
     33                                $(MAKE) --directory=$(Execute_queue_DIR) --makefile=Makefile;
     34
     35Execute_queue_library_clean_only:
     36                                @\
     37                                $(MAKE) --directory=$(Execute_queue_DIR) --makefile=Makefile clean;
     38
     39Execute_queue_library           : Execute_queue_library_only
    3540                                @\
    3641                                $(MAKE) Behavioural_library; \
    37                                 $(MAKE) Queue_library; \
    38                                 $(MAKE) --directory=$(Execute_queue_DIR) --makefile=Makefile;
     42                                $(MAKE) Queue_library;
    3943
    40 Execute_queue_library_clean     :
     44Execute_queue_library_clean     : Execute_queue_library_clean_only
    4145                                @\
    4246                                $(MAKE) Behavioural_library_clean; \
    43                                 $(MAKE) Queue_library_clean; \
    44                                 $(MAKE) --directory=$(Execute_queue_DIR) --makefile=Makefile clean;
     47                                $(MAKE) Queue_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Write_unit/Write_unit/Makefile.deps

    r81 r142  
    2525
    2626#-----[ Library ]------------------------------------------
     27
    2728Write_unit_LIBRARY              =       -lWrite_unit            \
    2829                                        $(Behavioural_LIBRARY)  \
     
    3031                                        $(Execute_queue_LIBRARY)
    3132
    32 Write_unit_DIR_LIBRARY          =       -L$(Write_unit_DIR)/lib         \
    33                                         $(Behavioural_DIR_LIBRARY)      \
    34                                         $(Write_queue_DIR_LIBRARY)      \
    35                                         $(Execute_queue_DIR_LIBRARY)
    36 
    3733#-----[ Rules ]--------------------------------------------
    3834
    39 Write_unit_library              :
     35Write_unit_library_only         :
     36                                @\
     37                                $(MAKE) --directory=$(Write_unit_DIR) --makefile=Makefile;
     38
     39Write_unit_library_clean_only   :
     40                                @\
     41                                $(MAKE) --directory=$(Write_unit_DIR) --makefile=Makefile clean;
     42
     43Write_unit_library              : Write_unit_library_only
    4044                                @\
    4145                                $(MAKE) Behavioural_library;            \
    4246                                $(MAKE) Write_queue_library;            \
    43                                 $(MAKE) Execute_queue_library;          \
    44                                 $(MAKE) --directory=$(Write_unit_DIR) --makefile=Makefile;
     47                                $(MAKE) Execute_queue_library;
    4548
    46 Write_unit_library_clean        :
     49Write_unit_library_clean        : Write_unit_library_clean_only
    4750                                @\
    4851                                $(MAKE) Behavioural_library_clean;      \
    4952                                $(MAKE) Write_queue_library_clean;      \
    50                                 $(MAKE) Execute_queue_library_clean;    \
    51                                 $(MAKE) --directory=$(Write_unit_DIR) --makefile=Makefile clean;
     53                                $(MAKE) Execute_queue_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Write_unit/Write_unit/Write_queue/Makefile.deps

    r103 r142  
    2727                                        $(Behavioural_LIBRARY) 
    2828
    29 Write_queue_DIR_LIBRARY         =       -L$(Write_queue_DIR)/lib        \
    30                                         $(Queue_DIR_LIBRARY)            \
    31                                         $(Behavioural_DIR_LIBRARY)
    32 
    3329#-----[ Rules ]--------------------------------------------
    3430
    35 Write_queue_library             :
     31Write_queue_library_only        :
     32                                @\
     33                                $(MAKE) --directory=$(Write_queue_DIR) --makefile=Makefile;
     34
     35Write_queue_library_clean_only  :
     36                                @\
     37                                $(MAKE) --directory=$(Write_queue_DIR) --makefile=Makefile clean;
     38
     39Write_queue_library             : Write_queue_library_only
    3640                                @\
    3741                                $(MAKE) Queue_library;  \
    38                                 $(MAKE) Behavioural_library;    \
    39                                 $(MAKE) --directory=$(Write_queue_DIR) --makefile=Makefile;
     42                                $(MAKE) Behavioural_library;
    4043
    41 Write_queue_library_clean       :
     44Write_queue_library_clean       : Write_queue_library_clean_only
    4245                                @\
    4346                                $(MAKE) Queue_library_clean;    \
    44                                 $(MAKE) Behavioural_library_clean;      \
    45                                 $(MAKE) --directory=$(Write_queue_DIR) --makefile=Makefile clean;
     47                                $(MAKE) Behavioural_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Network/Execution_unit_to_Write_unit/Makefile.deps

    r81 r142  
    1111
    1212ifndef Behavioural
    13 include                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
     13include                                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
    1414endif
    1515
    1616#-----[ Directory ]----------------------------------------
    1717
    18 Execution_unit_to_Write_unit_DIR                        =       $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Network/Execution_unit_to_Write_unit
     18Execution_unit_to_Write_unit_DIR                =       $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Network/Execution_unit_to_Write_unit
    1919
    2020#-----[ Library ]------------------------------------------
     21
    2122Execution_unit_to_Write_unit_LIBRARY            =       -lExecution_unit_to_Write_unit  \
    22                                         $(Behavioural_LIBRARY) 
    23 
    24 Execution_unit_to_Write_unit_DIR_LIBRARY                =       -L$(Execution_unit_to_Write_unit_DIR)/lib       \
    25                                         $(Behavioural_DIR_LIBRARY)
     23                                                        $(Behavioural_LIBRARY) 
    2624
    2725#-----[ Rules ]--------------------------------------------
    2826
    29 Execution_unit_to_Write_unit_library            :
    30                                 @\
    31                                 $(MAKE) --directory=$(Behavioural_DIR) --makefile=Makefile;
    32                                 $(MAKE) --directory=$(Execution_unit_to_Write_unit_DIR) --makefile=Makefile;
     27Execution_unit_to_Write_unit_library_only       :
     28                                                @\
     29                                                $(MAKE) --directory=$(Execution_unit_to_Write_unit_DIR) --makefile=Makefile;
    3330
    34 Execution_unit_to_Write_unit_library_clean      :
    35                                 @\
    36                                 $(MAKE) --directory=$(Behavioural_DIR) --makefile=Makefile clean;
    37                                 $(MAKE) --directory=$(Execution_unit_to_Write_unit_DIR) --makefile=Makefile clean;
     31Execution_unit_to_Write_unit_library_clean_only :
     32                                                @\
     33                                                $(MAKE) --directory=$(Execution_unit_to_Write_unit_DIR) --makefile=Makefile clean;
     34
     35Execution_unit_to_Write_unit_library            : Execution_unit_to_Write_unit_library_only
     36                                                @\
     37                                                $(MAKE) Behavioural_library;
     38
     39Execution_unit_to_Write_unit_library_clean      : Execution_unit_to_Write_unit_library_clean_only
     40                                                @\
     41                                                $(MAKE) Behavioural_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Network/Read_unit_to_Execution_unit/Makefile.deps

    r81 r142  
    1919
    2020#-----[ Library ]------------------------------------------
     21
    2122Read_unit_to_Execution_unit_LIBRARY             =       -lRead_unit_to_Execution_unit   \
    2223                                                        $(Behavioural_LIBRARY) 
    2324
    24 Read_unit_to_Execution_unit_DIR_LIBRARY         =       -L$(Read_unit_to_Execution_unit_DIR)/lib        \
    25                                                         $(Behavioural_DIR_LIBRARY)
    26 
    2725#-----[ Rules ]--------------------------------------------
    2826
    29 Read_unit_to_Execution_unit_library             :
     27Read_unit_to_Execution_unit_library_only        :
     28                                                @\
     29                                                $(MAKE) --directory=$(Read_unit_to_Execution_unit_DIR)  --makefile=Makefile;
     30
     31Read_unit_to_Execution_unit_library_clean_only  :
     32                                                @\
     33                                                $(MAKE) --directory=$(Read_unit_to_Execution_unit_DIR)  --makefile=Makefile clean;
     34
     35Read_unit_to_Execution_unit_library             : Read_unit_to_Execution_unit_library_only
    3036                                                @\
    3137                                                $(MAKE) Behavioural_library;
    32                                                 $(MAKE) --directory=$(Read_unit_to_Execution_unit_DIR)  --makefile=Makefile;
    3338
    34 Read_unit_to_Execution_unit_library_clean       :
     39Read_unit_to_Execution_unit_library_clean       : Read_unit_to_Execution_unit_library_clean_only
    3540                                                @\
    3641                                                $(MAKE) Behavioural_library_clean;
    37                                                 $(MAKE) --directory=$(Read_unit_to_Execution_unit_DIR)  --makefile=Makefile clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit/Makefile.deps

    r81 r142  
    22# $Id$
    33#
    4 # [ Description ]
     4# [ Description ]
    55#
    66# Makefile
     
    99
    1010Register_unit                   = yes
    11 
    1211
    1312ifndef RegisterFile
     
    2120endif
    2221
    23 #-----[ Library ]------------------------------------------
     22#-----[ Library ]------------------------------------------
     23
    2424Register_unit_LIBRARY           =       -lRegister_unit                         \
    2525                                        $(RegisterFile_LIBRARY)                 \
     
    2727                                        $(Behavioural_LIBRARY) 
    2828
    29 Register_unit_DIR_LIBRARY       =       -L$(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit/lib     \
    30                                         $(RegisterFile_DIR_LIBRARY)             \
    31                                         $(Register_unit_Glue_DIR_LIBRARY)       \
    32                                         $(Behavioural_DIR_LIBRARY)
     29#-----[ Rules ]--------------------------------------------
    3330
    34 Register_unit_DEPENDENCIES      =       RegisterFile_library                    \
    35                                         Register_unit_Glue_library              \
    36                                         Behavioural_library
    37 
    38 Register_unit_CLEAN             =       RegisterFile_library_clean              \
    39                                         Register_unit_Glue_library_clean        \
    40                                         Behavioural_library_clean
    41 
    42 #-----[ Rules ]--------------------------------------------
    43 
    44 .NOTPARALLEL                    : Register_unit_library Register_unit_library_clean     
    45 
    46 Register_unit_library           : $(Register_unit_DEPENDENCIES)
     31Register_unit_library_only      :
    4732                                @\
    4833                                $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit --makefile=Makefile;
    4934
    50 Register_unit_library_clean     : $(Register_unit_CLEAN)
     35Register_unit_library_clean_only:
    5136                                @\
    5237                                $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit --makefile=Makefile clean;
     38
     39Register_unit_library           : Register_unit_library_only
     40                                @\
     41                                $(MAKE) RegisterFile_library;           \
     42                                $(MAKE) Register_unit_Glue_library;     \
     43                                $(MAKE) Behavioural_library;
     44
     45Register_unit_library_clean     : Register_unit_library_clean_only
     46                                @\
     47                                $(MAKE) RegisterFile_library_clean;             \
     48                                $(MAKE) Register_unit_Glue_library_clean;       \
     49                                $(MAKE) Behavioural_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit/Register_unit_Glue/Makefile.deps

    r81 r142  
    1111
    1212ifndef Behavioural
    13 include                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
     13include                                 $(DIR_MORPHEO)/Behavioural/Makefile.deps
    1414endif
    1515
    1616#-----[ Library ]------------------------------------------
     17
    1718Register_unit_Glue_LIBRARY              =       -lRegister_unit_Glue    \
    18                                         $(Behavioural_LIBRARY) 
    19 
    20 Register_unit_Glue_DIR_LIBRARY          =       -L$(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit/Register_unit_Glue/lib  \
    21                                         $(Behavioural_DIR_LIBRARY)
     19                                                $(Behavioural_LIBRARY) 
    2220
    2321#-----[ Rules ]--------------------------------------------
    2422
    25 Register_unit_Glue_library              :
    26                                 @\
    27                                 $(MAKE) Behavioural_library; \
    28                                 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit/Register_unit_Glue --makefile=Makefile;
     23Register_unit_Glue_library_only         :
     24                                        @\
     25                                        $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit/Register_unit_Glue --makefile=Makefile;
    2926       
    30 Register_unit_Glue_library_clean        :
    31                                 @\
    32                                 $(MAKE) Behavioural_library_clean; \
    33                                 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit/Register_unit_Glue --makefile=Makefile clean;
     27Register_unit_Glue_library_clean_only   :
     28                                        @\
     29                                        $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit/Register_unit_Glue --makefile=Makefile clean;
     30
     31Register_unit_Glue_library              : Register_unit_Glue_library_only
     32                                        @\
     33                                        $(MAKE) Behavioural_library;
     34       
     35Register_unit_Glue_library_clean        : Register_unit_Glue_library_clean_only
     36                                        @\
     37                                        $(MAKE) Behavioural_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Context_State/Makefile.deps

    r111 r142  
    2323                                        $(Behavioural_LIBRARY) 
    2424
    25 Context_State_DIR_LIBRARY       =       -L$(Context_State_DIR)/lib      \
    26                                         $(Behavioural_DIR_LIBRARY)
    27 
    2825#-----[ Rules ]--------------------------------------------
    2926
    30 Context_State_library           :
     27Context_State_library_only      :
    3128                                @\
    32                                 $(MAKE) Behavioural_library;            \
    3329                                $(MAKE) --directory=$(Context_State_DIR) --makefile=Makefile;
    3430
    35 Context_State_library_clean     :
     31Context_State_library_clean_only:
    3632                                @\
    37                                 $(MAKE) Behavioural_library_clean;      \
    3833                                $(MAKE) --directory=$(Context_State_DIR) --makefile=Makefile clean;
     34
     35Context_State_library           : Context_State_library_only
     36                                @\
     37                                $(MAKE) Behavioural_library;
     38
     39Context_State_library_clean     : Context_State_library_clean_only
     40                                @\
     41                                $(MAKE) Behavioural_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod/Instruction/Makefile.deps

    r81 r142  
    1010Instruction                     = yes
    1111
     12ifndef Behavioural
     13include                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
     14endif
     15
    1216#-----[ Directory ]----------------------------------------
    1317
     
    1620#-----[ Library ]------------------------------------------
    1721
    18 Instruction_LIBRARY             =       -lInstruction
    19 
    20 Instruction_DIR_LIBRARY         =       -L$(Instruction_DIR)/lib
     22Instruction_LIBRARY             =       -lInstruction \
     23                                        $(Behavioural_LIBRARY)
    2124
    2225#-----[ Rules ]--------------------------------------------
    2326
    24 Instruction_library             :
     27Instruction_library_only        :
    2528                                @\
    2629                                $(MAKE) --directory=$(Instruction_DIR) --makefile=Makefile;
    2730
    28 Instruction_library_clean       :
     31Instruction_library_clean_only  :
    2932                                @\
    3033                                $(MAKE) --directory=$(Instruction_DIR) --makefile=Makefile clean;
    3134
     35Instruction_library             : Instruction_library_only
     36                                @\
     37                                $(MAKE) Behavioural_library;
     38
     39Instruction_library_clean       : Instruction_library_clean_only
     40                                @\
     41                                $(MAKE) Behavioural_library_clean;
     42
     43
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod/Makefile.deps

    r88 r142  
    88# DIR_MORPHEO must be defined
    99
    10 Decod                   = yes
     10Decod                           = yes
    1111
    1212ifndef Behavioural
     
    3131                                        $(Behavioural_LIBRARY) 
    3232
    33 Decod_DIR_LIBRARY               =       -L$(Decod_DIR)/lib              \
    34                                         $(Custom_DIR_LIBRARY)           \
    35                                         $(Priority_DIR_LIBRARY)         \
    36                                         $(Behavioural_DIR_LIBRARY)
    37 
    3833#-----[ Rules ]--------------------------------------------
    3934
    40 Decod_library                   :
     35Decod_library_only              :
     36                                @\
     37                                $(MAKE) --directory=$(Decod_DIR) --makefile=Makefile;
     38
     39Decod_library_clean_only        :
     40                                @\
     41                                $(MAKE) --directory=$(Decod_DIR) --makefile=Makefile clean;
     42
     43Decod_library                   : Decod_library_only
    4144                                @\
    4245                                $(MAKE) Behavioural_library;            \
    4346                                $(MAKE) Priority_library;               \
    44                                 $(MAKE) Custom_library;                 \
    45                                 $(MAKE) --directory=$(Decod_DIR) --makefile=Makefile;
     47                                $(MAKE) Custom_library;
    4648
    47 Decod_library_clean     :
     49Decod_library_clean             : Decod_library_clean_only
    4850                                @\
    4951                                $(MAKE) Behavioural_library_clean;      \
    5052                                $(MAKE) Priority_library_clean;         \
    51                                 $(MAKE) Custom_library_clean;           \
    52                                 $(MAKE) --directory=$(Decod_DIR) --makefile=Makefile clean;
    53 
     53                                $(MAKE) Custom_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod_queue/Makefile.deps

    r135 r142  
    2727                                        $(Behavioural_LIBRARY) 
    2828
    29 Decod_queue_DIR_LIBRARY         =       -L$(Decod_queue_DIR)/lib        \
    30                                         $(Queue_DIR_LIBRARY)            \
    31                                         $(Behavioural_DIR_LIBRARY)
    32 
    3329#-----[ Rules ]--------------------------------------------
    3430
    35 Decod_queue_library             :
     31Decod_queue_library_only        :
     32                                @\
     33                                $(MAKE) --directory=$(Decod_queue_DIR) --makefile=Makefile;
     34
     35Decod_queue_library_clean_only  :
     36                                @\
     37                                $(MAKE) --directory=$(Decod_queue_DIR) --makefile=Makefile clean;
     38
     39Decod_queue_library             : Decod_queue_library_only
    3640                                @\
    3741                                $(MAKE) Behavioural_library;            \
    38                                 $(MAKE) Queue_library;                  \
    39                                 $(MAKE) --directory=$(Decod_queue_DIR) --makefile=Makefile;
     42                                $(MAKE) Queue_library;
    4043
    41 Decod_queue_library_clean       :
     44Decod_queue_library_clean       : Decod_queue_library_clean_only
    4245                                @\
    4346                                $(MAKE) Behavioural_library_clean;      \
    44                                 $(MAKE) Queue_library_clean;            \
    45                                 $(MAKE) --directory=$(Decod_queue_DIR) --makefile=Makefile clean;
     47                                $(MAKE) Queue_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Makefile.deps

    r83 r142  
    3131                                        $(Behavioural_LIBRARY)
    3232
    33 Decod_unit_DIR_LIBRARY          =       -L$(Decod_unit_DIR)/lib         \
    34                                         $(Decod_DIR_LIBRARY)            \
    35                                         $(Decod_queue_DIR_LIBRARY)      \
    36                                         $(Behavioural_DIR_LIBRARY)
    37 
    3833#-----[ Rules ]--------------------------------------------
    3934
    40 Decod_unit_library              :
     35Decod_unit_library_only         :
     36                                @\
     37                                $(MAKE) --directory=$(Decod_unit_DIR) --makefile=Makefile;
     38
     39Decod_unit_library_clean_only   :
     40                                @\
     41                                $(MAKE) --directory=$(Decod_unit_DIR) --makefile=Makefile clean;
     42
     43Decod_unit_library              : Decod_unit_library_only
    4144                                @\
    4245                                $(MAKE) Behavioural_library;            \
    4346                                $(MAKE) Decod_library;                  \
    44                                 $(MAKE) Decod_queue_library;            \
    45                                 $(MAKE) --directory=$(Decod_unit_DIR) --makefile=Makefile;
     47                                $(MAKE) Decod_queue_library;
    4648
    47 Decod_unit_library_clean        :
     49Decod_unit_library_clean        : Decod_unit_library_clean_only
    4850                                @\
    4951                                $(MAKE) Behavioural_library_clean;      \
    5052                                $(MAKE) Decod_library_clean;            \
    51                                 $(MAKE) Decod_queue_library_clean;      \
    52                                 $(MAKE) --directory=$(Decod_unit_DIR) --makefile=Makefile clean;
     53                                $(MAKE) Decod_queue_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Front_end_Glue/Makefile.deps

    r88 r142  
    88# DIR_MORPHEO must be defined
    99
    10 Front_end_Glue                  = yes
     10Front_end_Glue                          = yes
    1111
    1212ifndef Behavioural
    13 include                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
     13include                                 $(DIR_MORPHEO)/Behavioural/Makefile.deps
    1414endif
    1515
     
    2020#-----[ Library ]------------------------------------------
    2121
    22 Front_end_Glue_LIBRARY          =       -lFront_end_Glue        \
    23                                         $(Behavioural_LIBRARY) 
    24 
    25 Front_end_Glue_DIR_LIBRARY              =       -L$(Front_end_Glue_DIR)/lib     \
    26                                         $(Behavioural_DIR_LIBRARY)
     22Front_end_Glue_LIBRARY                  =       -lFront_end_Glue        \
     23                                                $(Behavioural_LIBRARY) 
    2724
    2825#-----[ Rules ]--------------------------------------------
    2926
    30 Front_end_Glue_library          :
    31                                 @\
    32                                 $(MAKE) Behavioural_library;            \
    33                                 $(MAKE) --directory=$(Front_end_Glue_DIR) --makefile=Makefile;
     27Front_end_Glue_library_only             :
     28                                        @\
     29                                        $(MAKE) --directory=$(Front_end_Glue_DIR) --makefile=Makefile;
    3430
    35 Front_end_Glue_library_clean    :
    36                                 @\
    37                                 $(MAKE) Behavioural_library_clean;      \
    38                                 $(MAKE) --directory=$(Front_end_Glue_DIR) --makefile=Makefile clean;
     31Front_end_Glue_library_clean_only       :
     32                                        @\
     33                                        $(MAKE) --directory=$(Front_end_Glue_DIR) --makefile=Makefile clean;
     34
     35Front_end_Glue_library                  : Front_end_Glue_library_only
     36                                        @\
     37                                        $(MAKE) Behavioural_library;
     38
     39Front_end_Glue_library_clean            : Front_end_Glue_library_clean_only
     40                                        @\
     41                                        $(MAKE) Behavioural_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/Address_management/Makefile.deps

    r81 r142  
    1111
    1212ifndef Behavioural
    13 include                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
     13include                                 $(DIR_MORPHEO)/Behavioural/Makefile.deps
    1414endif
    1515
     
    2121
    2222Address_management_LIBRARY              =       -lAddress_management    \
    23                                         $(Behavioural_LIBRARY) 
    24 
    25 Address_management_DIR_LIBRARY          =       -L$(Address_management_DIR)/lib \
    26                                         $(Behavioural_DIR_LIBRARY)
     23                                                $(Behavioural_LIBRARY) 
    2724
    2825#-----[ Rules ]--------------------------------------------
    2926
    30 Address_management_library              :
    31                                 @\
    32                                 $(MAKE) Behavioural_library;            \
    33                                 $(MAKE) --directory=$(Address_management_DIR) --makefile=Makefile;
     27Address_management_library_only         :
     28                                        @\
     29                                        $(MAKE) --directory=$(Address_management_DIR) --makefile=Makefile;
    3430
    35 Address_management_library_clean        :
    36                                 @\
    37                                 $(MAKE) Behavioural_library_clean;      \
    38                                 $(MAKE) --directory=$(Address_management_DIR) --makefile=Makefile clean;
     31Address_management_library_clean_only   :
     32                                        @\
     33                                        $(MAKE) --directory=$(Address_management_DIR) --makefile=Makefile clean;
     34
     35Address_management_library              : Address_management_library_only
     36                                        @\
     37                                        $(MAKE) Behavioural_library;
     38
     39Address_management_library_clean        : Address_management_library_clean_only
     40                                        @\
     41                                        $(MAKE) Behavioural_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/Ifetch_queue/Makefile.deps

    r81 r142  
    1616#-----[ Directory ]----------------------------------------
    1717
    18 Ifetch_queue_DIR                        =       $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/Ifetch_queue
     18Ifetch_queue_DIR                =       $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/Ifetch_queue
    1919
    2020#-----[ Library ]------------------------------------------
     
    2323                                        $(Behavioural_LIBRARY) 
    2424
    25 Ifetch_queue_DIR_LIBRARY                =       -L$(Ifetch_queue_DIR)/lib       \
    26                                         $(Behavioural_DIR_LIBRARY)
    27 
    2825#-----[ Rules ]--------------------------------------------
    2926
    30 Ifetch_queue_library            :
     27Ifetch_queue_library_only       :
    3128                                @\
    32                                 $(MAKE) Behavioural_library;            \
    3329                                $(MAKE) --directory=$(Ifetch_queue_DIR) --makefile=Makefile;
    3430
    35 Ifetch_queue_library_clean      :
     31Ifetch_queue_library_clean_only :
    3632                                @\
    37                                 $(MAKE) Behavioural_library_clean;      \
    3833                                $(MAKE) --directory=$(Ifetch_queue_DIR) --makefile=Makefile clean;
     34
     35Ifetch_queue_library            : Ifetch_queue_library_only
     36                                @\
     37                                $(MAKE) Behavioural_library;
     38
     39Ifetch_queue_library_clean      : Ifetch_queue_library_clean_only
     40                                @\
     41                                $(MAKE) Behavioural_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/Ifetch_unit_Glue/Makefile.deps

    r81 r142  
    1111
    1212ifndef Behavioural
    13 include                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
     13include                                 $(DIR_MORPHEO)/Behavioural/Makefile.deps
    1414endif
    1515
     
    2121
    2222Ifetch_unit_Glue_LIBRARY                =       -lIfetch_unit_Glue      \
    23                                         $(Behavioural_LIBRARY) 
     23                                                $(Behavioural_LIBRARY) 
    2424
    25 Ifetch_unit_Glue_DIR_LIBRARY            =       -L$(Ifetch_unit_Glue_DIR)/lib   \
    26                                         $(Behavioural_DIR_LIBRARY)
    2725
    2826#-----[ Rules ]--------------------------------------------
    2927
    30 Ifetch_unit_Glue_library                :
    31                                 @\
    32                                 $(MAKE) Behavioural_library;            \
    33                                 $(MAKE) --directory=$(Ifetch_unit_Glue_DIR) --makefile=Makefile;
     28Ifetch_unit_Glue_library_only           :
     29                                        @\
     30                                        $(MAKE) --directory=$(Ifetch_unit_Glue_DIR) --makefile=Makefile;
    3431
    35 Ifetch_unit_Glue_library_clean  :
    36                                 @\
    37                                 $(MAKE) Behavioural_library_clean;      \
    38                                 $(MAKE) --directory=$(Ifetch_unit_Glue_DIR) --makefile=Makefile clean;
     32Ifetch_unit_Glue_library_clean_only     :
     33                                        @\
     34                                        $(MAKE) --directory=$(Ifetch_unit_Glue_DIR) --makefile=Makefile clean;
     35
     36Ifetch_unit_Glue_library                : Ifetch_unit_Glue_library_only
     37                                        @\
     38                                        $(MAKE) Behavioural_library;
     39
     40Ifetch_unit_Glue_library_clean          : Ifetch_unit_Glue_library_clean_only
     41                                        @\
     42                                        $(MAKE) Behavioural_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/Makefile.deps

    r81 r142  
    3535                                        $(Behavioural_LIBRARY) 
    3636
    37 Ifetch_unit_DIR_LIBRARY         =       -L$(Ifetch_unit_DIR)/lib                \
    38                                         $(Address_management_DIR_LIBRARY)       \
    39                                         $(Ifetch_queue_DIR_LIBRARY)             \
    40                                         $(Ifetch_unit_Glue_DIR_LIBRARY)         \
    41                                         $(Behavioural_DIR_LIBRARY)
    42 
    4337#-----[ Rules ]--------------------------------------------
    4438
    45 Ifetch_unit_library             :
     39Ifetch_unit_library_only        :
    4640                                @\
    47                                 $(MAKE) Behavioural_library;                                            \
    48                                 $(MAKE) --directory=$(Address_management_DIR)   --makefile=Makefile;    \
    49                                 $(MAKE) --directory=$(Ifetch_queue_DIR)         --makefile=Makefile;    \
    50                                 $(MAKE) --directory=$(Ifetch_unit_Glue_DIR)     --makefile=Makefile;    \
    5141                                $(MAKE) --directory=$(Ifetch_unit_DIR)          --makefile=Makefile;
    5242
    53 Ifetch_unit_library_clean       :
     43Ifetch_unit_library_clean_only  :
    5444                                @\
    55                                 $(MAKE) Behavioural_library_clean;                                              \
    56                                 $(MAKE) --directory=$(Address_management_DIR)   --makefile=Makefile clean;      \
    57                                 $(MAKE) --directory=$(Ifetch_queue_DIR)         --makefile=Makefile clean;      \
    58                                 $(MAKE) --directory=$(Ifetch_unit_Glue_DIR)     --makefile=Makefile clean;      \
    5945                                $(MAKE) --directory=$(Ifetch_unit_DIR)          --makefile=Makefile clean;
     46
     47Ifetch_unit_library             : Ifetch_unit_library_only
     48                                @\
     49                                $(MAKE) Behavioural_library;            \
     50                                $(MAKE) Address_management_library;     \
     51                                $(MAKE) Ifetch_queue_library;           \
     52                                $(MAKE) Ifetch_unit_Glue_library;
     53
     54Ifetch_unit_library_clean       : Ifetch_unit_library_clean_only
     55                                @\
     56                                $(MAKE) Behavioural_library_clean;              \
     57                                $(MAKE) Address_management_library_clean;       \
     58                                $(MAKE) Ifetch_queue_library_clean;             \
     59                                $(MAKE) Ifetch_unit_Glue_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Makefile.deps

    r88 r142  
    4343                                        $(Behavioural_LIBRARY) 
    4444
    45 Front_end_DIR_LIBRARY           =       -L$(Front_end_DIR)/lib          \
    46                                         $(Ifetch_unit_DIR_LIBRARY)      \
    47                                         $(Prediction_unit_DIR_LIBRARY)  \
    48                                         $(Decod_unit_DIR_LIBRARY)       \
    49                                         $(Context_State_DIR_LIBRARY)    \
    50                                         $(Front_end_Glue_DIR_LIBRARY)   \
    51                                         $(Behavioural_DIR_LIBRARY)
    52 
    5345#-----[ Rules ]--------------------------------------------
    5446
    55 Front_end_library               :
     47Front_end_library_only          :
     48                                @\
     49                                $(MAKE) --directory=$(Front_end_DIR) --makefile=Makefile;
     50
     51Front_end_library_clean_only    :
     52                                @\
     53                                $(MAKE) --directory=$(Front_end_DIR) --makefile=Makefile clean;
     54
     55Front_end_library               : Front_end_library_only
    5656                                @\
    5757                                $(MAKE) Behavioural_library;            \
     
    6060                                $(MAKE) Decod_unit_library;             \
    6161                                $(MAKE) Context_State_library;          \
    62                                 $(MAKE) Front_end_Glue_library;         \
    63                                 $(MAKE) --directory=$(Front_end_DIR) --makefile=Makefile;
     62                                $(MAKE) Front_end_Glue_library;
    6463
    65 Front_end_library_clean :
     64Front_end_library_clean         : Front_end_library_clean_only
    6665                                @\
    6766                                $(MAKE) Behavioural_library_clean;      \
     
    7069                                $(MAKE) Decod_unit_library_clean;       \
    7170                                $(MAKE) Context_State_library_clean;    \
    72                                 $(MAKE) Front_end_Glue_library_clean;   \
    73                                 $(MAKE) --directory=$(Front_end_DIR) --makefile=Makefile clean;
     71                                $(MAKE) Front_end_Glue_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Branch_Target_Buffer/Branch_Target_Buffer_Glue/Makefile.deps

    r81 r142  
    1111
    1212ifndef Behavioural
    13 include                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
     13include                                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
    1414endif
    1515
     
    2121
    2222Branch_Target_Buffer_Glue_LIBRARY               =       -lBranch_Target_Buffer_Glue     \
    23                                         $(Behavioural_LIBRARY) 
    24 
    25 Branch_Target_Buffer_Glue_DIR_LIBRARY           =       -L$(Branch_Target_Buffer_Glue_DIR)/lib  \
    26                                         $(Behavioural_DIR_LIBRARY)
     23                                                        $(Behavioural_LIBRARY) 
    2724
    2825#-----[ Rules ]--------------------------------------------
    2926
    30 Branch_Target_Buffer_Glue_library               :
    31                                 @\
    32                                 $(MAKE) Behavioural_library;            \
    33                                 $(MAKE) --directory=$(Branch_Target_Buffer_Glue_DIR) --makefile=Makefile;
     27Branch_Target_Buffer_Glue_library_only          :
     28                                                @\
     29                                                $(MAKE) --directory=$(Branch_Target_Buffer_Glue_DIR) --makefile=Makefile;
    3430
    35 Branch_Target_Buffer_Glue_library_clean :
    36                                 @\
    37                                 $(MAKE) Behavioural_library_clean;      \
    38                                 $(MAKE) --directory=$(Branch_Target_Buffer_Glue_DIR) --makefile=Makefile clean;
     31Branch_Target_Buffer_Glue_library_clean_only    :
     32                                                @\
     33                                                $(MAKE) --directory=$(Branch_Target_Buffer_Glue_DIR) --makefile=Makefile clean;
     34
     35Branch_Target_Buffer_Glue_library               : Branch_Target_Buffer_Glue_library_only
     36                                                @\
     37                                                $(MAKE) Behavioural_library;
     38
     39Branch_Target_Buffer_Glue_library_clean         : Branch_Target_Buffer_Glue_library_clean_only
     40                                                @\
     41                                                $(MAKE) Behavioural_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Branch_Target_Buffer/Branch_Target_Buffer_Register/Makefile.deps

    r88 r142  
    1111
    1212ifndef Behavioural
    13 include                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
     13include                                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
    1414endif
    1515
     
    2323                                                        $(Behavioural_LIBRARY) 
    2424
    25 Branch_Target_Buffer_Register_DIR_LIBRARY       =       -L$(Branch_Target_Buffer_Register_DIR)/lib      \
    26                                                         $(Behavioural_DIR_LIBRARY)
    27 
    2825#-----[ Rules ]--------------------------------------------
    2926
    30 Branch_Target_Buffer_Register_library           :
    31                                 @\
    32                                 $(MAKE) Behavioural_library;            \
    33                                 $(MAKE) --directory=$(Branch_Target_Buffer_Register_DIR) --makefile=Makefile;
     27Branch_Target_Buffer_Register_library_only      :
     28                                                @\
     29                                                $(MAKE) --directory=$(Branch_Target_Buffer_Register_DIR) --makefile=Makefile;
    3430
    35 Branch_Target_Buffer_Register_library_clean     :
    36                                 @\
    37                                 $(MAKE) Behavioural_library_clean;      \
    38                                 $(MAKE) --directory=$(Branch_Target_Buffer_Register_DIR) --makefile=Makefile clean;
     31Branch_Target_Buffer_Register_library_clean_only:
     32                                                @\
     33                                                $(MAKE) --directory=$(Branch_Target_Buffer_Register_DIR) --makefile=Makefile clean;
     34
     35Branch_Target_Buffer_Register_library           : Branch_Target_Buffer_Register_library_only
     36                                                @\
     37                                                $(MAKE) Behavioural_library;
     38
     39Branch_Target_Buffer_Register_library_clean     : Branch_Target_Buffer_Register_library_clean_only
     40                                                @\
     41                                                $(MAKE) Behavioural_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Branch_Target_Buffer/Makefile.deps

    r81 r142  
    3939                                                $(Behavioural_LIBRARY) 
    4040
    41 Branch_Target_Buffer_DIR_LIBRARY        =       -L$(Branch_Target_Buffer_DIR)/lib               \
    42                                                 $(Branch_Target_Buffer_Glue_DIR_LIBRARY)        \
    43                                                 $(Branch_Target_Buffer_Register_DIR_LIBRARY)    \
    44                                                 $(Sort_DIR_LIBRARY)                             \
    45                                                 $(Victim_DIR_LIBRARY)                           \
    46                                                 $(Behavioural_DIR_LIBRARY)
    47 
    4841#-----[ Rules ]--------------------------------------------
    4942
    50 Branch_Target_Buffer_library            :
     43Branch_Target_Buffer_library_only       :
     44                                        @\
     45                                        $(MAKE) --directory=$(Branch_Target_Buffer_DIR) --makefile=Makefile;
     46
     47Branch_Target_Buffer_library_clean_only :
     48                                        @\
     49                                        $(MAKE) --directory=$(Branch_Target_Buffer_DIR) --makefile=Makefile clean;
     50
     51Branch_Target_Buffer_library            : Branch_Target_Buffer_library_only
    5152                                        @\
    5253                                        $(MAKE) Behavioural_library;                            \
     
    5455                                        $(MAKE) Branch_Target_Buffer_Register_library;          \
    5556                                        $(MAKE) Sort_library;                                   \
    56                                         $(MAKE) Victim_library;                                 \
    57                                         $(MAKE) --directory=$(Branch_Target_Buffer_DIR) --makefile=Makefile;
     57                                        $(MAKE) Victim_library;
    5858
    59 Branch_Target_Buffer_library_clean      :
     59Branch_Target_Buffer_library_clean      : Branch_Target_Buffer_library_clean_only
    6060                                        @\
    6161                                        $(MAKE) Behavioural_library_clean;                      \
     
    6363                                        $(MAKE) Branch_Target_Buffer_Register_library_clean;    \
    6464                                        $(MAKE) Sort_library_clean;                             \
    65                                         $(MAKE) Victim_library_clean;                           \
    66                                         $(MAKE) --directory=$(Branch_Target_Buffer_DIR) --makefile=Makefile clean;
     65                                        $(MAKE) Victim_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Branch_Target_Buffer/src/Parameters.cpp

    r88 r142  
    5959           1             , // nb_output
    6060           true          , // ascending
    61            _size_victim  , // size_data
     61           size_address  , // size_data
    6262           true          , // have_port_index_out
    6363           false           // have_port_data_out
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Direction_Glue/Makefile.deps

    r81 r142  
    88# DIR_MORPHEO must be defined
    99
    10 Direction_Glue                  = yes
     10Direction_Glue                          = yes
    1111
    1212ifndef Behavioural
    13 include                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
     13include                                 $(DIR_MORPHEO)/Behavioural/Makefile.deps
    1414endif
    1515
     
    2020#-----[ Library ]------------------------------------------
    2121
    22 Direction_Glue_LIBRARY          =       -lDirection_Glue        \
    23                                         $(Behavioural_LIBRARY) 
    24 
    25 Direction_Glue_DIR_LIBRARY              =       -L$(Direction_Glue_DIR)/lib     \
    26                                         $(Behavioural_DIR_LIBRARY)
     22Direction_Glue_LIBRARY                  =       -lDirection_Glue        \
     23                                                $(Behavioural_LIBRARY) 
    2724
    2825#-----[ Rules ]--------------------------------------------
    2926
    30 Direction_Glue_library          :
    31                                 @\
    32                                 $(MAKE) Behavioural_library;            \
    33                                 $(MAKE) --directory=$(Direction_Glue_DIR) --makefile=Makefile;
     27Direction_Glue_library_only             :
     28                                        @\
     29                                        $(MAKE) --directory=$(Direction_Glue_DIR) --makefile=Makefile;
    3430
    35 Direction_Glue_library_clean    :
    36                                 @\
    37                                 $(MAKE) Behavioural_library_clean;      \
    38                                 $(MAKE) --directory=$(Direction_Glue_DIR) --makefile=Makefile clean;
     31Direction_Glue_library_clean_only       :
     32                                        @\
     33                                        $(MAKE) --directory=$(Direction_Glue_DIR) --makefile=Makefile clean;
     34
     35Direction_Glue_library                  : Direction_Glue_library_only
     36                                        @\
     37                                        $(MAKE) Behavioural_library;
     38
     39Direction_Glue_library_clean            : Direction_Glue_library_clean_only
     40                                        @\
     41                                        $(MAKE) Behavioural_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Makefile.deps

    r110 r142  
    3131                                        $(Meta_Predictor_LIBRARY)
    3232
    33 Direction_DIR_LIBRARY           =       -L$(Direction_DIR)/lib          \
    34                                         $(Behavioural_DIR_LIBRARY)      \
    35                                         $(Direction_Glue_DIR_LIBRARY)   \
    36                                         $(Meta_Predictor_DIR_LIBRARY)
    37 
    3833#-----[ Rules ]--------------------------------------------
    3934
    40 Direction_library               :
     35Direction_library_only          :
     36                                $(MAKE) --directory=$(Direction_DIR) --makefile=Makefile;
     37
     38Direction_library_clean_only    :
     39                                $(MAKE) --directory=$(Direction_DIR) --makefile=Makefile clean;
     40
     41Direction_library               : Direction_library_only
    4142                                @\
    4243                                $(MAKE) Behavioural_library;            \
    4344                                $(MAKE) Direction_Glue_library;         \
    44                                 $(MAKE) --directory=$(Direction_DIR) --makefile=Makefile;
    4545                                $(MAKE) Meta_Predictor_library;         \
    4646
    47 Direction_library_clean :
     47Direction_library_clean         : Direction_library_clean_only
    4848                                @\
    4949                                $(MAKE) Behavioural_library_clean;      \
    5050                                $(MAKE) Direction_Glue_library_clean;   \
    51                                 $(MAKE) --directory=$(Direction_DIR) --makefile=Makefile clean;
    5251                                $(MAKE) Meta_Predictor_library_clean;   \
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Makefile.deps

    r110 r142  
    88# DIR_MORPHEO must be defined
    99
    10 Meta_Predictor                  = yes
     10Meta_Predictor                          = yes
    1111
    1212ifndef Behavioural
    13 include                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
     13include                                 $(DIR_MORPHEO)/Behavioural/Makefile.deps
    1414endif
    1515ifndef Meta_Predictor_Glue
    16 include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/Makefile.deps
     16include                                 $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/Makefile.deps
    1717endif
    1818ifndef Two_Level_Branch_Predictor
    19 include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Makefile.deps
     19include                                 $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Makefile.deps
    2020endif
    2121
     
    2626#-----[ Library ]------------------------------------------
    2727
    28 Meta_Predictor_LIBRARY          =       -lMeta_Predictor                                \
    29                                         $(Meta_Predictor_Glue_LIBRARY)                  \
    30                                         $(Two_Level_Branch_Predictor_LIBRARY)           \
    31                                         $(Behavioural_LIBRARY) 
    32 
    33 Meta_Predictor_DIR_LIBRARY      =       -L$(Meta_Predictor_DIR)/lib                     \
    34                                         $(Meta_Predictor_Glue_DIR_LIBRARY)              \
    35                                         $(Two_Level_Branch_Predictor_DIR_LIBRARY)       \
    36                                         $(Behavioural_DIR_LIBRARY)
     28Meta_Predictor_LIBRARY                  =       -lMeta_Predictor                                \
     29                                                $(Meta_Predictor_Glue_LIBRARY)                  \
     30                                                $(Two_Level_Branch_Predictor_LIBRARY)           \
     31                                                $(Behavioural_LIBRARY) 
    3732
    3833#-----[ Rules ]--------------------------------------------
    3934
    40 Meta_Predictor_library          :
    41                                 @\
    42                                 $(MAKE) Behavioural_library;                            \
    43                                 $(MAKE) Meta_Predictor_Glue_library;                    \
    44                                 $(MAKE) Two_Level_Branch_Predictor_library;             \
    45                                 $(MAKE) --directory=$(Meta_Predictor_DIR) --makefile=Makefile;
     35Meta_Predictor_library_only             :
     36                                        @\
     37                                        $(MAKE) --directory=$(Meta_Predictor_DIR) --makefile=Makefile;
    4638
    47 Meta_Predictor_library_clean    :
    48                                 @\
    49                                 $(MAKE) Behavioural_library_clean;                      \
    50                                 $(MAKE) Meta_Predictor_Glue_library_clean;              \
    51                                 $(MAKE) Two_Level_Branch_Predictor_library_clean;       \
    52                                 $(MAKE) --directory=$(Meta_Predictor_DIR) --makefile=Makefile clean;
     39Meta_Predictor_library_clean_only       :
     40                                        @\
     41                                        $(MAKE) --directory=$(Meta_Predictor_DIR) --makefile=Makefile clean;
     42
     43Meta_Predictor_library                  : Meta_Predictor_library_only
     44                                        @\
     45                                        $(MAKE) Behavioural_library;                            \
     46                                        $(MAKE) Meta_Predictor_Glue_library;                    \
     47                                        $(MAKE) Two_Level_Branch_Predictor_library;
     48
     49Meta_Predictor_library_clean            : Meta_Predictor_library_clean_only
     50                                        @\
     51                                        $(MAKE) Behavioural_library_clean;                      \
     52                                        $(MAKE) Meta_Predictor_Glue_library_clean;              \
     53                                        $(MAKE) Two_Level_Branch_Predictor_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/Makefile.deps

    r110 r142  
    1111
    1212ifndef Behavioural
    13 include                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
     13include                                 $(DIR_MORPHEO)/Behavioural/Makefile.deps
    1414endif
    1515
     
    2121
    2222Meta_Predictor_Glue_LIBRARY             =       -lMeta_Predictor_Glue   \
    23                                         $(Behavioural_LIBRARY) 
    24 
    25 Meta_Predictor_Glue_DIR_LIBRARY         =       -L$(Meta_Predictor_Glue_DIR)/lib        \
    26                                         $(Behavioural_DIR_LIBRARY)
     23                                                $(Behavioural_LIBRARY) 
    2724
    2825#-----[ Rules ]--------------------------------------------
    2926
    30 Meta_Predictor_Glue_library             :
    31                                 @\
    32                                 $(MAKE) Behavioural_library;            \
    33                                 $(MAKE) --directory=$(Meta_Predictor_Glue_DIR) --makefile=Makefile;
     27Meta_Predictor_Glue_library_only        :
     28                                        @\
     29                                        $(MAKE) --directory=$(Meta_Predictor_Glue_DIR) --makefile=Makefile;
    3430
    35 Meta_Predictor_Glue_library_clean       :
    36                                 @\
    37                                 $(MAKE) Behavioural_library_clean;      \
    38                                 $(MAKE) --directory=$(Meta_Predictor_Glue_DIR) --makefile=Makefile clean;
     31Meta_Predictor_Glue_library_clean_only  :
     32                                        @\
     33                                        $(MAKE) --directory=$(Meta_Predictor_Glue_DIR) --makefile=Makefile clean;
     34
     35Meta_Predictor_Glue_library             : Meta_Predictor_Glue_library_only
     36                                        @\
     37                                        $(MAKE) Behavioural_library;
     38
     39Meta_Predictor_Glue_library_clean       : Meta_Predictor_Glue_library_clean_only
     40                                        @\
     41                                        $(MAKE) Behavioural_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Makefile.deps

    r110 r142  
    1111
    1212ifndef Behavioural
    13 include                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
     13include                                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
    1414endif
    1515
     
    2121
    2222Two_Level_Branch_Predictor_LIBRARY              =       -lTwo_Level_Branch_Predictor    \
    23                                         $(Behavioural_LIBRARY) 
    24 
    25 Two_Level_Branch_Predictor_DIR_LIBRARY          =       -L$(Two_Level_Branch_Predictor_DIR)/lib \
    26                                         $(Behavioural_DIR_LIBRARY)
     23                                                        $(Behavioural_LIBRARY) 
    2724
    2825#-----[ Rules ]--------------------------------------------
    2926
    30 Two_Level_Branch_Predictor_library              :
    31                                 @\
    32                                 $(MAKE) Behavioural_library;            \
    33                                 $(MAKE) --directory=$(Two_Level_Branch_Predictor_DIR) --makefile=Makefile;
     27Two_Level_Branch_Predictor_library_only         :
     28                                                @\
     29                                                $(MAKE) --directory=$(Two_Level_Branch_Predictor_DIR) --makefile=Makefile;
    3430
    35 Two_Level_Branch_Predictor_library_clean        :
    36                                 @\
    37                                 $(MAKE) Behavioural_library_clean;      \
    38                                 $(MAKE) --directory=$(Two_Level_Branch_Predictor_DIR) --makefile=Makefile clean;
     31Two_Level_Branch_Predictor_library_clean_only   :
     32                                                @\
     33                                                $(MAKE) --directory=$(Two_Level_Branch_Predictor_DIR) --makefile=Makefile clean;
     34
     35Two_Level_Branch_Predictor_library              : Two_Level_Branch_Predictor_library_only
     36                                                @\
     37                                                $(MAKE) Behavioural_library;
     38
     39Two_Level_Branch_Predictor_library_clean        : Two_Level_Branch_Predictor_library_clean_only
     40                                                @\
     41                                                $(MAKE) Behavioural_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Makefile.deps

    r82 r142  
    88# DIR_MORPHEO must be defined
    99
    10 Prediction_unit                 = yes
     10Prediction_unit                         = yes
    1111
    1212ifndef Behavioural
    13 include                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
     13include                                 $(DIR_MORPHEO)/Behavioural/Makefile.deps
    1414endif
    1515ifndef Branch_Target_Buffer
    16 include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Branch_Target_Buffer/Makefile.deps
     16include                                 $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Branch_Target_Buffer/Makefile.deps
    1717endif
    1818ifndef Direction
    19 include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Makefile.deps
     19include                                 $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Makefile.deps
    2020endif
    2121ifndef Return_Address_Stack
    22 include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Return_Address_Stack/Makefile.deps
     22include                                 $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Return_Address_Stack/Makefile.deps
    2323endif
    2424ifndef Update_Prediction_Table
    25 include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Update_Prediction_Table/Makefile.deps
     25include                                 $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Update_Prediction_Table/Makefile.deps
    2626endif
    2727ifndef Prediction_unit_Glue
    28 include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Prediction_unit_Glue/Makefile.deps
     28include                                 $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Prediction_unit_Glue/Makefile.deps
    2929endif
    3030
     
    4343                                                $(Prediction_unit_Glue_LIBRARY)
    4444
    45 Prediction_unit_DIR_LIBRARY             =       -L$(Prediction_unit_DIR)/lib            \
    46                                                 $(Behavioural_DIR_LIBRARY)              \
    47                                                 $(Branch_Target_Buffer_DIR_LIBRARY)     \
    48                                                 $(Direction_DIR_LIBRARY)                \
    49                                                 $(Return_Address_Stack_DIR_LIBRARY)     \
    50                                                 $(Update_Prediction_Table_DIR_LIBRARY)  \
    51                                                 $(Prediction_unit_Glue_DIR_LIBRARY)
    52 
    53 
    5445#-----[ Rules ]--------------------------------------------
    5546
    56 Prediction_unit_library         :
    57                                 @\
    58                                 $(MAKE) Behavioural_library;                    \
    59                                 $(MAKE) Branch_Target_Buffer_library;           \
    60                                 $(MAKE) Direction_library;                      \
    61                                 $(MAKE) Return_Address_Stack_library;           \
    62                                 $(MAKE) Update_Prediction_Table_library;        \
    63                                 $(MAKE) Prediction_unit_Glue_library;           \
    64                                 $(MAKE) --directory=$(Prediction_unit_DIR) --makefile=Makefile;
     47Prediction_unit_library_only            :
     48                                        @\
     49                                        $(MAKE) --directory=$(Prediction_unit_DIR) --makefile=Makefile;
    6550
    66 Prediction_unit_library_clean   :
    67                                 @\
    68                                 $(MAKE) Behavioural_library_clean;              \
    69                                 $(MAKE) Branch_Target_Buffer_library_clean;     \
    70                                 $(MAKE) Direction_library_clean;                \
    71                                 $(MAKE) Return_Address_Stack_library_clean;     \
    72                                 $(MAKE) Update_Prediction_Table_library_clean;  \
    73                                 $(MAKE) Prediction_unit_Glue_library_clean;     \
    74                                 $(MAKE) --directory=$(Prediction_unit_DIR) --makefile=Makefile clean;
     51Prediction_unit_library_clean_only      :
     52                                        @\
     53                                        $(MAKE) --directory=$(Prediction_unit_DIR) --makefile=Makefile clean;
     54
     55Prediction_unit_library                 : Prediction_unit_library_only
     56                                        @\
     57                                        $(MAKE) Behavioural_library;                    \
     58                                        $(MAKE) Branch_Target_Buffer_library;           \
     59                                        $(MAKE) Direction_library;                      \
     60                                        $(MAKE) Return_Address_Stack_library;           \
     61                                        $(MAKE) Update_Prediction_Table_library;        \
     62                                        $(MAKE) Prediction_unit_Glue_library;
     63
     64Prediction_unit_library_clean           : Prediction_unit_library_clean_only
     65                                        @\
     66                                        $(MAKE) Behavioural_library_clean;              \
     67                                        $(MAKE) Branch_Target_Buffer_library_clean;     \
     68                                        $(MAKE) Direction_library_clean;                \
     69                                        $(MAKE) Return_Address_Stack_library_clean;     \
     70                                        $(MAKE) Update_Prediction_Table_library_clean;  \
     71                                        $(MAKE) Prediction_unit_Glue_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Prediction_unit_Glue/Makefile.deps

    r81 r142  
    1111
    1212ifndef Behavioural
    13 include                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
     13include                                 $(DIR_MORPHEO)/Behavioural/Makefile.deps
    1414endif
    1515
    1616#-----[ Directory ]----------------------------------------
    1717
    18 Prediction_unit_Glue_DIR                        =       $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Prediction_unit_Glue
     18Prediction_unit_Glue_DIR                =       $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Prediction_unit_Glue
    1919
    2020#-----[ Library ]------------------------------------------
    2121
    2222Prediction_unit_Glue_LIBRARY            =       -lPrediction_unit_Glue  \
    23                                         $(Behavioural_LIBRARY) 
    24 
    25 Prediction_unit_Glue_DIR_LIBRARY                =       -L$(Prediction_unit_Glue_DIR)/lib       \
    26                                         $(Behavioural_DIR_LIBRARY)
     23                                                $(Behavioural_LIBRARY) 
    2724
    2825#-----[ Rules ]--------------------------------------------
    2926
    30 Prediction_unit_Glue_library            :
    31                                 @\
    32                                 $(MAKE) Behavioural_library;            \
    33                                 $(MAKE) --directory=$(Prediction_unit_Glue_DIR) --makefile=Makefile;
     27Prediction_unit_Glue_library_only       :
     28                                        @\
     29                                        $(MAKE) --directory=$(Prediction_unit_Glue_DIR) --makefile=Makefile;
    3430
    35 Prediction_unit_Glue_library_clean      :
    36                                 @\
    37                                 $(MAKE) Behavioural_library_clean;      \
    38                                 $(MAKE) --directory=$(Prediction_unit_Glue_DIR) --makefile=Makefile clean;
     31Prediction_unit_Glue_library_clean_only :
     32                                        @\
     33                                        $(MAKE) --directory=$(Prediction_unit_Glue_DIR) --makefile=Makefile clean;
     34
     35Prediction_unit_Glue_library            : Prediction_unit_Glue_library_only
     36                                        @\
     37                                        $(MAKE) Behavioural_library;
     38
     39Prediction_unit_Glue_library_clean      : Prediction_unit_Glue_library_clean_only
     40                                        @\
     41                                        $(MAKE) Behavioural_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Return_Address_Stack/Makefile.deps

    r81 r142  
    1111
    1212ifndef Behavioural
    13 include                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
     13include                                 $(DIR_MORPHEO)/Behavioural/Makefile.deps
    1414endif
    1515
    1616#-----[ Directory ]----------------------------------------
    1717
    18 Return_Address_Stack_DIR                        =       $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Return_Address_Stack
     18Return_Address_Stack_DIR                =       $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Return_Address_Stack
    1919
    2020#-----[ Library ]------------------------------------------
    2121
    2222Return_Address_Stack_LIBRARY            =       -lReturn_Address_Stack  \
    23                                         $(Behavioural_LIBRARY) 
    24 
    25 Return_Address_Stack_DIR_LIBRARY                =       -L$(Return_Address_Stack_DIR)/lib       \
    26                                         $(Behavioural_DIR_LIBRARY)
     23                                                $(Behavioural_LIBRARY) 
    2724
    2825#-----[ Rules ]--------------------------------------------
    2926
    30 Return_Address_Stack_library            :
    31                                 @\
    32                                 $(MAKE) Behavioural_library;            \
    33                                 $(MAKE) --directory=$(Return_Address_Stack_DIR) --makefile=Makefile;
     27Return_Address_Stack_library_only       :
     28                                        @\
     29                                        $(MAKE) --directory=$(Return_Address_Stack_DIR) --makefile=Makefile;
    3430
    35 Return_Address_Stack_library_clean      :
    36                                 @\
    37                                 $(MAKE) Behavioural_library_clean;      \
    38                                 $(MAKE) --directory=$(Return_Address_Stack_DIR) --makefile=Makefile clean;
     31Return_Address_Stack_library_clean_only :
     32                                        @\
     33                                        $(MAKE) --directory=$(Return_Address_Stack_DIR) --makefile=Makefile clean;
     34
     35Return_Address_Stack_library            : Return_Address_Stack_library_only
     36                                        @\
     37                                        $(MAKE) Behavioural_library;
     38
     39Return_Address_Stack_library_clean      : Return_Address_Stack_library_clean_only
     40                                        @\
     41                                        $(MAKE) Behavioural_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Update_Prediction_Table/Makefile.deps

    r97 r142  
    88# DIR_MORPHEO must be defined
    99
    10 Update_Prediction_Table                 = yes
     10Update_Prediction_Table                         = yes
    1111
    1212ifndef Behavioural
    13 include                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
     13include                                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
    1414endif
    1515
     
    2020#-----[ Library ]------------------------------------------
    2121
    22 Update_Prediction_Table_LIBRARY         =       -lUpdate_Prediction_Table       \
    23                                         $(Behavioural_LIBRARY)
    24 
    25 Update_Prediction_Table_DIR_LIBRARY             =       -L$(Update_Prediction_Table_DIR)/lib    \
    26                                         $(Behavioural_DIR_LIBRARY)
     22Update_Prediction_Table_LIBRARY                 =       -lUpdate_Prediction_Table       \
     23                                                        $(Behavioural_LIBRARY)
    2724
    2825#-----[ Rules ]--------------------------------------------
    2926
    30 Update_Prediction_Table_library         :
    31                                 @\
    32                                 $(MAKE) Behavioural_library;            \
    33                                 $(MAKE) --directory=$(Update_Prediction_Table_DIR) --makefile=Makefile;
     27Update_Prediction_Table_library_only            :
     28                                                @\
     29                                                $(MAKE) --directory=$(Update_Prediction_Table_DIR) --makefile=Makefile;
    3430
    35 Update_Prediction_Table_library_clean   :
    36                                 @\
    37                                 $(MAKE) Behavioural_library_clean;      \
    38                                 $(MAKE) --directory=$(Update_Prediction_Table_DIR) --makefile=Makefile clean;
     31Update_Prediction_Table_library_clean_only      :
     32                                                @\
     33                                                $(MAKE) --directory=$(Update_Prediction_Table_DIR) --makefile=Makefile clean;
     34
     35Update_Prediction_Table_library                 : Update_Prediction_Table_library_only
     36                                                @\
     37                                                $(MAKE) Behavioural_library;
     38
     39Update_Prediction_Table_library_clean           : Update_Prediction_Table_library_clean_only
     40                                                @\
     41                                                $(MAKE) Behavioural_library_clean;
  • 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;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Custom/Makefile.deps

    r81 r142  
    3131                                        $(Behavioural_LIBRARY) 
    3232
    33 Custom_DIR_LIBRARY              =       -L$(Custom_DIR)/lib             \
    34                                         $(Operation_DIR_LIBRARY)        \
    35                                         $(Instruction_DIR_LIBRARY)      \
    36                                         $(Behavioural_DIR_LIBRARY)
    37 
    3833#-----[ Rules ]--------------------------------------------
    3934
    40 Custom_library                  :
     35Custom_library_only             :
     36                                @\
     37                                $(MAKE) --directory=$(Custom_DIR) --makefile=Makefile;
     38
     39Custom_library_clean_only       :
     40                                @\
     41                                $(MAKE) --directory=$(Custom_DIR) --makefile=Makefile clean;
     42
     43Custom_library                  : Custom_library_only
    4144                                @\
    4245                                $(MAKE) Behavioural_library;            \
    4346                                $(MAKE) Instruction_library;            \
    44                                 $(MAKE) Operation_library;              \
    45                                 $(MAKE) --directory=$(Custom_DIR) --makefile=Makefile;
     47                                $(MAKE) Operation_library;
    4648
    47 
    48 Custom_library_clean            :
     49Custom_library_clean            : Custom_library_clean_only
    4950                                @\
    5051                                $(MAKE) Behavioural_library_clean;      \
    5152                                $(MAKE) Instruction_library_clean;      \
    52                                 $(MAKE) Operation_library_clean;        \
    53                                 $(MAKE) --directory=$(Custom_DIR) --makefile=Makefile clean;
     53                                $(MAKE) Operation_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Comparator/Makefile.deps

    r112 r142  
    2323                                        $(Behavioural_LIBRARY) 
    2424
    25 Comparator_DIR_LIBRARY          =       -L$(Comparator_DIR)/lib \
    26                                         $(Behavioural_DIR_LIBRARY)
    27 
    2825#-----[ Rules ]--------------------------------------------
    2926
    30 Comparator_library              :
     27Comparator_library_only         :
    3128                                @\
    32                                 $(MAKE) Behavioural_library;            \
    3329                                $(MAKE) --directory=$(Comparator_DIR) --makefile=Makefile;
    3430
    35 Comparator_library_clean        :
     31Comparator_library_clean_only   :
    3632                                @\
    37                                 $(MAKE) Behavioural_library_clean;      \
    3833                                $(MAKE) --directory=$(Comparator_DIR) --makefile=Makefile clean;
     34
     35Comparator_library              : Comparator_library_only
     36                                @\
     37                                $(MAKE) Behavioural_library;
     38
     39Comparator_library_clean        : Comparator_library_clean_only
     40                                @\
     41                                $(MAKE) Behavioural_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Counter/Makefile.deps

    r81 r142  
    88# DIR_MORPHEO must be defined
    99
    10 Counter                 = yes
     10Counter                         = yes
    1111
    1212ifndef Behavioural
     
    1515
    1616#-----[ Library ]------------------------------------------
    17 Counter_LIBRARY         =       -lCounter       \
     17
     18Counter_LIBRARY                 =       -lCounter       \
    1819                                        $(Behavioural_LIBRARY) 
    19 
    20 Counter_DIR_LIBRARY             =       -L$(DIR_MORPHEO)/Behavioural/Generic/Counter/lib        \
    21                                         $(Behavioural_DIR_LIBRARY)
    2220
    2321#-----[ Rules ]--------------------------------------------
    2422
    25 Counter_library         :
     23Counter_library_only            :
    2624                                @\
    27                                 $(MAKE) Behavioural_library; \
    2825                                $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/Counter --makefile=Makefile;
    2926       
    30 Counter_library_clean   :
     27Counter_library_clean_only      :
    3128                                @\
    32                                 $(MAKE) Behavioural_library_clean; \
    3329                                $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/Counter --makefile=Makefile clean;
     30
     31Counter_library                 : Counter_library_only
     32                                @\
     33                                $(MAKE) Behavioural_library;
     34       
     35Counter_library_clean           : Counter_library_clean_only
     36                                @\
     37                                $(MAKE) Behavioural_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Divider/Makefile.deps

    r112 r142  
    88# DIR_MORPHEO must be defined
    99
    10 Divider                 = yes
     10Divider                         = yes
    1111
    1212ifndef Behavioural
     
    2020#-----[ Library ]------------------------------------------
    2121
    22 Divider_LIBRARY         =       -lDivider       \
     22Divider_LIBRARY                 =       -lDivider       \
    2323                                        $(Behavioural_LIBRARY) 
    24 
    25 Divider_DIR_LIBRARY             =       -L$(Divider_DIR)/lib    \
    26                                         $(Behavioural_DIR_LIBRARY)
    2724
    2825#-----[ Rules ]--------------------------------------------
    2926
    30 Divider_library         :
     27Divider_library_only            :
    3128                                @\
    32                                 $(MAKE) Behavioural_library;            \
    3329                                $(MAKE) --directory=$(Divider_DIR) --makefile=Makefile;
    3430
    35 Divider_library_clean   :
     31Divider_library_clean_only      :
    3632                                @\
    37                                 $(MAKE) Behavioural_library_clean;      \
    3833                                $(MAKE) --directory=$(Divider_DIR) --makefile=Makefile clean;
     34
     35Divider_library                 : Divider_library_only
     36                                @\
     37                                $(MAKE) Behavioural_library;
     38
     39Divider_library_clean           : Divider_library_clean_only
     40                                @\
     41                                $(MAKE) Behavioural_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Multiplier/Makefile.deps

    r112 r142  
    2323                                        $(Behavioural_LIBRARY) 
    2424
    25 Multiplier_DIR_LIBRARY          =       -L$(Multiplier_DIR)/lib \
    26                                         $(Behavioural_DIR_LIBRARY)
    27 
    2825#-----[ Rules ]--------------------------------------------
    2926
    30 Multiplier_library              :
     27Multiplier_library_only         :
    3128                                @\
    32                                 $(MAKE) Behavioural_library;            \
    3329                                $(MAKE) --directory=$(Multiplier_DIR) --makefile=Makefile;
    3430
    35 Multiplier_library_clean        :
     31Multiplier_library_clean_only   :
    3632                                @\
    37                                 $(MAKE) Behavioural_library_clean;      \
    3833                                $(MAKE) --directory=$(Multiplier_DIR) --makefile=Makefile clean;
     34
     35Multiplier_library              : Multiplier_library_only
     36                                @\
     37                                $(MAKE) Behavioural_library;
     38
     39Multiplier_library_clean        : Multiplier_library_clean_only
     40                                @\
     41                                $(MAKE) Behavioural_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Priority/Makefile.deps

    r88 r142  
    2222                                        $(Common_LIBRARY)       
    2323
    24 Priority_DIR_LIBRARY            =       -L$(Priority_DIR)/lib\
    25                                         $(Common_DIR_LIBRARY)
    26 
    2724#-----[ Rules ]--------------------------------------------
    2825
    29 Priority_library                :
     26Priority_library_only           :
    3027                                @\
    31                                 $(MAKE) --directory=$(Priority_DIR) --makefile=Makefile;\
     28                                $(MAKE) --directory=$(Priority_DIR) --makefile=Makefile;
     29
     30Priority_library_clean_only     :
     31                                @\
     32                                $(MAKE) --directory=$(Priority_DIR) --makefile=Makefile clean;
     33
     34Priority_library                : Priority_library_only
     35                                @\
    3236                                $(MAKE) Common_library;
    3337
    34 Priority_library_clean  :
     38Priority_library_clean          : Priority_library_clean_only
    3539                                @\
    36                                 $(MAKE) --directory=$(Priority_DIR) --makefile=Makefile clean;\
    3740                                $(MAKE) Common_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Queue/Makefile.deps

    r100 r142  
    2222                                        $(Behavioural_LIBRARY) 
    2323
    24 Queue_DIR_LIBRARY               =       -L$(DIR_MORPHEO)/Behavioural/Generic/Queue/lib  \
    25                                         $(Queue_Control_DIR_LIBRARY)\
    26                                         $(Behavioural_DIR_LIBRARY)
    27 
    2824#-----[ Rules ]--------------------------------------------
    2925
    30 #.NOTPARALLEL                   : Queue_library Queue_library_clean
     26Queue_library_only              :
     27                                @\
     28                                $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/Queue --makefile=Makefile;
    3129
    32 Queue_library                   :
     30Queue_library_clean_only        :
     31                                @\
     32                                $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/Queue --makefile=Makefile clean;
     33
     34Queue_library                   : Queue_library_only
    3335                                @\
    3436                                $(MAKE) Behavioural_library;\
    35                                 $(MAKE) Queue_Control_library;\
    36                                 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/Queue --makefile=Makefile;
     37                                $(MAKE) Queue_Control_library;
    3738
    38 Queue_library_clean             :
     39Queue_library_clean             : Queue_library_clean_only
    3940                                @\
    4041                                $(MAKE) Behavioural_library_clean;\
    41                                 $(MAKE) Queue_Control_library_clean;\
    42                                 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/Queue --makefile=Makefile clean;
     42                                $(MAKE) Queue_Control_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Queue_Control/Makefile.deps

    r113 r142  
    1515
    1616#-----[ Library ]------------------------------------------
     17
    1718Queue_Control_LIBRARY           =       -lQueue_Control \
    18                                 $(Behavioural_LIBRARY) 
    19 
    20 Queue_Control_DIR_LIBRARY       =       -L$(DIR_MORPHEO)/Behavioural/Generic/Queue_Control/lib  \
    21                                 $(Behavioural_DIR_LIBRARY)
     19                                        $(Behavioural_LIBRARY) 
    2220
    2321#-----[ Rules ]--------------------------------------------
    2422
    25 #.NOTPARALLEL                   : Queue_Control_library Queue_Control_library_clean
    26 
    27 Queue_Control_library           :
     23Queue_Control_library_only      :
    2824                                @\
    29                                 $(MAKE) Behavioural_library;\
    3025                                $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/Queue_Control --makefile=Makefile;
    3126
    32 Queue_Control_library_clean     :
     27Queue_Control_library_clean_only:
    3328                                @\
    34                                 $(MAKE) Behavioural_library_clean;\
    3529                                $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/Queue_Control --makefile=Makefile clean;
     30
     31Queue_Control_library           : Queue_Control_library_only
     32                                @\
     33                                $(MAKE) Behavioural_library;
     34
     35Queue_Control_library_clean     : Queue_Control_library_clean_only
     36                                @\
     37                                $(MAKE) Behavioural_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/Makefile.deps

    r81 r142  
    2020endif
    2121
     22#-----[ Library ]------------------------------------------
    2223
    23 #-----[ Library ]------------------------------------------
    2424RegisterFile_LIBRARY            =       -lRegisterFile                          \
    2525                                        $(RegisterFile_Monolithic_LIBRARY)      \
     
    2727                                        $(Behavioural_LIBRARY) 
    2828
    29 RegisterFile_DIR_LIBRARY        =       -L$(DIR_MORPHEO)/Behavioural/Generic/RegisterFile/lib   \
    30                                         $(RegisterFile_Monolithic_DIR_LIBRARY)      \
    31                                         $(RegisterFile_Multi_Banked_DIR_LIBRARY)    \
    32                                         $(Behavioural_DIR_LIBRARY)
    33 
    3429#-----[ Rules ]--------------------------------------------
    3530
    36 RegisterFile_library            :
     31RegisterFile_library_only       :
     32                                @\
     33                                $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/RegisterFile --makefile=Makefile;
     34       
     35RegisterFile_library_clean_only :
     36                                @\
     37                                $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/RegisterFile --makefile=Makefile clean;
     38
     39RegisterFile_library            : RegisterFile_library_only
    3740                                @\
    3841                                $(MAKE) Behavioural_library; \
    3942                                $(MAKE) RegisterFile_Monolithic_library;\
    40                                 $(MAKE) RegisterFile_Multi_Banked_library;\
    41                                 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/RegisterFile --makefile=Makefile;
     43                                $(MAKE) RegisterFile_Multi_Banked_library;
    4244       
    43 RegisterFile_library_clean      :
     45RegisterFile_library_clean      : RegisterFile_library_clean_only
    4446                                @\
    4547                                $(MAKE) Behavioural_library_clean; \
    4648                                $(MAKE) RegisterFile_Monolithic_library_clean;\
    47                                 $(MAKE) RegisterFile_Multi_Banked_library_clean;\
    48                                 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/RegisterFile --makefile=Makefile clean;
     49                                $(MAKE) RegisterFile_Multi_Banked_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/Makefile.deps

    r81 r142  
    88# DIR_MORPHEO must be defined
    99
    10 RegisterFile_Monolithic                 = yes
     10RegisterFile_Monolithic                         = yes
    1111
    1212ifndef Behavioural
    13 include                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
     13include                                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
    1414endif
    1515
    1616#-----[ Library ]------------------------------------------
    17 RegisterFile_Monolithic_LIBRARY         =       -lRegisterFile_Monolithic               \
    18                                         $(Behavioural_LIBRARY) 
    1917
    20 RegisterFile_Monolithic_DIR_LIBRARY     =       -L$(DIR_MORPHEO)/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/lib   \
    21                                         $(Behavioural_DIR_LIBRARY)     
     18RegisterFile_Monolithic_LIBRARY                 =       -lRegisterFile_Monolithic               \
     19                                                        $(Behavioural_LIBRARY) 
    2220
    2321#-----[ Rules ]--------------------------------------------
    2422
    25 RegisterFile_Monolithic_library         :
    26                                 @\
    27                                 $(MAKE)  Behavioural_library; \
    28                                 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic --makefile=Makefile;
     23RegisterFile_Monolithic_library_only            :
     24                                                @\
     25                                                $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic --makefile=Makefile;
    2926       
    30 RegisterFile_Monolithic_library_clean   :
    31                                 @\
    32                                 $(MAKE)  Behavioural_library_clean; \
    33                                 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic --makefile=Makefile clean;
     27RegisterFile_Monolithic_library_clean_only      :
     28                                                @\
     29                                                $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic --makefile=Makefile clean;
     30
     31RegisterFile_Monolithic_library                 : RegisterFile_Monolithic_library_only
     32                                                @\
     33                                                $(MAKE)  Behavioural_library;
     34       
     35RegisterFile_Monolithic_library_clean           : RegisterFile_Monolithic_library_clean_only
     36                                                @\
     37                                                $(MAKE)  Behavioural_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Multi_Banked/Makefile.deps

    r81 r142  
    1111
    1212ifndef Behavioural
    13 include                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
     13include                                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
    1414endif
    1515ifndef RegisterFile_Monolithic
    16 include                         $(DIR_MORPHEO)/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/Makefile.deps
     16include                                         $(DIR_MORPHEO)/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/Makefile.deps
    1717endif
    1818ifndef Select_Priority_Fixed
    19 include                         $(DIR_MORPHEO)/Behavioural/Generic/Select/Select_Priority_Fixed/Makefile.deps
     19include                                         $(DIR_MORPHEO)/Behavioural/Generic/Select/Select_Priority_Fixed/Makefile.deps
    2020endif
    2121
     
    2626                                                        $(Select_Priority_Fixed_LIBRARY)
    2727
    28 RegisterFile_Multi_Banked_DIR_LIBRARY           =       -L$(DIR_MORPHEO)/Behavioural/Generic/RegisterFile/RegisterFile_Multi_Banked/lib \
    29                                                         $(Behavioural_DIR_LIBRARY)              \
    30                                                         $(RegisterFile_Monolithic_DIR_LIBRARY)  \
    31                                                         $(Select_Priority_Fixed_DIR_LIBRARY)
    32 
    3328#-----[ Rules ]--------------------------------------------
    3429
    35 RegisterFile_Multi_Banked_library               :
    36                                 @\
    37                                 $(MAKE) Behavioural_library;                    \
    38                                 $(MAKE) RegisterFile_Monolithic_library;        \
    39                                 $(MAKE) Select_Priority_Fixed_library;          \
    40                                 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/RegisterFile/RegisterFile_Multi_Banked --makefile=Makefile;
     30RegisterFile_Multi_Banked_library_only          :
     31                                                @\
     32                                                $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/RegisterFile/RegisterFile_Multi_Banked --makefile=Makefile;
    4133       
    42 RegisterFile_Multi_Banked_library_clean :
    43                                 @\
    44                                 $(MAKE) Behavioural_library_clean;              \
    45                                 $(MAKE) RegisterFile_Monolithic_library_clean;  \
    46                                 $(MAKE) Select_Priority_Fixed_library_clean;    \
    47                                 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/RegisterFile/RegisterFile_Multi_Banked --makefile=Makefile clean;
     34RegisterFile_Multi_Banked_library_clean_only    :
     35                                                @\
     36                                                $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/RegisterFile/RegisterFile_Multi_Banked --makefile=Makefile clean;
     37
     38RegisterFile_Multi_Banked_library               : RegisterFile_Multi_Banked_library_only
     39                                                @\
     40                                                $(MAKE) Behavioural_library;                    \
     41                                                $(MAKE) RegisterFile_Monolithic_library;        \
     42                                                $(MAKE) Select_Priority_Fixed_library;
     43       
     44RegisterFile_Multi_Banked_library_clean         : RegisterFile_Multi_Banked_library_clean_only
     45                                                @\
     46                                                $(MAKE) Behavioural_library_clean;              \
     47                                                $(MAKE) RegisterFile_Monolithic_library_clean;  \
     48                                                $(MAKE) Select_Priority_Fixed_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Select/Select_Priority_Fixed/Makefile.deps

    r81 r142  
    88# DIR_MORPHEO must be defined
    99
    10 Select_Priority_Fixed                   = yes
     10Select_Priority_Fixed                           = yes
    1111
    1212ifndef Behavioural
    13 include                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
     13include                                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
    1414endif
    1515
    1616#-----[ Library ]------------------------------------------
    17 Select_Priority_Fixed_LIBRARY           =       -lSelect_Priority_Fixed \
    18                                         $(Behavioural_LIBRARY) 
    19 
    20 Select_Priority_Fixed_DIR_LIBRARY               =       -L$(DIR_MORPHEO)/Behavioural/Generic/Select/Select_Priority_Fixed/lib   \
    21                                         $(Behavioural_DIR_LIBRARY)
     17Select_Priority_Fixed_LIBRARY                   =       -lSelect_Priority_Fixed \
     18                                                        $(Behavioural_LIBRARY) 
    2219
    2320#-----[ Rules ]--------------------------------------------
    2421
    25 Select_Priority_Fixed_library           :
    26                                 @\
    27                                 $(MAKE) Behavioural_library; \
    28                                 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/Select/Select_Priority_Fixed --makefile=Makefile;
     22Select_Priority_Fixed_library_only              :
     23                                                @\
     24                                                $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/Select/Select_Priority_Fixed --makefile=Makefile;
    2925       
    30 Select_Priority_Fixed_library_clean     :
    31                                 @\
    32                                 $(MAKE) Behavioural_library_clean; \
    33                                 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/Select/Select_Priority_Fixed --makefile=Makefile clean;
     26Select_Priority_Fixed_library_clean_only        :
     27                                                @\
     28                                                $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/Select/Select_Priority_Fixed --makefile=Makefile clean;
     29
     30Select_Priority_Fixed_library                   : Select_Priority_Fixed_library_only
     31                                                @\
     32                                                $(MAKE) Behavioural_library;
     33       
     34Select_Priority_Fixed_library_clean             : Select_Priority_Fixed_library_clean_only
     35                                                @\
     36                                                $(MAKE) Behavioural_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Shifter/Makefile.deps

    r81 r142  
    22# $Id$
    33#
    4 # [ Description ]
     4# [ Description ]
    55#
    66# Makefile
     
    1414endif
    1515
    16 #-----[ Library ]------------------------------------------
     16#-----[ Library ]------------------------------------------
     17
    1718Shifter_LIBRARY                 =       -lShifter       \
    1819                                        $(Behavioural_LIBRARY) 
    1920
    20 Shifter_DIR_LIBRARY             =       -L$(DIR_MORPHEO)/Behavioural/Generic/Shifter/lib        \
    21                                         $(Behavioural_DIR_LIBRARY)
     21#-----[ Rules ]--------------------------------------------
    2222
    23 #-----[ Rules ]--------------------------------------------
    24 
    25 Shifter_library         :
     23Shifter_library_only            :
    2624                                @\
    27                                 $(MAKE) Behavioural_library;\
    2825                                $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/Shifter --makefile=Makefile;
    2926       
    30 Shifter_library_clean   :
     27Shifter_library_clean_only      :
    3128                                @\
    32                                 $(MAKE) Behavioural_library_clean;\
    3329                                $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/Shifter --makefile=Makefile clean;
     30
     31Shifter_library                 : Shifter_library_only
     32                                @\
     33                                $(MAKE) Behavioural_library;
     34       
     35Shifter_library_clean           : Shifter_library_clean_only
     36                                @\
     37                                $(MAKE) Behavioural_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Sort/Makefile.deps

    r81 r142  
    1111
    1212ifndef Behavioural
    13 include                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
     13include                 $(DIR_MORPHEO)/Behavioural/Makefile.deps
    1414endif
    1515
    1616#-----[ Directory ]----------------------------------------
    1717
    18 Sort_DIR                        =       $(DIR_MORPHEO)/Behavioural/Generic/Sort
     18Sort_DIR                =       $(DIR_MORPHEO)/Behavioural/Generic/Sort
    1919
    2020#-----[ Library ]------------------------------------------
    2121
    2222Sort_LIBRARY            =       -lSort  \
    23                                         $(Behavioural_LIBRARY) 
    24 
    25 Sort_DIR_LIBRARY                =       -L$(Sort_DIR)/lib       \
    26                                         $(Behavioural_DIR_LIBRARY)
     23                                $(Behavioural_LIBRARY) 
    2724
    2825#-----[ Rules ]--------------------------------------------
    2926
    30 Sort_library            :
    31                                 @\
    32                                 $(MAKE) Behavioural_library;            \
    33                                 $(MAKE) --directory=$(Sort_DIR) --makefile=Makefile;
     27Sort_library_only       :
     28                        @\
     29                        $(MAKE) --directory=$(Sort_DIR) --makefile=Makefile;
    3430
    35 Sort_library_clean      :
    36                                 @\
    37                                 $(MAKE) Behavioural_library_clean;      \
    38                                 $(MAKE) --directory=$(Sort_DIR) --makefile=Makefile clean;
     31Sort_library_clean_only :
     32                        @\
     33                        $(MAKE) --directory=$(Sort_DIR) --makefile=Makefile clean;
     34
     35Sort_library            : Sort_library_only
     36                        @\
     37                        $(MAKE) Behavioural_library;
     38
     39Sort_library_clean      : Sort_library_clean_only
     40                        @\
     41                        $(MAKE) Behavioural_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Victim/Makefile.deps

    r81 r142  
    88# DIR_MORPHEO must be defined
    99
    10 Victim                  = yes
     10Victim                          = yes
    1111
    1212ifndef Behavioural
     
    4848#                                       $(Victim_FIFO_LIBRARY)          \
    4949
    50 Victim_DIR_LIBRARY              =       -L$(Victim_DIR)/lib                     \
    51                                         $(Victim_Pseudo_LRU_DIR_LIBRARY)        \
    52                                         $(Behavioural_DIR_LIBRARY)
    53 
    54 #                                       $(Victim_Random_DIR_LIBRARY)            \
    55 #                                       $(Victim_Round_Robin_DIR_LIBRARY)       \
    56 #                                       $(Victim_NLU_DIR_LIBRARY)               \
    57 #                                       $(Victim_LRU_DIR_LIBRARY)               \
    58 #                                       $(Victim_FIFO_DIR_LIBRARY)              \
    59 
    6050#-----[ Rules ]--------------------------------------------
    6151
    62 Victim_library          :
     52Victim_library_only                     :
     53                                @\
     54                                $(MAKE) --directory=$(Victim_DIR) --makefile=Makefile;
     55
     56Victim_library_clean_only       :
     57                                @\
     58                                $(MAKE) --directory=$(Victim_DIR) --makefile=Makefile clean;
     59
     60Victim_library                  : Victim_library_only
    6361                                @\
    6462                                $(MAKE) Behavioural_library;            \
    65                                 $(MAKE) Victim_Pseudo_LRU_library;      \
    66                                 $(MAKE) --directory=$(Victim_DIR) --makefile=Makefile;
     63                                $(MAKE) Victim_Pseudo_LRU_library;
    6764
    6865#                               $(MAKE) Victim_Random_library;          \
     
    7269#                               $(MAKE) Victim_FIFO_library;            \
    7370
    74 Victim_library_clean    :
     71Victim_library_clean            : Victim_library_clean_only
    7572                                @\
    7673                                $(MAKE) Behavioural_library_clean;              \
    77                                 $(MAKE) Victim_Pseudo_LRU_library_clean;        \
    78                                 $(MAKE) --directory=$(Victim_DIR) --makefile=Makefile clean;
     74                                $(MAKE) Victim_Pseudo_LRU_library_clean;
    7975
    8076#                               $(MAKE) Victim_Random_library_clean;            \
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Victim/Victim_Pseudo_LRU/Makefile.deps

    r81 r142  
    22# $Id$
    33#
    4 # [ Description ]
     4# [ Description ]
    55#
    66# Makefile
     
    1111
    1212ifndef Behavioural
    13 include                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
     13include                                 $(DIR_MORPHEO)/Behavioural/Makefile.deps
    1414endif
    1515
    16 #-----[ Library ]------------------------------------------
     16#-----[ Library ]------------------------------------------
    1717Victim_Pseudo_LRU_LIBRARY               =       -lVictim_Pseudo_LRU             \
    1818                                                $(Behavioural_LIBRARY) 
    1919
    20 Victim_Pseudo_LRU_DIR_LIBRARY           =       -L$(DIR_MORPHEO)/Behavioural/Generic/Victim/Victim_Pseudo_LRU/lib       \
    21                                                 $(Behavioural_DIR_LIBRARY)     
     20#-----[ Rules ]--------------------------------------------
    2221
    23 #-----[ Rules ]--------------------------------------------
     22Victim_Pseudo_LRU_library_only          :
     23                                        @\
     24                                        $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/Victim/Victim_Pseudo_LRU --makefile=Makefile;
    2425
    25 Victim_Pseudo_LRU_library               :
    26                                 @\
    27                                 $(MAKE)  Behavioural_library; \
    28                                 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/Victim/Victim_Pseudo_LRU --makefile=Makefile;
     26Victim_Pseudo_LRU_library_clean_only    :
     27                                        @\
     28                                        $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/Victim/Victim_Pseudo_LRU --makefile=Makefile clean;
    2929
    30 Victim_Pseudo_LRU_library_clean :
    31                                 @\
    32                                 $(MAKE)  Behavioural_library_clean; \
    33                                 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/Victim/Victim_Pseudo_LRU --makefile=Makefile clean;
     30Victim_Pseudo_LRU_library               : Victim_Pseudo_LRU_library_only
     31                                        @\
     32                                        $(MAKE)  Behavioural_library;
     33
     34Victim_Pseudo_LRU_library_clean         : Victim_Pseudo_LRU_library_clean_only
     35                                        @\
     36                                        $(MAKE)  Behavioural_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Victim/src/Victim_allocation.cpp

    r131 r142  
    6161      case VICTIM_PSEUDO_LRU  :
    6262        {
    63           std::cout << "Create   : " << _name << std::endl;
     63          log_printf(INFO,Victim,FUNCTION,_("Create   : %s"),_name.c_str());
    6464
    6565          _component_victim_pseudo_lru = new morpheo::behavioural::generic::victim::victim_pseudo_lru::Victim_Pseudo_LRU
     
    7979    // ~~~~~[ Instanciation ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
    8080
    81     std::cout << "Instance : " << _name << std::endl;
     81    log_printf(INFO,Victim,FUNCTION,_("Instance : %s"),_name.c_str());
    8282
    8383    switch (_param->_victim_scheme)
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Makefile.deps

    r138 r142  
    2222Behavioural_LIBRARY             =       -lBehavioural   \
    2323                                        -lCommon
    24                                                                                
    25 Behavioural_DIR_LIBRARY         =       -L$(Behavioural_DIR)/lib        \
    26                                         -L$(Common_DIR)/lib
    2724
    2825#-----[ Rules ]--------------------------------------------
    2926
    30 Behavioural_library             :
     27Behavioural_library_only        :
    3128                                @\
    32                                 $(MAKE) Common_library;         \
    3329                                $(MAKE) --directory=$(Behavioural_DIR)  --makefile=Makefile;
    3430
    35 Behavioural_library_clean       :
     31Behavioural_library_clean_only  :
    3632                                @\
    37                                 $(MAKE) Common_library_clean;   \
    3833                                $(MAKE) --directory=$(Behavioural_DIR)  --makefile=Makefile clean;
     34
     35Behavioural_library             : Behavioural_library_only
     36                                @\
     37                                $(MAKE) Common_library;
     38
     39Behavioural_library_clean       : Behavioural_library_clean_only
     40                                @\
     41                                $(MAKE) Common_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vbe/Makefile.deps

    r82 r142  
    2323                                        $(Behavioural_LIBRARY) 
    2424
    25 @COMPONENT_DIR_LIBRARY          =       -L$(@COMPONENT_DIR)/lib \
    26                                         $(Behavioural_DIR_LIBRARY)
    27 
    2825#-----[ Rules ]--------------------------------------------
    2926
    30 @COMPONENT_library              :
     27@COMPONENT_library_only         :
    3128                                @\
    32                                 $(MAKE) Behavioural_library;            \
    3329                                $(MAKE) --directory=$(@COMPONENT_DIR) --makefile=Makefile;
    3430
    35 @COMPONENT_library_clean        :
     31@COMPONENT_library_clean_only   :
    3632                                @\
    37                                 $(MAKE) Behavioural_library_clean;      \
    3833                                $(MAKE) --directory=$(@COMPONENT_DIR) --makefile=Makefile clean;
     34
     35@COMPONENT_library              : @COMPONENT_library_only
     36                                @\
     37                                $(MAKE) Behavioural_library;
     38
     39@COMPONENT_library_clean        : @COMPONENT_library_clean_only
     40                                @\
     41                                $(MAKE) Behavioural_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/Makefile.deps

    r82 r142  
    2323                                        $(Behavioural_LIBRARY) 
    2424
    25 @COMPONENT_DIR_LIBRARY          =       -L$(@COMPONENT_DIR)/lib \
    26                                         $(Behavioural_DIR_LIBRARY)
    27 
    2825#-----[ Rules ]--------------------------------------------
    2926
    30 @COMPONENT_library              :
     27@COMPONENT_library_only         :
    3128                                @\
    32                                 $(MAKE) Behavioural_library;            \
    3329                                $(MAKE) --directory=$(@COMPONENT_DIR) --makefile=Makefile;
    3430
    35 @COMPONENT_library_clean        :
     31@COMPONENT_library_clean_only   :
    3632                                @\
    37                                 $(MAKE) Behavioural_library_clean;      \
    3833                                $(MAKE) --directory=$(@COMPONENT_DIR) --makefile=Makefile clean;
     34
     35@COMPONENT_library              : @COMPONENT_library_only
     36                                @\
     37                                $(MAKE) Behavioural_library;
     38
     39@COMPONENT_library_clean        : @COMPONENT_library_clean_only
     40                                @\
     41                                $(MAKE) Behavioural_library_clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Constants.h

    r137 r142  
    704704  //--------------------------------------------------[ instruction ]-----
    705705#  define NB_INSTRUCTION                           213        // 92 ORBIS, 30 ORFPX (15 simple, 15 double), 91 ORVDX (38 on byte, 41 on half, 12 independant format)
     706#  define SIZE_INSTRUCTION                         8
     707#  define MAX_INSTRUCTION                          (1<<SIZE_TYPE)
    706708
    707709  enum
     
    13631365  };
    13641366
     1367  inline std::string toString_operation(const morpheo::behavioural::type_t& type, const uint32_t& operation)
     1368  {
     1369    switch (type)
     1370      {
     1371      case morpheo::behavioural::TYPE_ALU     :
     1372        {
     1373          switch (operation)
     1374            {
     1375            case OPERATION_ALU_L_ADD              : return "L_ADD";
     1376            case OPERATION_ALU_L_ADDC             : return "L_ADDC";
     1377            case OPERATION_ALU_L_SUB              : return "L_SUB";
     1378            case OPERATION_ALU_L_AND              : return "L_AND";
     1379            case OPERATION_ALU_L_OR               : return "L_OR";
     1380            case OPERATION_ALU_L_XOR              : return "L_XOR";
     1381            default :
     1382              {
     1383                break;
     1384              }
     1385            }
     1386          break;
     1387        }
     1388      case morpheo::behavioural::TYPE_SHIFT   :
     1389        {
     1390          switch (operation)
     1391            {
     1392            case OPERATION_SHIFT_L_SLL            : return "L_SLL";
     1393            case OPERATION_SHIFT_L_SRA            : return "L_SRA";
     1394            case OPERATION_SHIFT_L_SRL            : return "L_SRL";
     1395            case OPERATION_SHIFT_L_ROR            : return "L_ROR";
     1396            default :
     1397              {
     1398                break;
     1399              }
     1400            }
     1401          break;
     1402        }
     1403      case morpheo::behavioural::TYPE_MOVE    :
     1404        {
     1405          switch (operation)
     1406            {
     1407            case OPERATION_MOVE_L_MOVHI           : return "L_MOVHI";
     1408            case OPERATION_MOVE_L_CMOV            : return "L_CMOV";
     1409            default :
     1410              {
     1411                break;
     1412              }
     1413            }
     1414          break;
     1415        }
     1416      case morpheo::behavioural::TYPE_TEST    :
     1417        {
     1418          switch (operation)
     1419            {
     1420            case OPERATION_TEST_L_SFGES           : return "L_SFGES";
     1421            case OPERATION_TEST_L_SFGEU           : return "L_SFGEU";
     1422            case OPERATION_TEST_L_SFGTS           : return "L_SFGTS";
     1423            case OPERATION_TEST_L_SFGTU           : return "L_SFGTU";
     1424            case OPERATION_TEST_L_SFLES           : return "L_SFLES";
     1425            case OPERATION_TEST_L_SFLEU           : return "L_SFLEU";
     1426            case OPERATION_TEST_L_SFLTS           : return "L_SFLTS";
     1427            case OPERATION_TEST_L_SFLTU           : return "L_SFLTU";
     1428            case OPERATION_TEST_L_SFEQ            : return "L_SFEQ";
     1429            case OPERATION_TEST_L_SFNE            : return "L_SFNE";
     1430            default :
     1431              {
     1432                break;
     1433              }
     1434            }
     1435          break;
     1436        }
     1437      case morpheo::behavioural::TYPE_MUL     :
     1438        {
     1439          switch (operation)
     1440            {
     1441            case OPERATION_MUL_L_MUL              : return "L_MUL";
     1442            case OPERATION_MUL_L_MULU             : return "L_MULU";
     1443            default :
     1444              {
     1445                break;
     1446              }
     1447            }
     1448          break;
     1449        }
     1450      case morpheo::behavioural::TYPE_DIV     :
     1451        {
     1452          switch (operation)
     1453            {
     1454            case OPERATION_DIV_L_DIV              : return "L_DIV";
     1455            case OPERATION_DIV_L_DIVU             : return "L_DIVU";
     1456            default :
     1457              {
     1458                break;
     1459              }
     1460            }
     1461          break;
     1462        }
     1463      case morpheo::behavioural::TYPE_EXTEND  :
     1464        {
     1465          switch (operation)
     1466            {
     1467            case OPERATION_EXTEND_L_EXTEND_Z      : return "L_EXTEND_Z";
     1468            case OPERATION_EXTEND_L_EXTEND_S      : return "L_EXTEND_S";
     1469            default :
     1470              {
     1471                break;
     1472              }
     1473            }
     1474          break;
     1475        }
     1476      case morpheo::behavioural::TYPE_FIND    :
     1477        {
     1478          switch (operation)
     1479            {
     1480            case OPERATION_FIND_L_FF1             : return "L_FF1";
     1481            case OPERATION_FIND_L_FL1             : return "L_FL1";
     1482            default :
     1483              {
     1484                break;
     1485              }
     1486            }
     1487          break;
     1488        }
     1489      case morpheo::behavioural::TYPE_SPECIAL :
     1490        {
     1491          switch (operation)
     1492            {
     1493            default :
     1494              {
     1495            case OPERATION_SPECIAL_L_NOP          : return "L_NOP";
     1496            case OPERATION_SPECIAL_L_MFSPR        : return "L_MFSPR";
     1497            case OPERATION_SPECIAL_L_MTSPR        : return "L_MTSPR";
     1498            case OPERATION_SPECIAL_L_RFE          : return "L_RFE";
     1499            case OPERATION_SPECIAL_L_MAC          : return "L_MAC";
     1500            case OPERATION_SPECIAL_L_MACRC        : return "L_MACRC";
     1501            case OPERATION_SPECIAL_L_MSB          : return "L_MSB";
     1502            case OPERATION_SPECIAL_L_SYS          : return "L_SYS";
     1503            case OPERATION_SPECIAL_L_TRAP         : return "L_TRAP";
     1504                break;
     1505              }
     1506            }
     1507          break;
     1508        }
     1509      case morpheo::behavioural::TYPE_CUSTOM  :
     1510        {
     1511          switch (operation)
     1512            {
     1513            case OPERATION_CUSTOM_L_1             : return "L_1";
     1514            case OPERATION_CUSTOM_L_2             : return "L_2";
     1515            case OPERATION_CUSTOM_L_3             : return "L_3";
     1516            case OPERATION_CUSTOM_L_4             : return "L_4";
     1517            case OPERATION_CUSTOM_L_5             : return "L_5";
     1518            case OPERATION_CUSTOM_L_6             : return "L_6";
     1519            case OPERATION_CUSTOM_L_7             : return "L_7";
     1520            case OPERATION_CUSTOM_L_8             : return "L_8";
     1521            case OPERATION_CUSTOM_LF_1_D          : return "LF_1_D";
     1522            case OPERATION_CUSTOM_LF_1_S          : return "LF_1_S";
     1523            case OPERATION_CUSTOM_LV_1            : return "LV_1";
     1524            case OPERATION_CUSTOM_LV_2            : return "LV_2";
     1525            case OPERATION_CUSTOM_LV_3            : return "LV_3";
     1526            case OPERATION_CUSTOM_LV_4            : return "LV_4";
     1527            default :
     1528              {
     1529                break;
     1530              }
     1531            }
     1532          break;
     1533        }
     1534      case morpheo::behavioural::TYPE_BRANCH  :
     1535        {
     1536          switch (operation)
     1537            {
     1538            case OPERATION_BRANCH_NONE            : return "NONE";
     1539            case OPERATION_BRANCH_L_TEST_NF       : return "L_TEST_NF";
     1540            case OPERATION_BRANCH_L_TEST_F        : return "L_TEST_F";
     1541            case OPERATION_BRANCH_L_JALR          : return "L_JALR";
     1542            default :
     1543              {
     1544                break;
     1545              }
     1546            }
     1547          break;
     1548        }
     1549      case morpheo::behavioural::TYPE_MEMORY  :
     1550        {
     1551          switch (operation)
     1552            {
     1553            case OPERATION_MEMORY_LOAD_8_Z        : return "LOAD_8_Z";
     1554            case OPERATION_MEMORY_LOAD_16_Z       : return "LOAD_16_Z";
     1555            case OPERATION_MEMORY_LOAD_32_Z       : return "LOAD_32_Z";
     1556            case OPERATION_MEMORY_LOAD_64_Z       : return "LOAD_64_Z";
     1557            case OPERATION_MEMORY_LOAD_8_S        : return "LOAD_8_S";
     1558            case OPERATION_MEMORY_LOAD_16_S       : return "LOAD_16_S";
     1559            case OPERATION_MEMORY_LOAD_32_S       : return "LOAD_32_S";
     1560            case OPERATION_MEMORY_LOAD_64_S       : return "LOAD_64_S";
     1561            case OPERATION_MEMORY_STORE_8         : return "STORE_8";
     1562            case OPERATION_MEMORY_STORE_16        : return "STORE_16";
     1563            case OPERATION_MEMORY_STORE_32        : return "STORE_32";
     1564            case OPERATION_MEMORY_STORE_64        : return "STORE_64";
     1565            case OPERATION_MEMORY_STORE_HEAD_OK   : return "STORE_HEAD_OK";
     1566            case OPERATION_MEMORY_STORE_HEAD_KO   : return "STORE_HEAD_KO";
     1567            case OPERATION_MEMORY_LOCK            : return "LOCK";
     1568            case OPERATION_MEMORY_INVALIDATE      : return "INVALIDATE";
     1569            case OPERATION_MEMORY_PREFETCH        : return "PREFETCH";
     1570            case OPERATION_MEMORY_FLUSH           : return "FLUSH";
     1571            case OPERATION_MEMORY_SYNCHRONIZATION : return "SYNCHRONIZATION";
     1572            default :
     1573              {
     1574                break;
     1575              }
     1576            }
     1577          break;
     1578        }
     1579      case morpheo::behavioural::TYPE_INVALID :
     1580      default :
     1581        {
     1582          break;
     1583        }
     1584      }
     1585
     1586    return "";
     1587  };
     1588
    13651589}; // end namespace morpheo             
    13661590
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Signal.h

    r139 r142  
    187187      log_printf(FUNC,Behavioural,FUNCTION,"End");
    188188    }
    189 
    190 
    191 #undef  FUNCTION
    192 #define FUNCTION "Signal::alloc"
    193   void              dealloc         (void)
    194     {
    195       log_printf(FUNC,Behavioural,FUNCTION,"Begin");
    196 
    197       switch (_direction)
    198         {
    199         case INTERNAL :
    200           switch (_type_info)
    201             {
    202             case BOOL     : delete (static_cast<sc_signal <bool    > *>(_sc_signal_map)); break;
    203             case UINT8_T  : delete (static_cast<sc_signal <uint8_t > *>(_sc_signal_map)); break;
    204             case UINT16_T : delete (static_cast<sc_signal <uint16_t> *>(_sc_signal_map)); break;
    205             case UINT32_T : delete (static_cast<sc_signal <uint32_t> *>(_sc_signal_map)); break;
    206             case UINT64_T : delete (static_cast<sc_signal <uint64_t> *>(_sc_signal_map)); break;
    207             default       : throw (ErrorMorpheo ("Signal \""+_name+"\" : type unknow.\n"));
    208             }
    209         default : throw (ErrorMorpheo ("Signal \""+_name+"\" : invalid direction.\n"));
    210 
    211 
    212         }
    213 
    214       log_printf(FUNC,Behavioural,FUNCTION,"End");
    215     }
    216 
     189   
     190  public    : void              dealloc         (void);
    217191#ifdef VHDL
    218192  public    : void              set_port        (Vhdl * & vhdl);
  • trunk/IPs/systemC/processor/Morpheo/Common/Makefile.deps

    r113 r142  
    88# DIR_MORPHEO must be defined
    99
    10 Common                  =       yes
     10Common                          =       yes
    1111
    1212#-----[ Directory ]----------------------------------------
    1313
    14 Common_DIR              =       $(DIR_MORPHEO)/Common
     14Common_DIR                      =       $(DIR_MORPHEO)/Common
    1515
    1616#-----[ Library ]------------------------------------------
    1717
    18 Common_SOURCES          =       $(Common_DIR)/src/*.cpp
     18Common_SOURCES                  =       $(Common_DIR)/src/*.cpp
    1919
    20 Common_LIBRARY          =       -lCommon
     20Common_LIBRARY                  =       -lCommon
    2121
    22 Common_DIR_LIBRARY      =       -L$(Common_DIR)/lib
     22Common_DIR_LIBRARY              =       -L$(Common_DIR)/lib
    2323
    2424#-----[ Rules ]--------------------------------------------
    2525
    26 Common_library          :
    27                         @\
    28                         $(MAKE) --directory=$(Common_DIR) --makefile=Makefile
     26Common_library_only             :
     27                                @\
     28                                $(MAKE) --directory=$(Common_DIR) --makefile=Makefile
    2929
    30 Common_library_clean    :
    31                         @\
    32                         $(MAKE) --directory=$(Common_DIR) --makefile=Makefile clean
     30Common_library_clean_only       :
     31                                @\
     32                                $(MAKE) --directory=$(Common_DIR) --makefile=Makefile clean
     33
     34Common_library                  : Common_library_only
     35
     36Common_library_clean            : Common_library_clean_only
  • trunk/IPs/systemC/processor/Morpheo/Common/include/Debug.h

    r138 r142  
    7373#define debug_test_simulation_time true
    7474#endif
     75
     76  /*
     77# define log_test(level, component)                                     \
     78  do                                                                    \
     79    {                                                                   \
     80      debug_init();                                                     \
     81                                                                        \
     82      msgInformation("debug_test_simuation_time : %d",debug_test_simulation_time); \
     83      msgInformation("level                     : %d",( DEBUG_ ## level <= debug)); \
     84      msgInformation("component                 : %d", morpheo::behavioural::_model.get_debug(NAME_ ## component)); \
     85    } while(0)
     86  */
    7587 
    7688#ifdef DEBUG
  • trunk/IPs/systemC/processor/Morpheo/TopLevel/Makefile.deps

    r88 r142  
    1010Morpheo                         = yes
    1111
     12ifndef Divider
     13include                         $(DIR_MORPHEO)/Behavioural/Generic/Divider/Makefile.deps
     14endif
     15ifndef Victim_Pseudo_LRU
     16include                         $(DIR_MORPHEO)/Behavioural/Generic/Victim/Victim_Pseudo_LRU/Makefile.deps
     17endif
     18ifndef Victim
     19include                         $(DIR_MORPHEO)/Behavioural/Generic/Victim/Makefile.deps
     20endif
     21ifndef Select_Priority_Fixed
     22include                         $(DIR_MORPHEO)/Behavioural/Generic/Select/Select_Priority_Fixed/Makefile.deps
     23endif
     24ifndef Sort
     25include                         $(DIR_MORPHEO)/Behavioural/Generic/Sort/Makefile.deps
     26endif
     27ifndef Comparator
     28include                         $(DIR_MORPHEO)/Behavioural/Generic/Comparator/Makefile.deps
     29endif
     30ifndef Queue_Control
     31include                         $(DIR_MORPHEO)/Behavioural/Generic/Queue_Control/Makefile.deps
     32endif
     33ifndef Priority
     34include                         $(DIR_MORPHEO)/Behavioural/Generic/Priority/Makefile.deps
     35endif
     36ifndef Queue
     37include                         $(DIR_MORPHEO)/Behavioural/Generic/Queue/Makefile.deps
     38endif
     39ifndef RegisterFile_Monolithic
     40include                         $(DIR_MORPHEO)/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/Makefile.deps
     41endif
     42ifndef RegisterFile
     43include                         $(DIR_MORPHEO)/Behavioural/Generic/RegisterFile/Makefile.deps
     44endif
     45ifndef RegisterFile_Multi_Banked
     46include                         $(DIR_MORPHEO)/Behavioural/Generic/RegisterFile/RegisterFile_Multi_Banked/Makefile.deps
     47endif
     48ifndef Counter
     49include                         $(DIR_MORPHEO)/Behavioural/Generic/Counter/Makefile.deps
     50endif
     51ifndef Shifter
     52include                         $(DIR_MORPHEO)/Behavioural/Generic/Shifter/Makefile.deps
     53endif
     54ifndef Multiplier
     55include                         $(DIR_MORPHEO)/Behavioural/Generic/Multiplier/Makefile.deps
     56endif
     57ifndef Custom
     58include                         $(DIR_MORPHEO)/Behavioural/Custom/Makefile.deps
     59endif
    1260ifndef Configuration
    1361include                         $(DIR_MORPHEO)/Behavioural/Configuration/Makefile.deps
    1462endif
     63ifndef Instruction
     64include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod/Instruction/Makefile.deps
     65endif
     66ifndef Decod
     67include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod/Makefile.deps
     68endif
     69ifndef Decod_queue
     70include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod_queue/Makefile.deps
     71endif
     72ifndef Decod_unit
     73include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Makefile.deps
     74endif
     75ifndef Return_Address_Stack
     76include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Return_Address_Stack/Makefile.deps
     77endif
     78ifndef Branch_Target_Buffer_Register
     79include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Branch_Target_Buffer/Branch_Target_Buffer_Register/Makefile.deps
     80endif
     81ifndef Branch_Target_Buffer
     82include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Branch_Target_Buffer/Makefile.deps
     83endif
     84ifndef Branch_Target_Buffer_Glue
     85include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Branch_Target_Buffer/Branch_Target_Buffer_Glue/Makefile.deps
     86endif
     87ifndef Prediction_unit_Glue
     88include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Prediction_unit_Glue/Makefile.deps
     89endif
     90ifndef Direction_Glue
     91include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Direction_Glue/Makefile.deps
     92endif
     93ifndef Meta_Predictor_Glue
     94include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/Makefile.deps
     95endif
     96ifndef Two_Level_Branch_Predictor
     97include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Makefile.deps
     98endif
     99ifndef Meta_Predictor
     100include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Makefile.deps
     101endif
     102ifndef Direction
     103include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Makefile.deps
     104endif
     105ifndef Update_Prediction_Table
     106include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Update_Prediction_Table/Makefile.deps
     107endif
     108ifndef Prediction_unit
     109include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Makefile.deps
     110endif
     111ifndef Front_end_Glue
     112include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Front_end_Glue/Makefile.deps
     113endif
     114ifndef Front_end
     115include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Makefile.deps
     116endif
     117ifndef Context_State
     118include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Context_State/Makefile.deps
     119endif
     120ifndef Ifetch_unit_Glue
     121include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/Ifetch_unit_Glue/Makefile.deps
     122endif
     123ifndef Address_management
     124include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/Address_management/Makefile.deps
     125endif
     126ifndef Ifetch_unit
     127include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/Makefile.deps
     128endif
     129ifndef Ifetch_queue
     130include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/Ifetch_queue/Makefile.deps
     131endif
     132ifndef Icache_Access
     133include                         $(DIR_MORPHEO)/Behavioural/Core/Icache_Access/Makefile.deps
     134endif
     135ifndef Core_Glue
     136include                         $(DIR_MORPHEO)/Behavioural/Core/Core_Glue/Makefile.deps
     137endif
     138ifndef Load_store_unit
     139include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Load_store_unit/Makefile.deps
     140endif
     141ifndef Operation
     142include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Functionnal_unit/Operation/Makefile.deps
     143endif
     144ifndef Functionnal_unit
     145include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Functionnal_unit/Makefile.deps
     146endif
     147ifndef Register_unit
     148include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit/Makefile.deps
     149endif
     150ifndef Register_unit_Glue
     151include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit/Register_unit_Glue/Makefile.deps
     152endif
     153ifndef Read_queue
     154include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Read_queue/Makefile.deps
     155endif
     156ifndef Reservation_station
     157include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station/Makefile.deps
     158endif
     159ifndef Read_unit
     160include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Makefile.deps
     161endif
     162ifndef Execute_loop_Glue
     163include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Execute_loop_Glue/Makefile.deps
     164endif
     165ifndef Write_queue
     166include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Write_unit/Write_unit/Write_queue/Makefile.deps
     167endif
     168ifndef Write_unit
     169include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Write_unit/Write_unit/Makefile.deps
     170endif
     171ifndef Execute_queue
     172include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Write_unit/Write_unit/Execute_queue/Makefile.deps
     173endif
     174ifndef Execute_loop
     175include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Makefile.deps
     176endif
     177ifndef Execution_unit_to_Write_unit
     178include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Network/Execution_unit_to_Write_unit/Makefile.deps
     179endif
     180ifndef Read_unit_to_Execution_unit
     181include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Network/Read_unit_to_Execution_unit/Makefile.deps
     182endif
     183ifndef Dcache_Access
     184include                         $(DIR_MORPHEO)/Behavioural/Core/Dcache_Access/Makefile.deps
     185endif
     186ifndef Special_Register_unit
     187include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Special_Register_unit/Makefile.deps
     188endif
     189ifndef Issue_queue
     190include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Issue_queue/Makefile.deps
     191endif
     192ifndef Free_List_unit
     193include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Free_List_unit/Makefile.deps
     194endif
     195ifndef Register_translation_unit_Glue
     196include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Register_translation_unit_Glue/Makefile.deps
     197endif
     198ifndef Register_Address_Translation_unit
     199include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Register_Address_Translation_unit/Makefile.deps
     200endif
     201ifndef Register_translation_unit
     202include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Makefile.deps
     203endif
     204ifndef Dependency_checking_unit
     205include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Dependency_checking_unit/Makefile.deps
     206endif
     207ifndef Stat_List_unit
     208include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Stat_List_unit/Makefile.deps
     209endif
     210ifndef Rename_select
     211include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Rename_select/Makefile.deps
     212endif
     213ifndef Load_Store_pointer_unit
     214include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Load_Store_pointer_unit/Makefile.deps
     215endif
     216ifndef Rename_unit
     217include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Makefile.deps
     218endif
     219ifndef Rename_unit_Glue
     220include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Rename_unit_Glue/Makefile.deps
     221endif
     222ifndef Commit_unit
     223include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/Makefile.deps
     224endif
     225ifndef Reexecute_unit
     226include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Reexecute_unit/Makefile.deps
     227endif
     228ifndef OOO_Engine
     229include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Makefile.deps
     230endif
     231ifndef OOO_Engine_Glue
     232include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/OOO_Engine_Glue/Makefile.deps
     233endif
    15234ifndef Core
    16235include                         $(DIR_MORPHEO)/Behavioural/Core/Makefile.deps
     236endif
     237ifndef Behavioural
     238include                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
     239endif
     240ifndef Common
     241include                         $(DIR_MORPHEO)/Common/Makefile.deps
    17242endif
    18243
     
    27252                                        $(Core_LIBRARY)
    28253
    29 Morpheo_DIR_LIBRARY             =       -L$(Morpheo_DIR)/lib            \
    30                                         $(Configuration_DIR_LIBRARY)    \
    31                                         $(Core_DIR_LIBRARY)
    32 
    33254#-----[ Rules ]--------------------------------------------
    34255
    35 Morpheo_library                 :
     256Morpheo_library_only            :
     257                                @\
     258                                $(MAKE) --directory=$(Morpheo_DIR) --makefile=Makefile;
     259
     260Morpheo_library_clean_only      :
     261                                @\
     262                                $(MAKE) --directory=$(Morpheo_DIR) --makefile=Makefile clean;
     263
     264Morpheo_library_step            :       
     265                                        @\
     266                                        $(MAKE) Morpheo_library_only;\
     267                                        $(MAKE) Comparator_library_only;\
     268                                        $(MAKE) Counter_library_only;\
     269                                        $(MAKE) Divider_library_only;\
     270                                        $(MAKE) Multiplier_library_only;\
     271                                        $(MAKE) Priority_library_only;\
     272                                        $(MAKE) Queue_Control_library_only;\
     273                                        $(MAKE) Queue_library_only;\
     274                                        $(MAKE) RegisterFile_Monolithic_library_only;\
     275                                        $(MAKE) RegisterFile_Multi_Banked_library_only;\
     276                                        $(MAKE) RegisterFile_library_only;\
     277                                        $(MAKE) Select_Priority_Fixed_library_only;\
     278                                        $(MAKE) Shifter_library_only;\
     279                                        $(MAKE) Sort_library_only;\
     280                                        $(MAKE) Victim_Pseudo_LRU_library_only;\
     281                                        $(MAKE) Victim_library_only;\
     282                                        $(MAKE) Execute_loop_Glue_library_only;\
     283                                        $(MAKE) Operation_library_only;\
     284                                        $(MAKE) Functionnal_unit_library_only;\
     285                                        $(MAKE) Load_store_unit_library_only;\
     286                                        $(MAKE) Read_queue_library_only;\
     287                                        $(MAKE) Reservation_station_library_only;\
     288                                        $(MAKE) Read_unit_library_only;\
     289                                        $(MAKE) Execute_queue_library_only;\
     290                                        $(MAKE) Write_queue_library_only;\
     291                                        $(MAKE) Write_unit_library_only;\
     292                                        $(MAKE) Execution_unit_to_Write_unit_library_only;\
     293                                        $(MAKE) Read_unit_to_Execution_unit_library_only;\
     294                                        $(MAKE) Register_unit_Glue_library_only;\
     295                                        $(MAKE) Register_unit_library_only;\
     296                                        $(MAKE) Execute_loop_library_only;\
     297                                        $(MAKE) Commit_unit_library_only;\
     298                                        $(MAKE) Issue_queue_library_only;\
     299                                        $(MAKE) OOO_Engine_Glue_library_only;\
     300                                        $(MAKE) Reexecute_unit_library_only;\
     301                                        $(MAKE) Load_Store_pointer_unit_library_only;\
     302                                        $(MAKE) Dependency_checking_unit_library_only;\
     303                                        $(MAKE) Free_List_unit_library_only;\
     304                                        $(MAKE) Register_Address_Translation_unit_library_only;\
     305                                        $(MAKE) Register_translation_unit_Glue_library_only;\
     306                                        $(MAKE) Stat_List_unit_library_only;\
     307                                        $(MAKE) Register_translation_unit_library_only;\
     308                                        $(MAKE) Rename_unit_Glue_library_only;\
     309                                        $(MAKE) Rename_select_library_only;\
     310                                        $(MAKE) Rename_unit_library_only;\
     311                                        $(MAKE) Special_Register_unit_library_only;\
     312                                        $(MAKE) OOO_Engine_library_only;\
     313                                        $(MAKE) Context_State_library_only;\
     314                                        $(MAKE) Instruction_library_only;\
     315                                        $(MAKE) Decod_library_only;\
     316                                        $(MAKE) Decod_queue_library_only;\
     317                                        $(MAKE) Decod_unit_library_only;\
     318                                        $(MAKE) Front_end_Glue_library_only;\
     319                                        $(MAKE) Address_management_library_only;\
     320                                        $(MAKE) Ifetch_queue_library_only;\
     321                                        $(MAKE) Ifetch_unit_Glue_library_only;\
     322                                        $(MAKE) Ifetch_unit_library_only;\
     323                                        $(MAKE) Branch_Target_Buffer_Glue_library_only;\
     324                                        $(MAKE) Branch_Target_Buffer_Register_library_only;\
     325                                        $(MAKE) Branch_Target_Buffer_library_only;\
     326                                        $(MAKE) Direction_Glue_library_only;\
     327                                        $(MAKE) Direction_library_only;\
     328                                        $(MAKE) Two_Level_Branch_Predictor_library_only;\
     329                                        $(MAKE) Meta_Predictor_Glue_library_only;\
     330                                        $(MAKE) Meta_Predictor_library_only;\
     331                                        $(MAKE) Prediction_unit_Glue_library_only;\
     332                                        $(MAKE) Return_Address_Stack_library_only;\
     333                                        $(MAKE) Update_Prediction_Table_library_only;\
     334                                        $(MAKE) Prediction_unit_library_only;\
     335                                        $(MAKE) Front_end_library_only;\
     336                                        $(MAKE) Icache_Access_library_only;\
     337                                        $(MAKE) Dcache_Access_library_only;\
     338                                        $(MAKE) Core_Glue_library_only;\
     339                                        $(MAKE) Core_library_only;\
     340                                        $(MAKE) Behavioural_library_only;\
     341                                        $(MAKE) Custom_library_only;\
     342                                        $(MAKE) Common_library_only;\
     343                                        $(MAKE) Configuration_library_only
     344
     345#                                       $(MAKE) Select_library_only;\
     346
     347Morpheo_library_parallel        :       Morpheo_library_only\
     348                                        Comparator_library_only\
     349                                        Counter_library_only\
     350                                        Divider_library_only\
     351                                        Multiplier_library_only\
     352                                        Priority_library_only\
     353                                        Queue_Control_library_only\
     354                                        Queue_library_only\
     355                                        RegisterFile_Monolithic_library_only\
     356                                        RegisterFile_Multi_Banked_library_only\
     357                                        RegisterFile_library_only\
     358                                        Select_Priority_Fixed_library_only\
     359                                        Shifter_library_only\
     360                                        Sort_library_only\
     361                                        Victim_Pseudo_LRU_library_only\
     362                                        Victim_library_only\
     363                                        Execute_loop_Glue_library_only\
     364                                        Operation_library_only\
     365                                        Functionnal_unit_library_only\
     366                                        Load_store_unit_library_only\
     367                                        Read_queue_library_only\
     368                                        Reservation_station_library_only\
     369                                        Read_unit_library_only\
     370                                        Execute_queue_library_only\
     371                                        Write_queue_library_only\
     372                                        Write_unit_library_only\
     373                                        Execution_unit_to_Write_unit_library_only\
     374                                        Read_unit_to_Execution_unit_library_only\
     375                                        Register_unit_Glue_library_only\
     376                                        Register_unit_library_only\
     377                                        Execute_loop_library_only\
     378                                        Commit_unit_library_only\
     379                                        Issue_queue_library_only\
     380                                        OOO_Engine_Glue_library_only\
     381                                        Reexecute_unit_library_only\
     382                                        Load_Store_pointer_unit_library_only\
     383                                        Dependency_checking_unit_library_only\
     384                                        Free_List_unit_library_only\
     385                                        Register_Address_Translation_unit_library_only\
     386                                        Register_translation_unit_Glue_library_only\
     387                                        Stat_List_unit_library_only\
     388                                        Register_translation_unit_library_only\
     389                                        Rename_unit_Glue_library_only\
     390                                        Rename_select_library_only\
     391                                        Rename_unit_library_only\
     392                                        Special_Register_unit_library_only\
     393                                        OOO_Engine_library_only\
     394                                        Context_State_library_only\
     395                                        Instruction_library_only\
     396                                        Decod_library_only\
     397                                        Decod_queue_library_only\
     398                                        Decod_unit_library_only\
     399                                        Front_end_Glue_library_only\
     400                                        Address_management_library_only\
     401                                        Ifetch_queue_library_only\
     402                                        Ifetch_unit_Glue_library_only\
     403                                        Ifetch_unit_library_only\
     404                                        Branch_Target_Buffer_Glue_library_only\
     405                                        Branch_Target_Buffer_Register_library_only\
     406                                        Branch_Target_Buffer_library_only\
     407                                        Direction_Glue_library_only\
     408                                        Direction_library_only\
     409                                        Two_Level_Branch_Predictor_library_only\
     410                                        Meta_Predictor_Glue_library_only\
     411                                        Meta_Predictor_library_only\
     412                                        Prediction_unit_Glue_library_only\
     413                                        Return_Address_Stack_library_only\
     414                                        Update_Prediction_Table_library_only\
     415                                        Prediction_unit_library_only\
     416                                        Front_end_library_only\
     417                                        Icache_Access_library_only\
     418                                        Dcache_Access_library_only\
     419                                        Core_Glue_library_only\
     420                                        Core_library_only\
     421                                        Behavioural_library_only\
     422                                        Custom_library_only\
     423                                        Common_library_only\
     424                                        Configuration_library_only
     425
     426Morpheo_library_old             : Morpheo_library_only
    36427                                @\
    37428                                $(MAKE) Configuration_library;          \
    38                                 $(MAKE) Core_library;                   \
    39                                 $(MAKE) --directory=$(Morpheo_DIR) --makefile=Makefile;
    40 
    41 Morpheo_library_clean           :
     429                                $(MAKE) Core_library;
     430
     431Morpheo_library                 : Morpheo_library_parallel
     432
     433Morpheo_library_clean           : Morpheo_library_clean_only
    42434                                @\
    43435                                $(MAKE) Configuration_library_clean;    \
    44                                 $(MAKE) Core_library_clean;             \
    45                                 $(MAKE) --directory=$(Morpheo_DIR) --makefile=Makefile clean;
    46 
    47 
     436                                $(MAKE) Core_library_clean;
  • trunk/Makefile.flags

    r139 r142  
    2020#-----[ Flags ]--------------------------------------------
    2121MORPHEO_TYPE                    ?= debug_systemc
     22
     23MORPHEO_TYPE_LIST               = "systemc" "vhdl" "cosim" "debug" "debug_systemc"
    2224
    2325MORPHEO_systemc_FLAGS           =       -DSYSTEMC               \
  • trunk/Platforms/Test/Makefile

    r139 r142  
    171171                                fi;
    172172
    173 execute                         : run
    174 
    175173debug                           :
    176174                                @\
     
    300298                                $(ECHO) "                         set CLEAN    to remove previous log (default : 0)";\
    301299                                $(ECHO) "                         example : make run DATA=debug PRIORITY=10 CLEAN";\
    302                                 $(ECHO) " * execute             : cf 'make run'";\
    303300                                $(ECHO) " * debug               : cf 'make run DATA=debug'";\
    304301                                $(ECHO) " * bench               : cf 'make run DATA=bench'";\
     
    307304                                $(ECHO) " * lib                 : make library";\
    308305                                $(ECHO) " * soft                : make software";\
     306                                $(ECHO) " * env                 : execute rule \"lib\" and \"soft\"";\
    309307                                $(ECHO) " * clean               : erase temporary files";\
    310308                                $(ECHO) " * clean_all           : erase generated files";\
    311309                                $(ECHO) " * help                : print this message";\
     310                                $(ECHO) ""; \
     311                                $(ECHO) "In the compilation, set MORPHEO_TYPE for set/unset flags"; \
     312                                $(ECHO) "MORPHEO_TYPE can be set at $(MORPHEO_TYPE_LIST)"; \
     313                                $(ECHO) "Actual MORPHEO_TYPE is \"$(MORPHEO_TYPE)\""; \
    312314                                $(ECHO) "";
    313315
  • trunk/Platforms/Test/data/debug/debug.cfg

    r141 r142  
    22${MORPHEO_TOPLEVEL}/IPs/systemC/processor/Morpheo/Files/Morpheo.gen
    33${MORPHEO_TOPLEVEL}/IPs/systemC/processor/Morpheo/Files/debug.cfg
    4 ${MORPHEO_TOPLEVEL}/Softwares/Test/Test_074/bin/soft_NEWLIB_MORPHEO.x
     4${MORPHEO_TOPLEVEL}/Softwares/Test/Test_011/bin/soft_NEWLIB_MORPHEO.x
    550
    660
  • trunk/Platforms/Test/src/sc_main.cpp

    r138 r142  
    4343{
    4444  msgInformation("<sc_main> Begin\n");
     45
     46  sc_report_handler::set_actions("/IEEE_Std_1666/deprecated", SC_DO_NOTHING);
    4547
    4648#ifdef MTI_SYSTEMC
  • trunk/Version

    r141 r142  
    1 0 2 141 Castor 02 08 2010
     10 2 142 Castor 04 08 2010
Note: See TracChangeset for help on using the changeset viewer.