- Timestamp:
- Dec 10, 2008, 7:31:39 PM (16 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/SelfTest/Makefile
r82 r88 24 24 library_clean : @COMPONENT_library_clean 25 25 26 local_clean : 27 26 28 include $(DIR_COMPONENT)/Makefile.deps 27 29 include $(DIR_MORPHEO)/Behavioural/Makefile.flags -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/SelfTest/src/main.cpp
r83 r88 37 37 morpheo::behavioural::@NAMESPACE_USE::Parameters * param = new morpheo::behavioural::@NAMESPACE_USE::Parameters 38 38 ( 39 true // is_toplevel 39 40 ); 40 41 41 msg(_("%s"),param->print( 1).c_str());42 msg(_("%s"),param->print(0).c_str()); 42 43 43 44 test (name,param); … … 58 59 catch (morpheo::ErrorMorpheo & error) 59 60 { 60 msg (_("<%s> :\n%s"),name.c_str(), error.what ());61 // msg (_("<%s> :\n%s"),name.c_str(), error.what ()); 61 62 _return = EXIT_FAILURE; 62 63 } -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/SelfTest/src/test.cpp
r87 r88 14 14 { 15 15 msg(_("<%s> : Simulation SystemC.\n"),name.c_str()); 16 17 if (setlocale (LC_ALL, "") == NULL) 18 msg(_("setlocale ko.\n")); 16 19 17 20 #ifdef STATISTICS -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/include/Parameters.h
r82 r88 21 21 22 22 //-----[ methods ]----------------------------------------------------------- 23 public : Parameters (); 24 // public : Parameters (Parameters & param) ; 25 public : ~Parameters () ; 23 public : Parameters (bool is_toplevel=false); 24 //public : Parameters (Parameters & param) ; 25 public : ~Parameters (void); 26 27 public : void copy (void); 26 28 27 29 public : Parameters_test msg_error (void); 28 30 29 31 public : std::string print (uint32_t depth); 30 public : friend std::ostream& operator<< (std::ostream& output _stream,31 32 public : friend std::ostream& operator<< (std::ostream& output, 33 morpheo::behavioural::@NAMESPACE_USE::Parameters & x); 32 34 }; 33 35 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/src/New_Component.cpp
r82 r88 35 35 usage_environment(_usage); 36 36 37 log_printf(INFO,@COMPONENT,FUNCTION,_(" Allocation"));37 log_printf(INFO,@COMPONENT,FUNCTION,_("<%s> : Allocation"),_name.c_str()); 38 38 39 39 allocation ( … … 46 46 if (usage_is_set(_usage,USE_STATISTICS)) 47 47 { 48 log_printf(INFO,@COMPONENT,FUNCTION,_(" Allocation of statistics"));48 log_printf(INFO,@COMPONENT,FUNCTION,_("<%s> : Allocation of statistics"),_name.c_str()); 49 49 50 50 statistics_allocation(param_statistics); … … 56 56 { 57 57 // generate the vhdl 58 log_printf(INFO,@COMPONENT,FUNCTION,_(" Generate the vhdl"));58 log_printf(INFO,@COMPONENT,FUNCTION,_("<%s> : Generate the vhdl"),_name.c_str()); 59 59 60 60 vhdl(); … … 65 65 if (usage_is_set(_usage,USE_SYSTEMC)) 66 66 { 67 log_printf(INFO,@COMPONENT,FUNCTION,_(" Method - transition"));67 log_printf(INFO,@COMPONENT,FUNCTION,_("<%s> : Method - transition"),_name.c_str()); 68 68 69 69 SC_METHOD (transition); … … 93 93 #endif 94 94 95 log_printf(INFO,@COMPONENT,FUNCTION,_(" Deallocation"));95 log_printf(INFO,@COMPONENT,FUNCTION,_("<%s> : Deallocation"),_name.c_str()); 96 96 deallocation (); 97 97 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/src/New_Component_statistics_deallocation.cpp
r82 r88 19 19 log_begin(@COMPONENT,FUNCTION); 20 20 21 log_printf(INFO,@COMPONENT,FUNCTION,_(" Generate Statistics file"));21 log_printf(INFO,@COMPONENT,FUNCTION,_("<%s> : Generate Statistics file"),_name.c_str()); 22 22 23 23 delete _stat; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/src/Parameters.cpp
r82 r88 14 14 #undef FUNCTION 15 15 #define FUNCTION "@COMPONENT::Parameters" 16 Parameters::Parameters ( )16 Parameters::Parameters (bool is_toplevel) 17 17 { 18 18 log_begin(@COMPONENT,FUNCTION); 19 19 20 test(); 21 22 if (is_toplevel) 23 { 24 copy(); 25 } 26 20 27 log_end(@COMPONENT,FUNCTION); 21 28 }; … … 32 39 #undef FUNCTION 33 40 #define FUNCTION "@COMPONENT::~Parameters" 34 Parameters::~Parameters () 41 Parameters::~Parameters (void) 42 { 43 log_begin(@COMPONENT,FUNCTION); 44 log_end(@COMPONENT,FUNCTION); 45 }; 46 47 #undef FUNCTION 48 #define FUNCTION "@COMPONENT::copy" 49 void Parameters::copy (void) 35 50 { 36 51 log_begin(@COMPONENT,FUNCTION);
Note: See TracChangeset
for help on using the changeset viewer.