Ignore:
Timestamp:
Apr 20, 2009, 11:29:17 PM (15 years ago)
Author:
rosiere
Message:

1) Write queue with mealy
2) Network : fix bug
3) leak memory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Issue_queue/src/Issue_queue_function_in_order_genMealy_issue_out.cpp

    r111 r115  
    9898              entry_t* entry = _issue_queue [num_bank].front();
    9999             
     100              // have valid instruction, search a valid issue slot.
    100101              for (uint32_t j=0; j<_param->_nb_inst_issue; j++)
    101102                {
    102                   log_printf(TRACE,Issue_queue,FUNCTION,"    * Issue [%d]",j);
    103                   log_printf(TRACE,Issue_queue,FUNCTION,"      * issue_ack            : %d",PORT_READ(in_ISSUE_OUT_ACK [j]));
    104                   log_printf(TRACE,Issue_queue,FUNCTION,"      * previous transaction : %d",val[j]);
    105                   log_printf(TRACE,Issue_queue,FUNCTION,"      * can issue type       : %d",_param->_table_issue_type [j][entry->_type]);
     103                  Tcontrol_t issue_ack = PORT_READ(in_ISSUE_OUT_ACK [j]);
     104
     105                  log_printf(TRACE,Issue_queue,FUNCTION,"      * Issue [%d]",j);
     106                  log_printf(TRACE,Issue_queue,FUNCTION,"        * issue_ack            : %d",issue_ack);
     107                  log_printf(TRACE,Issue_queue,FUNCTION,"        * previous transaction : %d",val[j]);
     108                  log_printf(TRACE,Issue_queue,FUNCTION,"        * can issue type       : %d",_param->_table_issue_type [j][entry->_type]);
    106109
    107110                  // test if no previous transaction and can accept this type
    108                   if ((val[j] == 0) and
     111                  if (not val[j] and
    109112                      _param->_table_issue_type [j][entry->_type] and
    110                       PORT_READ(in_ISSUE_OUT_ACK [j]))
     113                      issue_ack)
    111114                    {
    112                       log_printf(TRACE,Issue_queue,FUNCTION,"    * find : %d",j);
     115                      log_printf(TRACE,Issue_queue,FUNCTION,"        * find !!!");
    113116                     
    114117                      // find a issue port
Note: See TracChangeset for help on using the changeset viewer.