- Timestamp:
- Jan 31, 2008, 6:46:41 PM (16 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Counter
- Files:
-
- 2 deleted
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Counter/include/Counter.h
r71 r75 27 27 #include "Behavioural/include/Component.h" 28 28 29 using namespace std;30 31 29 namespace morpheo { 32 30 namespace behavioural { … … 41 39 // -----[ fields ]---------------------------------------------------- 42 40 // Parameters 43 protected : const st ring _name;41 protected : const std::string _name; 44 42 45 43 protected : const Parameters _param; 46 44 47 45 #ifdef STATISTICS 48 p rivate: Stat * _stat;46 public : Stat * _stat; 49 47 #endif 50 48 … … 75 73 public : Counter (sc_module_name name, 76 74 #else 77 public : Counter (st ringname,75 public : Counter (std::string name, 78 76 #endif 79 77 #ifdef STATISTICS … … 96 94 #ifdef STATISTICS 97 95 public : void statistics_declaration (morpheo::behavioural::Parameters_Statistics * param_statistics); 98 public : string statistics_print (uint32_t depth);99 96 #endif 100 97 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Counter/include/Parameters.h
r44 r75 32 32 public : ~Parameters () ; 33 33 34 public : string msg_error (void); 35 36 public : string print (uint32_t depth); 37 public : friend ostream& operator<< (ostream& output_stream, 38 morpheo::behavioural::generic::counter::Parameters & x); 34 public : std::string msg_error (void); 35 public : std::string print (uint32_t depth); 36 public : friend std::ostream& operator<< (std::ostream& output_stream, 37 morpheo::behavioural::generic::counter::Parameters & x); 39 38 }; 40 39 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Counter/src/Counter_allocation.cpp
r42 r75 17 17 void Counter::allocation (void) 18 18 { 19 string rename;20 21 19 log_printf(FUNC,Counter,"allocation","Begin"); 22 20 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Counter/src/Counter_statistics_declaration.cpp
r71 r75 20 20 log_printf(FUNC,Counter,FUNCTION,"Begin"); 21 21 22 _stat = new Stat (static_cast<st ring>(_name),22 _stat = new Stat (static_cast<std::string>(_name), 23 23 "Counter", 24 24 param_statistics); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Counter/src/Counter_vhdl_body.cpp
r42 r75 21 21 for (uint32_t i=0; i<_param._nb_port; i++) 22 22 { 23 st ring counter_inc, counter_dec;23 std::string counter_inc, counter_dec; 24 24 25 25 if (_param._size_data > 1) -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Counter/src/Parameters_msg_error.cpp
r2 r75 9 9 #include "Behavioural/Generic/Counter/include/Types.h" 10 10 #include <sstream> 11 using namespace std;12 11 13 12 namespace morpheo { … … 17 16 18 17 19 st ring Parameters::msg_error(void)18 std::string Parameters::msg_error(void) 20 19 { 21 20 log_printf(FUNC,Counter,"msg_error","Begin"); 22 21 23 st ring msg = "";22 std::string msg = ""; 24 23 25 24 if (_size_data < 1) -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Counter/src/Parameters_print.cpp
r3 r75 8 8 #include "Behavioural/Generic/Counter/include/Parameters.h" 9 9 #include "Behavioural/include/XML.h" 10 using namespace std;11 10 12 11 namespace morpheo { … … 16 15 17 16 18 st ring Parameters::print (uint32_t depth)17 std::string Parameters::print (uint32_t depth) 19 18 { 20 19 log_printf(FUNC,Counter,"print","Begin"); … … 36 35 }; 37 36 38 ostream& operator<< (ostream& output_stream ,39 37 std::ostream& operator<< (std::ostream& output_stream , 38 morpheo::behavioural::generic::counter::Parameters & x) 40 39 { 41 40 output_stream << x.print(0);
Note: See TracChangeset
for help on using the changeset viewer.