Ignore:
Timestamp:
Jun 8, 2009, 10:43:30 PM (15 years ago)
Author:
rosiere
Message:

1) Fix performance
2) add auto generation to SPECINT2000
3) add reset in genMoore and genMealy

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  
    2525    log_function(Decod_queue,FUNCTION,_name.c_str());
    2626
     27    if (PORT_READ(in_NRESET))
     28      {
    2729    //--------------------------------------------------------------------
    2830    //-----[ DECOD_IN ]---------------------------------------------------
     
    3436        {
    3537          internal_DECOD_IN_ACK [i] = ack;
    36           PORT_WRITE(out_DECOD_IN_ACK [i],ack);
    3738        }
    3839    }
     
    5758          PORT_WRITE(out_DECOD_OUT_OPERATION     [i],reg_QUEUE->front()->_operation     [index]);
    5859          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);
    5962          PORT_WRITE(out_DECOD_OUT_IS_DELAY_SLOT [i],reg_QUEUE->front()->_is_delay_slot [index]);
    6063#ifdef DEBUG
     
    8386    for (uint32_t i=0; i<_param->_nb_context; i++)
    8487      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
    85105
    86106    log_end(Decod_queue,FUNCTION);
Note: See TracChangeset for help on using the changeset viewer.