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/Dcache_Access/src/Dcache_Access_genMealy_req.cpp

    r117 r123  
    2121    log_begin(Dcache_Access,FUNCTION);
    2222
     23    if (PORT_READ(in_NRESET))
     24      {
    2325    Tcontrol_t dcache_req_val [_param->_nb_dcache_port];
    2426    for (uint32_t i=0; i<_param->_nb_dcache_port; ++i)
     
    105107        for (uint32_t k=0; k<_param->_nb_cache_access [i][j]; ++k)
    106108          PORT_WRITE(out_LSQ_REQ_ACK [i][j][k], lsq_req_ack [i][j][k]);
     109      }
     110
     111    else
     112      {
     113        for (uint32_t i=0; i<_param->_nb_dcache_port; ++i)
     114          PORT_WRITE(out_DCACHE_REQ_VAL [i], 0);
     115       
     116        for (uint32_t i=0; i<_param->_nb_execute_loop; ++i)
     117          for (uint32_t j=0; j<_param->_nb_load_store_unit[i]; ++j)
     118            for (uint32_t k=0; k<_param->_nb_cache_access [i][j]; ++k)
     119              PORT_WRITE(out_LSQ_REQ_ACK [i][j][k], 0);
     120      }
    107121
    108122    log_end(Dcache_Access,FUNCTION);
Note: See TracChangeset for help on using the changeset viewer.