- Timestamp:
- Mar 27, 2008, 11:04:49 AM (16 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/src
- Files:
-
- 1 added
- 4 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/src/New_Component.cpp
r76 r78 46 46 log_printf(INFO,@COMPONENT,FUNCTION,"Allocation of statistics"); 47 47 48 statistics_ declaration(param_statistics);48 statistics_allocation(param_statistics); 49 49 } 50 50 #endif … … 87 87 if (_usage & USE_STATISTICS) 88 88 { 89 log_printf(INFO,@COMPONENT,FUNCTION,"Generate Statistics file"); 90 91 delete _stat; 89 statistics_deallocation(); 92 90 } 93 91 #endif -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/src/New_Component_allocation.cpp
r76 r78 36 36 37 37 _interfaces = entity->set_interfaces(); 38 39 // ~~~~~[ Interface : "" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~40 38 39 // ~~~~~[ Interface : "" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 { 41 41 Interface * interface = _interfaces->set_interface("" 42 42 #ifdef POSITION … … 46 46 #endif 47 47 ); 48 49 in_CLOCK = interface->set_signal_clk ("clock" ,1, CLOCK_VHDL_YES); 50 in_NRESET = interface->set_signal_in <Tcontrol_t> ("nreset",1, RESET_VHDL_YES); 51 } 52 53 // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 54 55 // ~~~~~[ Instanciation ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 std::string src,dest; 48 57 49 in_CLOCK = interface->set_signal_clk ("clock" ,1, CLOCK_VHDL_YES);50 in_NRESET = interface->set_signal_in <Tcontrol_t> ("nreset",1, RESET_VHDL_YES);51 58 52 // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 59 // ~~~~~[ Others ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 60 _component->test_map(); 53 61 54 62 #ifdef POSITION -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/src/New_Component_statistics_allocation.cpp
r76 r78 14 14 15 15 #undef FUNCTION 16 #define FUNCTION "@COMPONENT::statistics_ declaration"17 void @COMPONENT::statistics_ declaration (morpheo::behavioural::Parameters_Statistics * param_statistics)16 #define FUNCTION "@COMPONENT::statistics_allocation" 17 void @COMPONENT::statistics_allocation (morpheo::behavioural::Parameters_Statistics * param_statistics) 18 18 { 19 19 log_printf(FUNC,@COMPONENT,FUNCTION,"Begin"); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/src/Parameters.cpp
r76 r78 21 21 }; 22 22 23 #undef FUNCTION24 #define FUNCTION "@COMPONENT::Parameters (copy)"25 Parameters::Parameters (Parameters & param)26 {27 log_printf(FUNC,@COMPONENT,FUNCTION,"Begin");28 test();29 log_printf(FUNC,@COMPONENT,FUNCTION,"End");30 };23 // #undef FUNCTION 24 // #define FUNCTION "@COMPONENT::Parameters (copy)" 25 // Parameters::Parameters (Parameters & param) 26 // { 27 // log_printf(FUNC,@COMPONENT,FUNCTION,"Begin"); 28 // test(); 29 // log_printf(FUNC,@COMPONENT,FUNCTION,"End"); 30 // }; 31 31 32 32 #undef FUNCTION -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/src/Parameters_msg_error.cpp
r76 r78 16 16 #undef FUNCTION 17 17 #define FUNCTION "@COMPONENT::msg_error" 18 std::stringParameters::msg_error(void)18 Parameters_test Parameters::msg_error(void) 19 19 { 20 20 log_printf(FUNC,@COMPONENT,FUNCTION,"Begin"); 21 21 22 std::string msg = ""; 23 24 return msg; 22 Parameters_test test ("@COMPONENT"); 25 23 26 24 log_printf(FUNC,@COMPONENT,FUNCTION,"End"); 25 26 return test; 27 27 }; 28 28
Note: See TracChangeset
for help on using the changeset viewer.