Changeset 53 for trunk/IPs/systemC
- Timestamp:
- Sep 6, 2007, 6:30:49 PM (17 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo
- Files:
-
- 109 added
- 1 deleted
- 52 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Constant/Constant_OpenRISC.h
r15 r53 21 21 //----------------------------------------------------[ Operation ]----- 22 22 typedef uint8_t Toperation_t; 23 #define _nb_operation 3224 #define _size_operation 523 // #define _nb_operation 32 24 // #define _size_operation 5 25 25 26 26 #define _operation_none 0x0 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Makefile.deps
r48 r53 7 7 # 8 8 # DIR_MORPHEO must be defined 9 10 Meta_Predictor = yes 9 11 10 12 ifndef Behavioural … … 17 19 include $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/Makefile.deps 18 20 endif 19 20 Meta_Predictor = yes21 21 22 22 #-----[ Library ]------------------------------------------ -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/Makefile.deps
r48 r53 8 8 # DIR_MORPHEO must be defined 9 9 10 Meta_Predictor_Glue = yes 11 10 12 ifndef Behavioural 11 13 include $(DIR_MORPHEO)/Behavioural/Makefile.deps 12 14 endif 13 14 Meta_Predictor_Glue = yes15 15 16 16 #-----[ Library ]------------------------------------------ -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/Makefile.deps
r48 r53 7 7 # 8 8 # DIR_MORPHEO must be defined 9 10 Branch_History_Table = yes 9 11 10 12 ifndef Behavioural … … 17 19 include $(DIR_MORPHEO)/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/Makefile.deps 18 20 endif 19 20 Branch_History_Table = yes21 21 22 22 #-----[ Library ]------------------------------------------ -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Makefile.deps
r48 r53 7 7 # 8 8 # DIR_MORPHEO must be defined 9 10 Two_Level_Branch_Predictor = yes 9 11 10 12 ifndef Behavioural … … 20 22 include $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/Makefile.deps 21 23 endif 22 23 Two_Level_Branch_Predictor = yes24 24 25 25 #-----[ Library ]------------------------------------------ -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/Makefile.deps
r48 r53 7 7 # 8 8 # DIR_MORPHEO must be defined 9 10 Pattern_History_Table = yes 9 11 10 12 ifndef Behavioural … … 17 19 include $(DIR_MORPHEO)/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/Makefile.deps 18 20 endif 19 20 Pattern_History_Table = yes21 21 22 22 #-----[ Library ]------------------------------------------ -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/Makefile.deps
r48 r53 8 8 # DIR_MORPHEO must be defined 9 9 10 Two_Level_Branch_Predictor_Glue = yes 11 10 12 ifndef Behavioural 11 13 include $(DIR_MORPHEO)/Behavioural/Makefile.deps 12 14 endif 13 14 Two_Level_Branch_Predictor_Glue = yes15 15 16 16 #-----[ Library ]------------------------------------------ -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Counter/Makefile.deps
r48 r53 8 8 # DIR_MORPHEO must be defined 9 9 10 Counter = yes 11 10 12 ifndef Behavioural 11 13 include $(DIR_MORPHEO)/Behavioural/Makefile.deps 12 14 endif 13 14 Counter = yes15 15 16 16 #-----[ Library ]------------------------------------------ -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Counter/src/Counter.cpp
r42 r53 48 48 49 49 #ifdef SYSTEMC 50 51 #if defined(STATISTICS) or defined(VHDL_TESTBENCH) 50 52 SC_METHOD (transition); 51 53 dont_initialize (); 52 54 sensitive_pos << *(in_CLOCK); 55 #endif 53 56 54 57 SC_METHOD (genMealy); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Group/Makefile.deps
r48 r53 8 8 # DIR_MORPHEO must be defined 9 9 10 Group = yes 11 10 12 ifndef Behavioural 11 13 include $(DIR_MORPHEO)/Behavioural/Makefile.deps 12 14 endif 13 14 Group = yes15 15 16 16 #-----[ Library ]------------------------------------------ -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/Makefile.deps
r48 r53 8 8 # DIR_MORPHEO must be defined 9 9 10 RegisterFile_Monolithic = yes 11 10 12 ifndef Behavioural 11 13 include $(DIR_MORPHEO)/Behavioural/Makefile.deps … … 15 17 endif 16 18 17 RegisterFile_Monolithic = yes18 19 #-----[ Library ]------------------------------------------ 19 20 RegisterFile_Monolithic_LIBRARY = -lRegisterFile_Monolithic \ -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/include/Parameters.h
r44 r53 25 25 public : const uint32_t _nb_word ; 26 26 public : const uint32_t _size_word ; 27 public : const uint32_t _size_address ; 27 28 28 29 public : Parameters (uint32_t nb_port_read , -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/include/Types.h
r44 r53 19 19 typedef uint32_t Taddress_t; 20 20 typedef uint32_t Tdata_t; 21 21 22 22 }; // end namespace registerfile_monolithic 23 23 }; // end namespace registerfile -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/src/Parameters.cpp
r15 r53 22 22 _nb_port_write (nb_port_write), 23 23 _nb_word (nb_word ), 24 _size_word (size_word ) 24 _size_word (size_word ), 25 _size_address (static_cast<uint32_t>(log2(_nb_word))) 25 26 { 26 27 test(); … … 31 32 _nb_port_write (param._nb_port_write), 32 33 _nb_word (param._nb_word ), 33 _size_word (param._size_word ) 34 _size_word (param._size_word ), 35 _size_address (param._size_address ) 34 36 { 35 37 test(); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/src/RegisterFile_Monolithic_allocation.cpp
r42 r53 60 60 in_READ_VAL [i] = interface->set_signal_valack_in ("val" , VAL); 61 61 out_READ_ACK [i] = interface->set_signal_valack_out ("ack" , ACK); 62 in_READ_ADDRESS [i] = interface->set_signal_in <Taddress_t> ("address", static_cast<uint32_t>(log2(_param._nb_word)));62 in_READ_ADDRESS [i] = interface->set_signal_in <Taddress_t> ("address", _param._size_address); 63 63 out_READ_DATA [i] = interface->set_signal_out <Tdata_t > ("data" , _param._size_word); 64 64 } … … 83 83 in_WRITE_VAL [i] = interface->set_signal_valack_in ("val" , VAL); 84 84 out_WRITE_ACK [i] = interface->set_signal_valack_out ("ack" , ACK); 85 in_WRITE_ADDRESS [i] = interface->set_signal_in <Taddress_t> ("address", static_cast<uint32_t>(log2(_param._nb_word)));85 in_WRITE_ADDRESS [i] = interface->set_signal_in <Taddress_t> ("address", _param._size_address); 86 86 in_WRITE_DATA [i] = interface->set_signal_in <Tdata_t > ("data" , _param._size_word); 87 87 } -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/src/RegisterFile_Monolithic_genMealy_read.cpp
r15 r53 17 17 void RegisterFile_Monolithic::genMealy_read (void) 18 18 { 19 log_printf(FUNC,Register _File,"genMealy_read","Begin");19 log_printf(FUNC,RegisterFile,"genMealy_read","Begin"); 20 20 21 21 #ifdef STATISTICS … … 31 31 Tdata_t data = REGISTER_READ(reg_DATA[address]); 32 32 33 log_printf(TRACE,Register _File,"genMealy_read","[%d] -> %.8x",static_cast<uint32_t>(address),static_cast<uint32_t>(data));33 log_printf(TRACE,RegisterFile,"genMealy_read","[%d] -> %.8x",static_cast<uint32_t>(address),static_cast<uint32_t>(data)); 34 34 35 35 #ifdef STATISTICS … … 41 41 else 42 42 { 43 //log_printf(TRACE,Register _File,"genMealy_read","Read [%d] : No transaction",i);43 //log_printf(TRACE,RegisterFile,"genMealy_read","Read [%d] : No transaction",i); 44 44 PORT_WRITE(out_READ_DATA[i],0); 45 45 } 46 46 } 47 log_printf(FUNC,Register _File,"genMealy_read","End");47 log_printf(FUNC,RegisterFile,"genMealy_read","End"); 48 48 49 49 }; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/src/RegisterFile_Monolithic_transition.cpp
r41 r53 16 16 void RegisterFile_Monolithic::transition (void) 17 17 { 18 log_printf(FUNC,Register _File,"transition","Begin");18 log_printf(FUNC,RegisterFile,"transition","Begin"); 19 19 #ifdef STATISTICS 20 20 _stat_nb_write = 0; … … 33 33 Tdata_t data = PORT_READ(in_WRITE_DATA [i]); 34 34 35 log_printf(TRACE,Register _File,"transition","[%d] <- %.8x",static_cast<uint32_t>(address),static_cast<uint32_t>(data));35 log_printf(TRACE,RegisterFile,"transition","[%d] <- %.8x",static_cast<uint32_t>(address),static_cast<uint32_t>(data)); 36 36 37 37 // Write in registerFile … … 47 47 vhdl_testbench_transition (); 48 48 #endif 49 log_printf(FUNC,Register _File,"transition","End");49 log_printf(FUNC,RegisterFile,"transition","End"); 50 50 }; 51 51 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Select/Select_Priority_Fixed/Makefile.deps
r48 r53 8 8 # DIR_MORPHEO must be defined 9 9 10 Select_Priority_Fixed = yes 11 10 12 ifndef Behavioural 11 13 include $(DIR_MORPHEO)/Behavioural/Makefile.deps 12 14 endif 13 14 Select_Priority_Fixed = yes15 15 16 16 #-----[ Library ]------------------------------------------ -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Shifter/Makefile.deps
r48 r53 8 8 # DIR_MORPHEO must be defined 9 9 10 Shifter = yes 11 10 12 ifndef Behavioural 11 13 include $(DIR_MORPHEO)/Behavioural/Makefile.deps 12 14 endif 13 14 Shifter = yes15 15 16 16 #-----[ Library ]------------------------------------------ -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Victim/Victim_Pseudo_LRU/Makefile.deps
r48 r53 8 8 # DIR_MORPHEO must be defined 9 9 10 Victim_Pseudo_LRU = yes 11 10 12 ifndef Behavioural 11 13 include $(DIR_MORPHEO)/Behavioural/Makefile.deps … … 15 17 endif 16 18 17 Victim_Pseudo_LRU = yes18 19 #-----[ Library ]------------------------------------------ 19 20 Victim_Pseudo_LRU_LIBRARY = -lVictim_Pseudo_LRU \ -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Makefile.Common
r48 r53 9 9 include $(MORPHEO_TOPLEVEL)/Makefile.tools 10 10 11 #-----[ 11 #-----[ Directory ]---------------------------------------- 12 12 DIR_INC = include 13 13 DIR_SRC = src … … 15 15 DIR_SCRIPT = $(MORPHEO_SCRIPT) 16 16 17 #-----[ 17 #-----[ Compilation ]-------------------------------------- 18 18 INCDIR = $(SYSTEMC_INCDIR_$(SIMULATOR)) \ 19 19 -I$(DIR_MORPHEO) … … 42 42 LFLAGS = $(FLAGS) $(FLAGS_COMMON) $(LIBDIR) 43 43 44 #-----[ 44 #-----[ Variable ]----------------------------------------- 45 45 46 46 ENTITY = `$(BASENAME) $$PWD` … … 50 50 HEADERS = $(wildcard $(DIR_INC)/*.h) 51 51 52 #-----[ 52 #-----[ Rules ]-------------------------------------------- 53 53 .PRECIOUS : $(DIR_OBJ)/%.o 54 54 55 55 test_env : 56 @$(ECHO) "-------------------[ 56 @$(ECHO) "-------------------[ $(ENTITY) ]" 57 57 ifeq ($(origin MORPHEO_TOPLEVEL), undefined) 58 58 $(error "variable MORPHEO_TOPLEVEL is undefined"); … … 86 86 common_help : 87 87 @\ 88 $(ECHO) " -----[ 88 $(ECHO) " -----[ Common ]-------------------------------------";\ 89 89 $(ECHO) "";\ 90 90 $(ECHO) " * test_env : test if environnment's variable is set";\ -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Makefile.Selftest
r48 r53 2 2 # $Id$ 3 3 # 4 # [ 4 # [ Description ] 5 5 # 6 6 # Makefile … … 14 14 DIR_LOG = log 15 15 16 #-----[ 16 #-----[ Variables ]---------------------------------------- 17 17 CFG_FILE_EXTENSION = cfg 18 18 CFG_FILE_DEBUG = debug.$(CFG_FILE_EXTENSION) … … 25 25 EXEC = soft 26 26 27 #-----[ 27 #-----[ Rules ]-------------------------------------------- 28 28 .PRECIOUS : $(DIR_BIN)/%.x $(DIR_LOG)/%.exec.log 29 29 .NOPARALLEL : clean clean_all help … … 112 112 done; 113 113 114 $(DIR_LOG)/%.exec.log : $(DIR_CFG_GEN)/%.cfg $(DIR_BIN)/$(EXEC).x 114 $(DIR_LOG)/%.exec.log : $(DIR_CFG_GEN)/%.cfg $(DIR_BIN)/$(EXEC).x 115 @\ 116 $(ECHO) "Execute : $*";\ 117 $(EXPORT) SYSTEMC=$(SYSTEMC_$(SIMULATOR)) ; ./$(DIR_BIN)/$(EXEC).x $(EXEC_PARAMS) $* `$(CAT) $<` &> $@ 118 declare -i count=`$(GREP) -ch "Test OK" $@`; \ 119 if $(TEST) $$count -ne 0; \ 120 then echo " $* ... OK"; \ 121 else echo " $* ... KO"; exit 1; \ 122 fi; 123 124 $(DIR_LOG)/%.exec.log : $(DIR_CFG_USER)/%.cfg $(DIR_BIN)/$(EXEC).x 115 125 @\ 116 126 $(ECHO) "Execute : $*";\ … … 155 165 selftest_help : 156 166 @\ 157 $(ECHO) " -----[ 167 $(ECHO) " -----[ Selftest ]-----------------------------------";\ 158 168 $(ECHO) "";\ 159 169 $(ECHO) " * all_selftest : compile all c++ file and execute";\ -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Makefile.Synthesis
r48 r53 2 2 # $Id$ 3 3 # 4 # [ 4 # [ Description ] 5 5 # 6 6 # Makefile 7 7 # 8 8 9 #-----[ 9 #-----[ Variables ]---------------------------------------- 10 10 11 11 DIR_VHDL = . … … 21 21 FPGA_LOG_FILES = $(patsubst $(DIR_CFG_GEN)/%.cfg,$(DIR_LOG)/%.fpga.log,$(wildcard $(DIR_CFG_GEN)/*.cfg)) \ 22 22 $(patsubst $(DIR_CFG_USER)/%.cfg,$(DIR_LOG)/%.fpga.log,$(wildcard $(DIR_CFG_USER)/*.cfg)) 23 #-----[ 23 #-----[ Rules ]-------------------------------------------- 24 24 .PRECIOUS : $(DIR_LOG)/%.vhdl.log $(DIR_LOG)/%.vhdl_sim.log 25 25 … … 89 89 synthesis_help : 90 90 @\ 91 $(ECHO) " -----[ 91 $(ECHO) " -----[ Synthesis ]----------------------------------";\ 92 92 $(ECHO) "";\ 93 93 $(ECHO) " * vhdl : compile all vhdl's file";\ -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Makefile.deps
r48 r53 8 8 # DIR_MORPHEO must be defined 9 9 10 Behavioural = yes 11 10 12 #ifndef Behavioural 11 13 #include $(DIR_MORPHEO)/Behavioural/Makefile.deps 12 14 #endif 13 #14 Behavioural = yes15 15 16 16 #-----[ Library ]------------------------------------------ -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Makefile.flags
r50 r53 11 11 # systemc - SystemC 12 12 # systemcass - SystemCASS 13 # systemcass_deps - System CASS, and use port dependency information instead of sensitivity list13 # systemcass_deps - Systemcass, and use port dependency information instead of sensitivity list 14 14 15 15 #-----[ Flags ]-------------------------------------------- 16 16 FLAGS = -DSYSTEMC \ 17 -DVHDL \ 18 -DDEBUG=DEBUG_NONE 19 17 -DDEBUG=DEBUG_TRACE 18 # -DVHDL \ 20 19 # -DVHDL_TESTBENCH \ 20 # -DVHDL_TESTBENCH_ASSERT \ 21 21 # -DSTATISTICS \ 22 # -DVHDL_TESTBENCH_ASSERT \23 22 # -DCONFIGURATION \ 24 23 # -DPOSITION \ -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/Makefile.deps
r48 r53 8 8 # DIR_MORPHEO must be defined 9 9 10 @COMPONENT = yes 11 10 12 ifndef Behavioural 11 13 include $(DIR_MORPHEO)/Behavioural/Makefile.deps 12 14 endif 13 14 @COMPONENT = yes15 15 16 16 #-----[ Library ]------------------------------------------ -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/SelfTest/src/test.cpp
r50 r53 33 33 cout << "<" << name << "> : Simulation SystemC" << endl; 34 34 35 #ifdef STATISTICS 36 morpheo::behavioural::Parameters_Statistics * _parameters_statistics = new morpheo::behavioural::Parameters_Statistics (5,50); 37 #endif 38 35 39 @COMPONENT * _@COMPONENT = new @COMPONENT (name.c_str(), 36 40 #ifdef STATISTICS 37 morpheo::behavioural::Parameters_Statistics(5,50),41 _parameters_statistics, 38 42 #endif 39 *_param);43 _param); 40 44 41 45 #ifdef SYSTEMC … … 43 47 * Déclarations des signaux 44 48 *********************************************************************/ 45 sc_clock * CLOCK;46 sc_signal<Tcontrol_t> * NRESET;49 sc_clock * in_CLOCK; 50 sc_signal<Tcontrol_t> * in_NRESET; 47 51 48 52 string rename; 49 53 50 CLOCK= new sc_clock ("clock", 1.0, 0.5);51 NRESET= new sc_signal<Tcontrol_t> ("NRESET");54 in_CLOCK = new sc_clock ("clock", 1.0, 0.5); 55 in_NRESET = new sc_signal<Tcontrol_t> ("NRESET"); 52 56 53 57 /******************************************************** … … 57 61 cout << "<" << name << "> Instanciation of _@COMPONENT" << endl; 58 62 59 (*(_@COMPONENT->in_CLOCK)) (*( CLOCK));60 (*(_@COMPONENT->in_NRESET)) (*( NRESET));63 (*(_@COMPONENT->in_CLOCK)) (*(in_CLOCK)); 64 (*(_@COMPONENT->in_NRESET)) (*(in_NRESET)); 61 65 62 66 … … 100 104 101 105 delete _@COMPONENT; 106 #ifdef SYSTEMC 107 delete _parameters_statistics; 108 #endif 102 109 } -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/include/New_Component.h
r50 r53 40 40 // -----[ fields ]---------------------------------------------------- 41 41 // Parameters 42 protected : const string _name;42 protected : const string _name; 43 43 44 protected : const Parameters _param;44 protected : const Parameters * _param; 45 45 //#ifdef STATISTICS 46 // protected : const morpheo::behavioural::Parameters_Statistics _param_statistics;46 // protected : const morpheo::behavioural::Parameters_Statistics * _param_statistics; 47 47 //#endif 48 48 … … 74 74 public : @COMPONENT ( 75 75 #ifdef SYSTEMC 76 sc_module_name name,76 sc_module_name name, 77 77 #else 78 string name,78 string name, 79 79 #endif 80 80 #ifdef STATISTICS 81 morpheo::behavioural::Parameters_Statistics param_statistics,81 morpheo::behavioural::Parameters_Statistics * param_statistics, 82 82 #endif 83 Parameters param ); 84 85 public : @COMPONENT (Parameters param ); 83 Parameters * param ); 86 84 public : ~@COMPONENT (void); 87 85 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/include/Statistics.h
r44 r53 25 25 { 26 26 // -----[ fields ]---------------------------------------------------- 27 private : const Parameters 27 private : const Parameters * _parameters; 28 28 29 29 // -----[ methods ]--------------------------------------------------- 30 public : Statistics (string name ,31 morpheo::behavioural::Parameters_Statistics parameters_statistics ,32 Parameters parameters30 public : Statistics (string name , 31 morpheo::behavioural::Parameters_Statistics * parameters_statistics , 32 Parameters * parameters 33 33 ); 34 34 //public : Statistics (Statistics & stat); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component.cpp
r41 r53 12 12 @NAMESPACE_BEGIN 13 13 14 #undef FUNCTION 15 #define FUNCTION "@COMPONENT::@COMPONENT" 14 16 #ifdef SYSTEMC 15 17 @COMPONENT::@COMPONENT (sc_module_name name, … … 18 20 #endif 19 21 #ifdef STATISTICS 20 morpheo::behavioural::Parameters_Statisticsparam_statistics,22 morpheo::behavioural::Parameters_Statistics * param_statistics, 21 23 #endif 22 morpheo::behavioural::@NAMESPACE_USE::Parametersparam ):24 morpheo::behavioural::@NAMESPACE_USE::Parameters * param ): 23 25 _name (name) 24 26 ,_param (param) … … 27 29 // #endif 28 30 { 29 log_printf(FUNC,@COMPONENT, "@COMPONENT","Begin");31 log_printf(FUNC,@COMPONENT,FUNCTION,"Begin"); 30 32 31 33 #ifdef SYSTEMC 32 log_printf(INFO,@COMPONENT, "@COMPONENT","Allocation");34 log_printf(INFO,@COMPONENT,FUNCTION,"Allocation"); 33 35 34 36 allocation (); … … 36 38 37 39 #ifdef STATISTICS 38 log_printf(INFO,@COMPONENT, "@COMPONENT","Allocation of statistics");40 log_printf(INFO,@COMPONENT,FUNCTION,"Allocation of statistics"); 39 41 40 42 // Allocation of statistics … … 46 48 #ifdef VHDL 47 49 // generate the vhdl 48 log_printf(INFO,@COMPONENT, "@COMPONENT","Generate the vhdl");50 log_printf(INFO,@COMPONENT,FUNCTION,"Generate the vhdl"); 49 51 50 52 vhdl(); … … 53 55 #ifdef SYSTEMC 54 56 //#if defined(STATISTICS) or defined(VHDL_TESTBENCH) 55 log_printf(INFO,@COMPONENT, "@COMPONENT","Method - transition");57 log_printf(INFO,@COMPONENT,FUNCTION,"Method - transition"); 56 58 57 59 SC_METHOD (transition); … … 65 67 66 68 #endif 67 log_printf(FUNC,@COMPONENT, "@COMPONENT","End");69 log_printf(FUNC,@COMPONENT,FUNCTION,"End"); 68 70 }; 69 71 72 #undef FUNCTION 73 #define FUNCTION "@COMPONENT::~@COMPONENT" 70 74 @COMPONENT::~@COMPONENT (void) 71 75 { 72 log_printf(FUNC,@COMPONENT, "~@COMPONENT","Begin");76 log_printf(FUNC,@COMPONENT,FUNCTION,"Begin"); 73 77 74 78 #ifdef STATISTICS 75 log_printf(INFO,@COMPONENT, "~@COMPONENT","Generate Statistics file");79 log_printf(INFO,@COMPONENT,FUNCTION,"Generate Statistics file"); 76 80 77 81 _stat->generate_file(statistics(0)); … … 81 85 82 86 #ifdef SYSTEMC 83 log_printf(INFO,@COMPONENT, "~@COMPONENT","Deallocation");87 log_printf(INFO,@COMPONENT,FUNCTION,"Deallocation"); 84 88 85 89 deallocation (); 86 90 #endif 87 91 88 log_printf(FUNC,@COMPONENT, "~@COMPONENT","End");92 log_printf(FUNC,@COMPONENT,FUNCTION,"End"); 89 93 }; 90 94 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component_allocation.cpp
r50 r53 13 13 @NAMESPACE_BEGIN 14 14 15 16 #undef FUNCTION 17 #define FUNCTION "@COMPONENT::allocation" 15 18 void @COMPONENT::allocation (void) 16 19 { 17 20 string rename; 18 21 19 log_printf(FUNC,@COMPONENT, "allocation","Begin");22 log_printf(FUNC,@COMPONENT,FUNCTION,"Begin"); 20 23 21 24 _component = new Component (); … … 49 52 #endif 50 53 51 log_printf(FUNC,@COMPONENT, "allocation","End");54 log_printf(FUNC,@COMPONENT,FUNCTION,"End"); 52 55 }; 53 56 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component_deallocation.cpp
r42 r53 1 #undef FUNCTION 2 #define FUNCTION "@COMPONENT::" 3 1 4 #ifdef SYSTEMC 2 5 /* … … 13 16 @NAMESPACE_BEGIN 14 17 18 #undef FUNCTION 19 #define FUNCTION "@COMPONENT::deallocation" 15 20 void @COMPONENT::deallocation (void) 16 21 { 17 log_printf(FUNC,@COMPONENT, "deallocation","Begin");22 log_printf(FUNC,@COMPONENT,FUNCTION,"Begin"); 18 23 19 24 //#if defined(STATISTICS) or defined(VHDL_TESTBENCH) 20 delete in_CLOCK;25 delete in_CLOCK ; 21 26 //#endif 22 delete in_NRESET;27 delete in_NRESET; 23 28 24 29 // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ … … 26 31 delete _component; 27 32 28 log_printf(FUNC,@COMPONENT, "deallocation","End");33 log_printf(FUNC,@COMPONENT,FUNCTION,"End"); 29 34 }; 30 35 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component_statistics.cpp
r2 r53 13 13 @NAMESPACE_BEGIN 14 14 15 #undef FUNCTION 16 #define FUNCTION "@COMPONENT::statistics" 15 17 string @COMPONENT::statistics (uint32_t depth) 16 18 { 17 log_printf(FUNC,@COMPONENT, "statistics","Begin");19 log_printf(FUNC,@COMPONENT,FUNCTION,"Begin"); 18 20 19 21 string txt = _stat->print(depth); 20 22 21 log_printf(FUNC,@COMPONENT, "statistics","End");23 log_printf(FUNC,@COMPONENT,FUNCTION,"End"); 22 24 23 25 return txt; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component_transition.cpp
r15 r53 14 14 @NAMESPACE_BEGIN 15 15 16 #undef FUNCTION 17 #define FUNCTION "@COMPONENT::transition" 16 18 void @COMPONENT::transition (void) 17 19 { 18 log_printf(FUNC,@COMPONENT, "transition","Begin");20 log_printf(FUNC,@COMPONENT,FUNCTION,"Begin"); 19 21 20 22 #ifdef STATISTICS … … 26 28 #endif 27 29 28 log_printf(FUNC,@COMPONENT, "transition","End");30 log_printf(FUNC,@COMPONENT,FUNCTION,"End"); 29 31 }; 30 32 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component_vhdl.cpp
r50 r53 14 14 @NAMESPACE_BEGIN 15 15 16 #undef FUNCTION 17 #define FUNCTION "@COMPONENT::vhdl" 16 18 void @COMPONENT::vhdl (void) 17 19 { 18 log_printf(FUNC,@COMPONENT, "vhdl","Begin");20 log_printf(FUNC,@COMPONENT,FUNCTION,"Begin"); 19 21 20 22 Vhdl * vhdl = new Vhdl (_name); … … 30 32 delete vhdl; 31 33 32 log_printf(FUNC,@COMPONENT, "vhdl","End");34 log_printf(FUNC,@COMPONENT,FUNCTION,"End"); 33 35 }; 34 36 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component_vhdl_body.cpp
r50 r53 13 13 @NAMESPACE_BEGIN 14 14 15 #undef FUNCTION 16 #define FUNCTION "@COMPONENT::vhdl_body" 15 17 void @COMPONENT::vhdl_body (Vhdl * & vhdl) 16 18 { 17 log_printf(FUNC,@COMPONENT, "vhdl_body","Begin");19 log_printf(FUNC,@COMPONENT,FUNCTION,"Begin"); 18 20 vhdl->set_body (""); 19 log_printf(FUNC,@COMPONENT, "vhdl_body","End");21 log_printf(FUNC,@COMPONENT,FUNCTION,"End"); 20 22 }; 21 23 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component_vhdl_declaration.cpp
r50 r53 13 13 @NAMESPACE_BEGIN 14 14 15 #undef FUNCTION 16 #define FUNCTION "@COMPONENT::vhdl_declaration" 15 17 void @COMPONENT::vhdl_declaration (Vhdl * & vhdl) 16 18 { 17 log_printf(FUNC,@COMPONENT, "vhdl_declaration","Begin");18 log_printf(FUNC,@COMPONENT, "vhdl_declaration","End");19 log_printf(FUNC,@COMPONENT,FUNCTION,"Begin"); 20 log_printf(FUNC,@COMPONENT,FUNCTION,"End"); 19 21 }; 20 22 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component_vhdl_testbench_transition.cpp
r44 r53 13 13 @NAMESPACE_BEGIN 14 14 15 #undef FUNCTION 16 #define FUNCTION "@COMPONENT::vhdl_testbench_transition" 15 17 void @COMPONENT::vhdl_testbench_transition () 16 18 { 17 log_printf(FUNC,@COMPONENT, "vhdl_testbench_transition","Begin");19 log_printf(FUNC,@COMPONENT,FUNCTION,"Begin"); 18 20 19 21 // Evaluation before read the ouput signal … … 22 24 _interfaces->testbench(); 23 25 24 log_printf(FUNC,@COMPONENT, "vhdl_testbench_transition","End");26 log_printf(FUNC,@COMPONENT,FUNCTION,"End"); 25 27 }; 26 28 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/Parameters.cpp
r15 r53 12 12 @NAMESPACE_BEGIN 13 13 14 #undef FUNCTION 15 #define FUNCTION "@COMPONENT::Parameters" 14 16 Parameters::Parameters () 15 17 { 16 log_printf(FUNC,@COMPONENT, "Parameters","Begin");18 log_printf(FUNC,@COMPONENT,FUNCTION,"Begin"); 17 19 test(); 18 log_printf(FUNC,@COMPONENT, "Parameters","End");20 log_printf(FUNC,@COMPONENT,FUNCTION,"End"); 19 21 }; 20 22 23 #undef FUNCTION 24 #define FUNCTION "@COMPONENT::Parameters (copy)" 21 25 Parameters::Parameters (Parameters & param) 22 26 { 23 log_printf(FUNC,@COMPONENT, "Parameters (copy)","Begin");27 log_printf(FUNC,@COMPONENT,FUNCTION,"Begin"); 24 28 test(); 25 log_printf(FUNC,@COMPONENT, "Parameters (copy)","End");29 log_printf(FUNC,@COMPONENT,FUNCTION,"End"); 26 30 }; 27 31 32 #undef FUNCTION 33 #define FUNCTION "@COMPONENT::~Parameters" 28 34 Parameters::~Parameters () 29 35 { 30 log_printf(FUNC,@COMPONENT, "~Parameters","Begin");31 log_printf(FUNC,@COMPONENT, "~Parameters","End");36 log_printf(FUNC,@COMPONENT,FUNCTION,"Begin"); 37 log_printf(FUNC,@COMPONENT,FUNCTION,"End"); 32 38 }; 33 39 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/Parameters_msg_error.cpp
r2 r53 15 15 @NAMESPACE_BEGIN 16 16 17 #undef FUNCTION 18 #define FUNCTION "@COMPONENT::msg_error" 17 19 string Parameters::msg_error(void) 18 20 { 19 log_printf(FUNC,@COMPONENT, "msg_error","Begin");21 log_printf(FUNC,@COMPONENT,FUNCTION,"Begin"); 20 22 21 23 string msg = ""; … … 23 25 return msg; 24 26 25 log_printf(FUNC,@COMPONENT, "msg_error","End");27 log_printf(FUNC,@COMPONENT,FUNCTION,"End"); 26 28 }; 27 29 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/Parameters_print.cpp
r15 r53 14 14 @NAMESPACE_BEGIN 15 15 16 #undef FUNCTION 17 #define FUNCTION "@COMPONENT::print" 16 18 string Parameters::print (uint32_t depth) 17 19 { 18 log_printf(FUNC,@COMPONENT, "print","Begin");20 log_printf(FUNC,@COMPONENT,FUNCTION,"Begin"); 19 21 20 22 XML xml ("@COMPONENT_LOWER"); 21 23 22 24 xml.balise_open("@COMPONENT_LOWER"); 23 // xml.singleton_begin("size_data"); xml.attribut("value",toString(_size_data)); xml.singleton_end(); 24 // xml.singleton_begin("nb_port "); xml.attribut("value",toString(_nb_port )); xml.singleton_end(); 25 // xml.singleton_begin(""); xml.attribut("value",toString(_)); xml.singleton_end(); 25 26 xml.balise_close(); 26 27 27 log_printf(FUNC,@COMPONENT, "print","End");28 log_printf(FUNC,@COMPONENT,FUNCTION,"End"); 28 29 29 30 return xml.get_body(depth); 30 31 }; 31 32 33 #undef FUNCTION 34 #define FUNCTION "@COMPONENT::operator<<" 32 35 ostream& operator<< (ostream& output_stream , 33 36 morpheo::behavioural::@NAMESPACE_USE::Parameters & x) 34 37 { 38 log_printf(FUNC,@COMPONENT,FUNCTION,"Begin"); 39 35 40 output_stream << x.print(0); 36 41 42 log_printf(FUNC,@COMPONENT,FUNCTION,"End"); 43 37 44 return output_stream; 38 45 }; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/Statistics.cpp
r2 r53 13 13 @NAMESPACE_BEGIN 14 14 15 Statistics::Statistics (string name , 16 morpheo::behavioural::Parameters_Statistics parameters_statistics , 17 Parameters parameters 15 #undef FUNCTION 16 #define FUNCTION "@COMPONENT::Statistics" 17 Statistics::Statistics (string name , 18 morpheo::behavioural::Parameters_Statistics * parameters_statistics , 19 Parameters * parameters 18 20 ) : 19 21 morpheo::behavioural::Statistics(name , … … 21 23 _parameters(parameters) 22 24 { 23 log_printf(FUNC,@COMPONENT, "Statistics","Begin");24 log_printf(FUNC,@COMPONENT, "Statistics","End");25 log_printf(FUNC,@COMPONENT,FUNCTION,"Begin"); 26 log_printf(FUNC,@COMPONENT,FUNCTION,"End"); 25 27 }; 26 28 29 #undef FUNCTION 30 #define FUNCTION "@COMPONENT::~Statistics" 27 31 Statistics::~Statistics () 28 32 { 29 log_printf(FUNC,@COMPONENT, "~Statistics","Begin");30 log_printf(FUNC,@COMPONENT, "~Statistics","End");33 log_printf(FUNC,@COMPONENT,FUNCTION,"Begin"); 34 log_printf(FUNC,@COMPONENT,FUNCTION,"End"); 31 35 }; 32 36 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/Statistics_add.cpp
r2 r53 16 16 @NAMESPACE_BEGIN 17 17 18 #undef FUNCTION 19 #define FUNCTION "@COMPONENT::add" 18 20 void Statistics::add () 19 21 { 20 log_printf(FUNC,@COMPONENT, "add","Begin");21 log_printf(FUNC,@COMPONENT, "add","End");22 log_printf(FUNC,@COMPONENT,FUNCTION,"Begin"); 23 log_printf(FUNC,@COMPONENT,FUNCTION,"End"); 22 24 }; 23 25 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/Statistics_print.cpp
r2 r53 16 16 @NAMESPACE_BEGIN 17 17 18 #undef FUNCTION 19 #define FUNCTION "@COMPONENT::print" 18 20 string Statistics::print (uint32_t depth) 19 21 { 20 log_printf(FUNC,@COMPONENT, "print","Begin");22 log_printf(FUNC,@COMPONENT,FUNCTION,"Begin"); 21 23 22 24 string tab = string(depth,'\t'); … … 27 29 << tab << "</@COMPONENT_LOWER>" << endl; 28 30 29 log_printf(FUNC,@COMPONENT, "print","End");31 log_printf(FUNC,@COMPONENT,FUNCTION,"End"); 30 32 31 33 return msg.str(); 32 34 }; 33 35 36 #undef FUNCTION 37 #define FUNCTION "@COMPONENT::operator<<" 34 38 ostream& operator<< (ostream& output_stream , 35 39 morpheo::behavioural::@NAMESPACE_USE::Statistics & x) 36 40 { 41 log_printf(FUNC,@COMPONENT,FUNCTION,"Begin"); 42 37 43 output_stream << x.print(0); 44 45 log_printf(FUNC,@COMPONENT,FUNCTION,"End"); 38 46 39 47 return output_stream; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/Statistics_print_body.cpp
r2 r53 16 16 @NAMESPACE_BEGIN 17 17 18 #undef FUNCTION 19 #define FUNCTION "@COMPONENT::print_body" 18 20 string Statistics::print_body (uint32_t depth) 19 21 { 20 log_printf(FUNC,@COMPONENT, "print_body","Begin");22 log_printf(FUNC,@COMPONENT,FUNCTION,"Begin"); 21 23 22 24 string tab = string(depth,'\t'); … … 25 27 msg << tab << ""; 26 28 27 log_printf(FUNC,@COMPONENT, "print_body","End");29 log_printf(FUNC,@COMPONENT,FUNCTION,"End"); 28 30 29 31 return msg.str(); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Debug_component.h
r50 r53 7 7 #define DEBUG_Group false 8 8 #define DEBUG_Shifter false 9 #define DEBUG_Register _Filefalse9 #define DEBUG_RegisterFile false 10 10 #define DEBUG_RegisterFile_Monolithic false 11 #define DEBUG_RegisterFile_Multi_Banked true11 #define DEBUG_RegisterFile_Multi_Banked false 12 12 #define DEBUG_Select false 13 13 #define DEBUG_Select_Priority_Fixed false 14 #define D EBUG_Victim false14 #define Debug_Victim false 15 15 #define DEBUG_Victim_Pseudo_LRU false 16 16 #define DEBUG_Core false 17 #define DEBUG_Multi_Execute_loop false 18 #define DEBUG_Execute_loop false 19 #define DEBUG_Multi_Read_unit false 20 #define DEBUG_Read_unit false 21 #define DEBUG_Read_queue false 17 22 #define DEBUG_Multi_Front_end false 18 23 #define DEBUG_Front_end false -
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Statistics.h
r44 r53 26 26 { 27 27 // -----[ fields ]---------------------------------------------------- 28 protected : const string _name;29 protected : const Parameters_Statistics _parameters_statistics;28 protected : const string _name; 29 protected : const Parameters_Statistics * _parameters_statistics; 30 30 31 31 protected : uint32_t _nb_statistics; // nb period ... … … 33 33 34 34 // -----[ methods ]--------------------------------------------------- 35 public : Statistics (string name ,36 Parameters_Statistics parameters_statistics);35 public : Statistics (string name , 36 Parameters_Statistics * parameters_statistics); 37 37 public : virtual ~Statistics (); 38 38 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Statistics.cpp
r43 r53 15 15 #undef FUNCTION 16 16 #define FUNCTION "Statistics::Statistics" 17 Statistics::Statistics (string name ,18 Parameters_Statistics parameters_statistics):17 Statistics::Statistics (string name , 18 Parameters_Statistics * parameters_statistics): 19 19 _name (name ), 20 20 _parameters_statistics (parameters_statistics) -
trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Statistics_compute_cycle_xxx.cpp
r43 r53 18 18 { 19 19 log_printf(FUNC,Behavioural,FUNCTION,"Begin"); 20 uint32_t _return = _parameters_statistics ._nb_cycle_before_begin + num_statistics*_parameters_statistics._period_save;20 uint32_t _return = _parameters_statistics->_nb_cycle_before_begin + num_statistics*_parameters_statistics->_period_save; 21 21 log_printf(FUNC,Behavioural,FUNCTION,"End"); 22 22 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Statistics_test_if_save.cpp
r43 r53 26 26 27 27 // Test if allors a new counters ... 28 if ( ((_nb_statistics == 0) && (_period_current >= _parameters_statistics ._nb_cycle_before_begin)) ||29 ((_nb_statistics > 0) && (_period_current >= _parameters_statistics ._period_save )) )28 if ( ((_nb_statistics == 0) && (_period_current >= _parameters_statistics->_nb_cycle_before_begin)) || 29 ((_nb_statistics > 0) && (_period_current >= _parameters_statistics->_period_save )) ) 30 30 { 31 31 save<Counters,Parameters_Counters>(counters,parameters); -
trunk/IPs/systemC/processor/Morpheo/Common/include/Test.h
r50 r53 12 12 static uint32_t num_test; 13 13 14 void test_ko_error (void) 15 { 16 string msg = "Test ko : error in test \""+toString(num_test)+"\""; 17 throw (ErrorMorpheo (msg)); 18 } 19 14 20 template <class T> 15 void test_ko ( T exp1, T exp2, char * file, uint32_t line)21 void test_ko (char * file, uint32_t line, T exp1, T exp2) 16 22 { 17 string msg = ("<"+toString(num_test)+"> : Test KO\n" + 18 " * Localisation\n" + 19 " - File : "+file+"\n" + 20 " - Line : "+toString(line)+"\n" + 21 " * Expression is different\n" + 22 " - exp1 : "+toString(exp1)+"\n" + 23 " - exp2 : "+toString(exp2)+"\n"); 24 25 throw (ErrorMorpheo (msg)); 23 cerr << "[" << num_test << "] : Test KO" 24 << "\tline " << line << endl 25 << " * Localisation" << endl 26 << " - File : " << file << endl 27 << " - Line : " << line << endl 28 << " * Expression is different" << endl 29 << " - exp1 : "+toString(exp1) << endl 30 << " - exp2 : "+toString(exp2) << endl; 31 32 test_ko_error (); 26 33 }; 27 34 28 35 void test_ko (char * file, uint32_t line) 29 36 { 30 string msg = ("<"+toString(num_test)+"> : Test KO\n" + 31 " * Localisation\n" + 32 " - File : "+file+"\n" + 33 " - Line : "+toString(line)+"\n"); 37 cerr << "[" << num_test << "] : Test KO" 38 << "\tline " << line << endl 39 << " * Localisation" << endl 40 << " - File : " << file << endl 41 << " - Line : " << line << endl; 34 42 35 t hrow (ErrorMorpheo (msg));43 test_ko_error (); 36 44 }; 37 45 38 46 void test_ok () 39 47 { 40 cout << "{" << num_test << "} : Test OK" << endl; 48 cout << "[" << num_test << "] : Test OK" << endl; 49 50 num_test ++; 51 }; 52 53 void test_ok (char * file, uint32_t line) 54 { 55 cout << "[" << num_test << "] : Test OK" 56 << "\tline " << line << endl 57 // << " * Localisation" << endl 58 // << " - File : " << file << endl 59 // << " - Line : " << line << endl 60 ; 41 61 42 62 num_test ++; … … 44 64 45 65 template <class T> 46 void test(T exp1, T exp2, char * file, uint32_t line) 66 void test_ok (char * file, uint32_t line, T exp) 67 { 68 cout << "[" << num_test << "] : Test OK" 69 << "\tline " << line 70 << "\tvalue : " << toString(exp) << endl 71 // << " * Localisation" << endl 72 // << " - File : " << file << endl 73 // << " - Line : " << line << endl 74 // << " * Expression" << endl 75 // << " - exp : "+toString(exp) << endl 76 ; 77 78 num_test ++; 79 } 80 81 template <class T> 82 void test(char * file, uint32_t line, T exp1, T exp2) 47 83 { 48 84 if (exp1 != exp2) 49 test_ko <T> ( exp1,exp2,file,line);85 test_ko <T> (file,line,exp1,exp2); 50 86 else 51 test_ok ();87 test_ok <T> (file,line,exp1); 52 88 }; 53 89 54 #define TEST(type,exp1,exp2) do {test<type> ( exp1,exp2,__FILE__,__LINE__);} while(0)55 #define TEST_STR(type,exp1,exp2,str...) do {fprintf(stdout,str); fprintf(stdout,"\n"); test<type> ( exp1,exp2,__FILE__,__LINE__);} while(0)56 #define TEST_OK(str...) do {fprintf(stdout,str); fprintf(stdout,"\n"); test_ok( );} while(0)90 #define TEST(type,exp1,exp2) do {test<type> (__FILE__,__LINE__,exp1,exp2);} while(0) 91 #define TEST_STR(type,exp1,exp2,str...) do {fprintf(stdout,str); fprintf(stdout,"\n"); test<type> (__FILE__,__LINE__,exp1,exp2);} while(0) 92 #define TEST_OK(str...) do {fprintf(stdout,str); fprintf(stdout,"\n"); test_ok(__FILE__,__LINE__);} while(0) 57 93 #define TEST_KO(str...) do {fprintf(stdout,str); fprintf(stdout,"\n"); test_ko(__FILE__,__LINE__);} while(0) 58 94 -
trunk/IPs/systemC/processor/Morpheo/Documentation/Source/Makefile
r52 r53 103 103 $(DVIPS) -o $@ $<; 104 104 105 #$(DIR_ DOCUMENTS)/*/*/*106 %.dvi : $(DIR_TEX)/%.tex $(DIR_LINK)/%/*105 #$(DIR_LINK)/%/* 106 %.dvi : $(DIR_TEX)/%.tex 107 107 @\ 108 108 $(ECHO) "Génération du fichier $*.dvi"; \
Note: See TracChangeset
for help on using the changeset viewer.