Changeset 123 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod_queue/src/Decod_queue_function_multi_fifo_genMoore.cpp
- Timestamp:
- Jun 8, 2009, 10:43:30 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod_queue/src/Decod_queue_function_multi_fifo_genMoore.cpp
r111 r123 25 25 log_function(Decod_queue,FUNCTION,_name.c_str()); 26 26 27 if (PORT_READ(in_NRESET)) 28 { 27 29 //-------------------------------------------------------------------- 28 30 //-----[ DECOD_IN ]--------------------------------------------------- … … 34 36 { 35 37 internal_DECOD_IN_ACK [i] = (reg_QUEUE[num_bank].size() < _param->_size_queue); 36 PORT_WRITE(out_DECOD_IN_ACK [i],internal_DECOD_IN_ACK [i]);37 38 38 39 num_bank = (num_bank+1)%_param->_nb_bank; … … 57 58 PORT_WRITE(out_DECOD_OUT_OPERATION [i],reg_QUEUE[num_bank].front()->_operation [0]); 58 59 PORT_WRITE(out_DECOD_OUT_NO_EXECUTE [i],reg_QUEUE[num_bank].front()->_no_execute [0]); 60 // PORT_WRITE(out_DECOD_OUT_HAVE_EVENT [i],0); 61 PORT_WRITE(out_DECOD_OUT_LAST_EVENT [i],0); 59 62 PORT_WRITE(out_DECOD_OUT_IS_DELAY_SLOT [i],reg_QUEUE[num_bank].front()->_is_delay_slot [0]); 60 63 #ifdef DEBUG … … 86 89 for (uint32_t i=0; i<_param->_nb_context; i++) 87 90 PORT_WRITE(out_NB_INST_ALL [i], reg_NB_INST [i]); 91 } 92 else 93 { 94 for (uint32_t i=0; i<_param->_nb_inst_decod; i++) 95 { 96 internal_DECOD_IN_ACK [i] = 0; 97 } 98 for (uint32_t i=0; i<_param->_nb_context; i++) 99 PORT_WRITE(out_NB_INST_ALL [i], 0); 100 } 101 102 103 // Write output 104 for (uint32_t i=0; i<_param->_nb_inst_decod; i++) 105 { 106 PORT_WRITE(out_DECOD_IN_ACK [i],internal_DECOD_IN_ACK [i]); 107 } 108 88 109 89 110 log_end(Decod_queue,FUNCTION);
Note: See TracChangeset
for help on using the changeset viewer.