Changeset 110 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station/src/Reservation_station_genMoore.cpp
- Timestamp:
- Feb 19, 2009, 5:31:47 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station/src/Reservation_station_genMoore.cpp
r88 r110 4 4 * $Id$ 5 5 * 6 * [ 6 * [ Description ] 7 7 * 8 8 */ … … 27 27 log_function(Reservation_station,FUNCTION,_name.c_str()); 28 28 29 // ~~~~~[ 29 // ~~~~~[ Interface "insert" ]~~~~~~~~~~~~~~~~~~~~~~~~ 30 30 31 31 // accept a new instructions when reservation_station is not full … … 38 38 PORT_WRITE(out_INSERT_ACK, internal_INSERT_ACK); 39 39 40 // ~~~~~[ 40 // ~~~~~[ Interface "retire" ]~~~~~~~~~~~~~~~~~~~~~~~ 41 41 42 42 uint32_t index_queue=0; … … 46 46 { 47 47 bool val = false; 48 uint32_t index_find = 0;; 48 uint32_t index_find = 0; 49 50 log_printf(TRACE,Reservation_station,FUNCTION," * RETIRE [%d]",i); 49 51 50 52 for (; ( … … 67 69 ( 68 70 #ifdef SYSTEMC_VHDL_COMPATIBILITY 69 _queue_valid [index_queue]and71 _queue_valid [index_queue] and 70 72 #endif 71 73 _queue[index_find]._data_ra_val and … … 74 76 ); 75 77 76 // cout << "========== Moore : " << endl 77 // << " * i : " << i << endl 78 // << " * val : " << val << endl 79 // << " * index_queue : " << index_queue << endl 80 // << " * index_find : " << index_find << endl; 78 log_printf( 79 #ifdef SYSTEMC_VHDL_COMPATIBILITY 80 TRACE,Reservation_station,FUNCTION," [%d] valid : %d, data ra %d, rb %d, rc %d - %d", 81 index_find, 82 _queue_valid [index_queue], 83 #else 84 TRACE,Reservation_station,FUNCTION," [%d] data ra %d, rb %d, rc %d - %d", 85 index_find, 86 #endif 87 _queue[index_find]._data_ra_val, 88 _queue[index_find]._data_rb_val, 89 _queue[index_find]._data_rc_val, 90 val); 81 91 } 82 92
Note: See TracChangeset
for help on using the changeset viewer.