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_Execute_loop/Execute_loop/Register_unit/Register_unit_Glue/src/Register_unit_Glue_genMealy_gpr_write.cpp

    r88 r123  
    2525    log_begin(Register_unit_Glue,FUNCTION);
    2626    log_function(Register_unit_Glue,FUNCTION,_name.c_str());
    27 //     if (not PORT_READ(in_NRESET))
    28 //       {
    29 //      for (uint32_t j=0; j<_param->_nb_gpr_write; j++)
    30 //        for (uint32_t i=0; i<_param->_nb_ooo_engine; i++)
    31 //          PORT_WRITE(out_GPR_WRITE_ACK [j], 0);
    32 //       }
    33 //     else
     27
     28
     29    if (PORT_READ(in_NRESET))
    3430      {
    3531        for (uint32_t j=0; j<_param->_nb_gpr_write; j++)
     
    4238            PORT_WRITE(out_GPR_WRITE_ACK [j],registerfile_ack and status_ack);
    4339          }
     40      }
     41    else
     42      {
     43        for (uint32_t j=0; j<_param->_nb_gpr_write; j++)
     44          for (uint32_t i=0; i<_param->_nb_ooo_engine; i++)
     45            PORT_WRITE(out_GPR_WRITE_ACK [j], 0);
    4446      }
    4547   
Note: See TracChangeset for help on using the changeset viewer.