- Timestamp:
- Jan 31, 2008, 6:46:41 PM (16 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Queue/src
- Files:
-
- 1 added
- 5 deleted
- 5 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Queue/src/Parameters_msg_error.cpp
r67 r75 9 9 #include "Behavioural/Generic/Queue/include/Parameters.h" 10 10 #include <sstream> 11 using namespace std;12 13 11 namespace morpheo { 14 12 namespace behavioural { … … 19 17 #undef FUNCTION 20 18 #define FUNCTION "Queue::msg_error" 21 st ring Parameters::msg_error(void)19 std::string Parameters::msg_error(void) 22 20 { 23 21 log_printf(FUNC,Queue,FUNCTION,"Begin"); 24 22 25 st ring msg = "";23 std::string msg = ""; 26 24 27 25 return msg; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Queue/src/Parameters_print.cpp
r67 r75 8 8 #include "Behavioural/Generic/Queue/include/Parameters.h" 9 9 #include "Behavioural/include/XML.h" 10 using namespace std;11 10 12 11 namespace morpheo { … … 18 17 #undef FUNCTION 19 18 #define FUNCTION "Queue::print" 20 st ring Parameters::print (uint32_t depth)19 std::string Parameters::print (uint32_t depth) 21 20 { 22 21 log_printf(FUNC,Queue,FUNCTION,"Begin"); … … 36 35 #undef FUNCTION 37 36 #define FUNCTION "Queue::operator<<" 38 ostream& operator<< (ostream& output_stream ,39 37 std::ostream& operator<< (std::ostream& output_stream , 38 morpheo::behavioural::generic::queue::Parameters & x) 40 39 { 41 40 log_printf(FUNC,Queue,FUNCTION,"Begin"); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Queue/src/Queue.cpp
r68 r75 32 32 ,_param (param) 33 33 ,_usage (usage) 34 // #ifdef STATISTICS35 // ,_param_statistics (param_statistics)36 // #endif37 34 { 38 35 log_printf(FUNC,Queue,FUNCTION,"Begin"); … … 46 43 log_printf(INFO,Queue,FUNCTION,"Allocation of statistics"); 47 44 48 // Allocation of statistics 49 _stat = new Statistics (static_cast<string>(_name), 50 param_statistics , 51 param); 45 statistics_declaration(param_statistics); 52 46 } 53 47 #endif … … 102 96 log_printf(INFO,Queue,FUNCTION,"Generate Statistics file"); 103 97 104 _stat->generate_file(statistics(0));105 98 delete _stat; 106 99 } -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Queue/src/Queue_allocation.cpp
r68 r75 19 19 void Queue::allocation (void) 20 20 { 21 string rename;22 23 21 log_printf(FUNC,Queue,FUNCTION,"Begin"); 24 22 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Queue/src/Queue_statistics_declaration.cpp
r67 r75 14 14 namespace queue { 15 15 16 17 16 #undef FUNCTION 18 #define FUNCTION "Queue::statistics "19 string Queue::statistics (uint32_t depth)17 #define FUNCTION "Queue::statistics_declaration" 18 void Queue::statistics_declaration (morpheo::behavioural::Parameters_Statistics * param_statistics) 20 19 { 21 20 log_printf(FUNC,Queue,FUNCTION,"Begin"); 22 21 23 string txt = _stat->print(depth); 22 _stat = new Stat (static_cast<std::string>(_name), 23 "Queue", 24 param_statistics); 24 25 25 26 log_printf(FUNC,Queue,FUNCTION,"End"); 26 27 return txt;28 27 }; 29 28 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Queue/src/Queue_transition.cpp
r67 r75 53 53 } 54 54 55 #ifdef STATISTICS 56 _stat->add(); 57 #endif 58 59 #ifdef VHDL_TESTBENCH 60 vhdl_testbench_transition (); 55 #if defined(STATISTICS) or defined(VHDL_TESTBENCH) 56 end_cycle (); 61 57 #endif 62 58
Note: See TracChangeset
for help on using the changeset viewer.