Changeset 123 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod_queue/src/Decod_queue_function_one_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_one_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] = ack; 36 PORT_WRITE(out_DECOD_IN_ACK [i],ack);37 38 } 38 39 } … … 57 58 PORT_WRITE(out_DECOD_OUT_OPERATION [i],reg_QUEUE->front()->_operation [index]); 58 59 PORT_WRITE(out_DECOD_OUT_NO_EXECUTE [i],reg_QUEUE->front()->_no_execute [index]); 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->front()->_is_delay_slot [index]); 60 63 #ifdef DEBUG … … 83 86 for (uint32_t i=0; i<_param->_nb_context; i++) 84 87 PORT_WRITE(out_NB_INST_ALL [i], reg_NB_INST [i]); 88 } 89 else 90 { 91 for (uint32_t i=0; i<_param->_nb_inst_decod; i++) 92 { 93 internal_DECOD_IN_ACK [i] = 0; 94 } 95 for (uint32_t i=0; i<_param->_nb_context; i++) 96 PORT_WRITE(out_NB_INST_ALL [i], 0); 97 } 98 99 // Write output 100 for (uint32_t i=0; i<_param->_nb_inst_decod; i++) 101 { 102 PORT_WRITE(out_DECOD_IN_ACK [i],internal_DECOD_IN_ACK [i]); 103 } 104 85 105 86 106 log_end(Decod_queue,FUNCTION);
Note: See TracChangeset
for help on using the changeset viewer.