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.cpp

    r101 r123  
    3939    usage_environment(_usage);
    4040
    41 #if DEBUG_Context_State == true
    42     log_printf(INFO,Context_State,FUNCTION,_("<%s> Parameters"),_name.c_str());
     41// #if DEBUG_Context_State == true
     42//     log_printf(INFO,Context_State,FUNCTION,_("<%s> Parameters"),_name.c_str());
    4343
    44     std::cout << *param << std::endl;
    45 #endif   
     44//     std::cout << *param << std::endl;
     45// #endif   
    4646
    4747    log_printf(INFO,Context_State,FUNCTION,_("Allocation"));
     
    139139        // List dependency information
    140140# endif   
     141
     142        log_printf(INFO,Context_State,FUNCTION,_("Method - genMealy_context_event"));
     143
     144        SC_METHOD (genMealy_context_event);
     145        dont_initialize ();
     146//      sensitive << (*(in_CLOCK)).neg(); // use internal register
     147        sensitive << (*(in_COMMIT_EVENT_VAL             ));
     148        if (_param->_have_port_context_id)                                     
     149        sensitive << (*(in_COMMIT_EVENT_CONTEXT_ID      ));
     150        for (uint32_t i=0; i<_param->_nb_inst_branch_complete; ++i)
     151          {
     152            sensitive << (*(in_BRANCH_COMPLETE_VAL             [i]))
     153                      << (*(in_BRANCH_COMPLETE_MISS_PREDICTION [i]));
     154            if (_param->_have_port_context_id)                                 
     155            sensitive << (*(in_BRANCH_COMPLETE_CONTEXT_ID      [i]));
     156          }
     157       
     158# ifdef SYSTEMCASS_SPECIFIC
     159        // List dependency information
     160# endif   
    141161       
    142162#endif
Note: See TracChangeset for help on using the changeset viewer.