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/Icache_Access/src/Icache_Access_genMealy_req.cpp

    r119 r123  
    2323    Tcontrol_t icache_req_val [_param->_nb_icache_port];
    2424    for (uint32_t i=0; i<_param->_nb_icache_port; ++i)
     25      icache_req_val [i] = 0;
     26    Tcontrol_t context_req_ack [_param->_nb_front_end][_param->_max_nb_context];
     27    for (uint32_t i=0; i<_param->_nb_front_end; ++i)
     28      for (uint32_t j=0; j<_param->_nb_context[i]; ++j)
     29        context_req_ack [i][j] = 0;
     30
     31    if (PORT_READ(in_NRESET))
    2532      {
    26         icache_req_val [i] = 0;
    27 
     33    for (uint32_t i=0; i<_param->_nb_icache_port; ++i)
     34      {
    2835#ifdef STATISTICS
    2936        _internal_ICACHE_REQ_NB_ACCESS         [i] = 0;
     
    3239      }
    3340   
    34     Tcontrol_t context_req_ack [_param->_nb_front_end][_param->_max_nb_context];
    35     for (uint32_t i=0; i<_param->_nb_front_end; ++i)
    36       for (uint32_t j=0; j<_param->_nb_context[i]; ++j)
    37         context_req_ack [i][j] = 0;
    38        
    3941    std::list<generic::priority::select_t> * select = _priority ->select();
    4042    for (std::list<generic::priority::select_t>::iterator it=select ->begin();
     
    8587          }
    8688      }
     89      }
     90
    8791
    8892    for (uint32_t i=0; i<_param->_nb_icache_port; ++i)
Note: See TracChangeset for help on using the changeset viewer.