Changeset 75 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Read_queue/src
- Timestamp:
- Jan 31, 2008, 6:46:41 PM (16 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Read_queue/src
- Files:
-
- 4 deleted
- 7 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Read_queue/src/Parameters_msg_error.cpp
r68 r75 8 8 #include "Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Read_queue/include/Parameters.h" 9 9 #include <sstream> 10 using namespace std;11 10 12 11 namespace morpheo { … … 20 19 21 20 22 st ring Parameters::msg_error(void)21 std::string Parameters::msg_error(void) 23 22 { 24 23 log_printf(FUNC,Read_queue,"msg_error","Begin"); 25 24 26 st ring msg = "";25 std::string msg = ""; 27 26 28 27 // if (_size_queue < 2) -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Read_queue/src/Parameters_print.cpp
r66 r75 8 8 #include "Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Read_queue/include/Parameters.h" 9 9 #include "Behavioural/include/XML.h" 10 using namespace std;11 10 12 11 namespace morpheo { … … 20 19 21 20 22 st ring Parameters::print (uint32_t depth)21 std::string Parameters::print (uint32_t depth) 23 22 { 24 23 log_printf(FUNC,Read_queue,"print","Begin"); … … 47 46 }; 48 47 49 ostream& operator<< (ostream& output_stream ,50 48 std::ostream& operator<< (std::ostream& output_stream , 49 morpheo::behavioural::core::multi_execute_loop::execute_loop::multi_read_unit::read_unit::read_queue::Parameters & x) 51 50 { 52 51 output_stream << x.print(0); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Read_queue/src/Read_queue.cpp
r68 r75 39 39 40 40 #ifdef STATISTICS 41 log_printf(INFO,Read_queue,"Read_queue","Allocation of statistics"); 42 43 // Allocation of statistics 44 _stat = new Statistics (static_cast<string>(_name), 45 param_statistics , 46 param); 41 log_printf(INFO,Read_queue,FUNCTION,"Allocation of statistics"); 42 43 statistics_declaration(param_statistics); 47 44 #endif 48 45 … … 217 214 log_printf(INFO,Read_queue,"~Read_queue","Generate Statistics file"); 218 215 219 _stat->generate_file(statistics(0));220 221 216 delete _stat; 222 217 #endif -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Read_queue/src/Read_queue_allocation.cpp
r68 r75 21 21 void Read_queue::allocation (void) 22 22 { 23 string rename;24 25 23 log_printf(FUNC,Read_queue,"allocation","Begin"); 26 24 … … 238 236 239 237 // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 240 _queue = new queue<Tread_queue_entry_t *>;238 _queue = new std::queue<Tread_queue_entry_t *>; 241 239 _queue_head = new Tread_queue_head_entry_t; 242 240 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Read_queue/src/Read_queue_end_cycle.cpp
r59 r75 1 #if def VHDL_TESTBENCH1 #if defined(STATISTICS) or defined(VHDL_TESTBENCH) 2 2 /* 3 3 * $Id$ … … 19 19 20 20 21 void Read_queue:: vhdl_testbench_transition()21 void Read_queue::end_cycle () 22 22 { 23 23 log_printf(FUNC,Read_queue,"vhdl_testbench_transition","Begin"); 24 24 25 #ifdef STATISTICS 26 _stat->end_cycle(); 27 #endif 28 29 #ifdef VHDL_TESTBENCH 25 30 // Evaluation before read the ouput signal 26 // sc_start(0); 27 31 // sc_start(0); 28 32 _interfaces->testbench(); 33 #endif 29 34 30 35 log_printf(FUNC,Read_queue,"vhdl_testbench_transition","End"); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Read_queue/src/Read_queue_statistics_declaration.cpp
r59 r75 18 18 namespace read_queue { 19 19 20 #undef FUNCTION 21 #define FUNCTION "Read_queue::statistics_declaration" 22 void Read_queue::statistics_declaration (morpheo::behavioural::Parameters_Statistics * param_statistics) 23 { 24 log_printf(FUNC,Read_queue,FUNCTION,"Begin"); 20 25 21 string Read_queue::statistics (uint32_t depth) 22 { 23 log_printf(FUNC,Read_queue,"statistics","Begin"); 24 25 string txt = _stat->print(depth); 26 _stat = new Stat (static_cast<std::string>(_name), 27 "Read_queue", 28 param_statistics); 26 29 27 log_printf(FUNC,Read_queue,"statistics","End"); 28 29 return txt; 30 log_printf(FUNC,Read_queue,FUNCTION,"End"); 30 31 }; 31 32 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Read_queue/src/Read_queue_transition.cpp
r68 r75 138 138 } 139 139 140 #ifdef STATISTICS 141 _stat->add(); 142 #endif 143 144 #ifdef VHDL_TESTBENCH 145 vhdl_testbench_transition (); 140 #if defined(STATISTICS) or defined(VHDL_TESTBENCH) 141 end_cycle (); 146 142 #endif 147 143 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Read_queue/src/Read_queue_vhdl.cpp
r68 r75 35 35 ); 36 36 37 st ring queue_name = _name + "_queue";37 std::string queue_name = _name + "_queue"; 38 38 queue = new morpheo::behavioural::generic::queue::Queue 39 39 (queue_name.c_str() -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Read_queue/src/Read_queue_vhdl_body.cpp
r68 r75 208 208 for (int32_t i=_param->_nb_gpr_write-1; i>=0 ; i--) 209 209 { 210 st ring cmp;210 std::string cmp; 211 211 212 212 if (_param->_have_port_ooo_engine_id) … … 228 228 for (int32_t i=_param->_nb_gpr_write-1; i>=0 ; i--) 229 229 { 230 st ring cmp;230 std::string cmp; 231 231 232 232 if (_param->_have_port_ooo_engine_id) … … 248 248 for (int32_t i=_param->_nb_spr_write-1; i>=0 ; i--) 249 249 { 250 st ring cmp;250 std::string cmp; 251 251 252 252 if (_param->_have_port_ooo_engine_id) … … 278 278 for (int32_t i=_param->_nb_gpr_write-1; i>=0 ; i--) 279 279 { 280 st ring cmp;280 std::string cmp; 281 281 282 282 if (_param->_have_port_ooo_engine_id) … … 298 298 for (int32_t i=_param->_nb_gpr_write-1; i>=0 ; i--) 299 299 { 300 st ring cmp;300 std::string cmp; 301 301 302 302 if (_param->_have_port_ooo_engine_id) … … 318 318 for (int32_t i=_param->_nb_spr_write-1; i>=0 ; i--) 319 319 { 320 st ring cmp;320 std::string cmp; 321 321 322 322 if (_param->_have_port_ooo_engine_id) … … 343 343 for (int32_t i=_param->_nb_gpr_write-1; i>=0 ; i--) 344 344 { 345 st ring cmp;345 std::string cmp; 346 346 347 347 if (_param->_have_port_ooo_engine_id) … … 365 365 for (int32_t i=_param->_nb_gpr_write-1; i>=0 ; i--) 366 366 { 367 st ring cmp;367 std::string cmp; 368 368 369 369 if (_param->_have_port_ooo_engine_id) … … 387 387 for (int32_t i=_param->_nb_spr_write-1; i>=0 ; i--) 388 388 { 389 st ring cmp;389 std::string cmp; 390 390 391 391 if (_param->_have_port_ooo_engine_id)
Note: See TracChangeset
for help on using the changeset viewer.