Ignore:
Timestamp:
Apr 14, 2009, 8:39:12 PM (15 years ago)
Author:
rosiere
Message:

1) Add modelsim simulation systemC
2) Modelsim cosimulation systemC / VHDL is not finish !!!! (cf execute_queue and write_unit)
3) Add multi architecture
5) Add template for comparator, multiplier and divider
6) Change Message
Warning) Various test macro have change, many selftest can't compile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Makefile.Component

    r88 r113  
    22DIR_DOC                         = doc
    33DIR_TEST                        = SelfTest
    4 DIR_LIB                         = lib
    54
    65#-----[ Variable ]-----------------------------------------
     
    1110#.NOTPARALLEL                   : clean help
    1211
    13 all_component                   : test_env $(DIR_OBJ) $(DIR_LIB) $(OBJECTS) $(HEADERS)
    14                                 @$(MAKE) $(LIBRARY)
     12all_component                   : test_env $(DIR_OBJ) $(DIR_LIB)
     13                                @\
     14                                $(MAKE) $(LIBRARY);
    1515
    16 $(DIR_LIB)/%.a                  : $(OBJECTS) $(HEADERS)
     16# if simulator is modelsim, libComponent.a is a directory, else is normal library generated by g++
     17
     18$(DIR_LIB)/%.a                  : $(SOURCES) $(HEADERS)
    1719                                @\
    18                                 $(ECHO) "Archive            : $*";\
    19                                 $(AR)  -r $@ $(OBJECTS);\
    20                                 $(RANLIB) $@;
     20                                case "${SIMULATOR}" in                                                          \
     21                                    "modelsim")                                                                 \
     22                                        $(MODELTECH_VLIB) $@;                                                   \
     23                                        $(MODELTECH_SCCOM) $(CFLAGS) $(SOURCES) -work $@;                       \
     24                                        ;;                                                                      \
     25                                    *)                                                                          \
     26                                        $(MAKE) $(OBJECTS);                                                     \
     27                                        $(ECHO) "Archive            : $*";                                      \
     28                                        $(AR)  -r $@ $(OBJECTS);                                                \
     29                                        $(RANLIB) $@;                                                           \
     30                                        ;;                                                                      \
     31                                esac;
    2132
    2233$(DIR_LIB)                      :
     
    2940
    3041component_clean                 :
    31                                 @$(RM) $(DIR_LIB)
    32 
     42                                @$(RM) $(LIBRARY)
    3343#                               if $(TEST) -d $(DIR_DOC); then $(MAKE) --directory=$(DIR_DOC) --makefile=Makefile clean; fi;
    3444
    3545component_clean_all             : component_clean
    36 
     46                                @$(RM) $(DIR_LIB)
    3747#                               if $(TEST) -d $(DIR_DOC); then $(MAKE) --directory=$(DIR_DOC) --makefile=Makefile clean_all; fi;
    3848                               
     
    4656                                $(ECHO) " * help                 : print this text";\
    4757                                $(ECHO) "";
    48                                
    4958
    5059help                            :
     
    5867                                $(MAKE) component_clean;
    5968
    60 clean_all                               :
     69clean_all                       :
    6170                                @\
    6271                                $(MAKE) common_clean_all ;\
Note: See TracChangeset for help on using the changeset viewer.