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/Core_Glue/src/Core_Glue_genMealy_insert.cpp

    r109 r123  
    2222    log_function(Core_Glue,FUNCTION,_name.c_str());
    2323
     24    if (PORT_READ(in_NRESET))
     25      {
    2426    for (uint32_t i=0; i<_param->_nb_execute_loop; ++i)
    2527      for (uint32_t j=0; j<_param->_execute_loop_nb_ooo_engine[i]; ++j)
     
    5052            }
    5153        }
     54      }
     55    else
     56      {
     57        for (uint32_t i=0; i<_param->_nb_execute_loop; ++i)
     58          for (uint32_t j=0; j<_param->_execute_loop_nb_ooo_engine[i]; ++j)
     59            {
     60              Tcontext_t num_ooo_engine   = _param->_translate_execute_loop_num_ooo_engine [i][j];
     61             
     62              for (uint32_t k=0; k<_param->_execute_loop_nb_inst_insert[i][j]; ++k)
     63                {
     64                  PORT_WRITE(out_INSERT_OOO_ENGINE_ACK  [num_ooo_engine][k],0);
     65                 PORT_WRITE(out_INSERT_EXECUTE_LOOP_VAL [i][j][k],0);
     66                }
     67            }
     68      }
    5269
    5370    log_end(Core_Glue,FUNCTION);
Note: See TracChangeset for help on using the changeset viewer.