Changeset 53 for trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component.cpp
- Timestamp:
- Sep 6, 2007, 6:30:49 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note: See TracChangeset
for help on using the changeset viewer.