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/Context_State/src/Context_State_genMealy_decod_event.cpp

    r102 r123  
    2424    log_function(Context_State,FUNCTION,_name.c_str());
    2525
     26    if (PORT_READ(in_NRESET))
     27      {
    2628    for (uint32_t i=0; i<_param->_nb_decod_unit; i++)
    2729      {
     
    4951
    5052        internal_DECOD_EVENT_ACK [i] = ack;
    51         PORT_WRITE(out_DECOD_EVENT_ACK [i], internal_DECOD_EVENT_ACK [i]);
    5253      }
     54      }
     55    else
     56      {
     57        for (uint32_t i=0; i<_param->_nb_decod_unit; i++)
     58          internal_DECOD_EVENT_ACK [i] = 0;
     59      }
     60
     61    for (uint32_t i=0; i<_param->_nb_decod_unit; i++)
     62      PORT_WRITE(out_DECOD_EVENT_ACK [i], internal_DECOD_EVENT_ACK [i]);
    5363
    5464    log_end(Context_State,FUNCTION);
Note: See TracChangeset for help on using the changeset viewer.