[88] | 1 | # |
---|
| 2 | # $Id: Makefile.flags 143 2010-09-02 14:33:08Z rosiere $ |
---|
| 3 | # |
---|
| 4 | # [ Description ] |
---|
| 5 | # |
---|
| 6 | |
---|
[143] | 7 | ifeq ($(origin MORPHEO_TYPE), undefined) |
---|
| 8 | $(error "variable MORPHEO_TYPE is undefined"); |
---|
| 9 | endif |
---|
| 10 | |
---|
[88] | 11 | #-----[ Simulator ]---------------------------------------- |
---|
[133] | 12 | SIMULATOR_SYSTEMC ?= systemc |
---|
[117] | 13 | SIMULATOR_VHDL ?= modelsim |
---|
[88] | 14 | |
---|
[117] | 15 | # 4 simulators for systemC : |
---|
[135] | 16 | # systemc - supported - SystemC 2.2.0 |
---|
[117] | 17 | # systemcass - supported - SystemCASS |
---|
| 18 | # systemcass_deps - not yet supported - Systemcass, and use port dependency information instead of sensitivity list |
---|
| 19 | # modelsim - not yet supported - Co simulation SystemC/VHDL with Modelsim |
---|
[88] | 20 | |
---|
[117] | 21 | # 1 simulator for VHDL |
---|
| 22 | # modelsim - supported |
---|
| 23 | |
---|
[88] | 24 | #-----[ Flags ]-------------------------------------------- |
---|
| 25 | |
---|
[143] | 26 | # If you add a MORPHEO_FLAGS, add name in array "type_list" in file "environment.sh" |
---|
[142] | 27 | |
---|
[138] | 28 | MORPHEO_systemc_FLAGS = -DSYSTEMC \ |
---|
| 29 | -DSTATISTICS \ |
---|
| 30 | -DTRANSLATION |
---|
[88] | 31 | |
---|
[138] | 32 | MORPHEO_vhdl_FLAGS = -DVHDL \ |
---|
| 33 | -DTRANSLATION |
---|
| 34 | |
---|
| 35 | MORPHEO_cosim_FLAGS = -DSYSTEMC \ |
---|
| 36 | -DSTATISTICS \ |
---|
| 37 | -DVHDL \ |
---|
| 38 | -DTRANSLATION |
---|
| 39 | |
---|
| 40 | MORPHEO_debug_FLAGS = -DSYSTEMC \ |
---|
| 41 | -DDEBUG=DEBUG_FUNC \ |
---|
| 42 | -DVHDL |
---|
| 43 | |
---|
| 44 | MORPHEO_debug_systemc_FLAGS = -DSYSTEMC \ |
---|
| 45 | -DSTATISTICS \ |
---|
| 46 | -DDEBUG=DEBUG_FUNC |
---|
| 47 | |
---|
| 48 | MORPHEO_FLAGS = $(MORPHEO_$(MORPHEO_TYPE)_FLAGS) |
---|
| 49 | |
---|
| 50 | # | systemc | vhdl | cosim | debug | debug_systemc |
---|
| 51 | #-----------------------+---------+------+-------+-------+--------------- |
---|
| 52 | # TRANSLATION | X | X | X | | |
---|
| 53 | # SYSTEMC | X | | X | X | X |
---|
| 54 | # STATISTICS | X | | X | X | X |
---|
| 55 | # VHDL | | X | X | X | |
---|
| 56 | # VHDL_TESTBENCH | | | | | |
---|
| 57 | # VHDL_TESTBENCH_ASSERT | | | | | |
---|
[139] | 58 | # DEBUG | | | | X | X |
---|
[138] | 59 | # DEBUG_MEMORY_LEAK | | | | | |
---|
| 60 | # DEBUG_SIGNAL | | | | | |
---|
| 61 | # POSITION | | | | | |
---|
| 62 | # PRINT_COLOR | | | | | |
---|
| 63 | |
---|
[88] | 64 | # Flags : |
---|
[138] | 65 | # TRANSLATION - Translate message |
---|
[88] | 66 | # SYSTEMC - To generate a systemc's model |
---|
[138] | 67 | # STATISTICS (need SYSTEMC) - In the simulation, generate a statistics's file |
---|
[88] | 68 | # VHDL - To generate a vhdl's models |
---|
| 69 | # VHDL_TESTBENCH (need SYSTEMC) - In the simulation, generate two testbench's file (input and ouput) to validate the vhdl's model |
---|
| 70 | # VHDL_TESTBENCH_ASSERT (need VHDL_TESTBENCH) - In the simulation, generate in testbench's file an serie of assert |
---|
[138] | 71 | # DEBUG={level} - Print Debug Message |
---|
| 72 | # DEBUG_MEMORY_LEAK - |
---|
| 73 | # DEBUG_SIGNAL - |
---|
[88] | 74 | # POSITION - To generate a position's files (it's input of viewer) |
---|
| 75 | # PRINT_COLOR - Print with colors |
---|