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