Ignore:
Timestamp:
Jul 8, 2009, 8:40:08 PM (15 years ago)
Author:
rosiere
Message:

1) add constant method
2) test with systemc 2.2.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Update_Prediction_Table/src/Update_Prediction_Table.cpp

    r124 r131  
    7676    if (usage_is_set(_usage,USE_SYSTEMC))
    7777      {
    78         // Constant
    79         for (uint32_t i=0; i<_param->_nb_inst_branch_complete; i++)
    80           {
    81             internal_BRANCH_COMPLETE_ACK [i] = 1;
    82             PORT_WRITE(out_BRANCH_COMPLETE_ACK [i], internal_BRANCH_COMPLETE_ACK [i]);
    83           }
    84         for (uint32_t i=0; i<_param->_nb_context; ++i)
    85           {
    86             internal_EVENT_ACK [i] = 1;
    87             PORT_WRITE(out_EVENT_ACK [i], internal_EVENT_ACK [i]);
    88           }
    89 
     78#ifdef SYSTEMCASS_SPECIFIC
     79        constant();
     80#else
     81        log_printf(INFO,Update_Prediction_Table,FUNCTION,"Method - constant");
     82
     83        SC_METHOD (constant);
     84//      dont_initialize ();
     85       
     86# ifdef SYSTEMCASS_SPECIFIC
     87        // List dependency information
     88# endif   
     89#endif
    9090        log_printf(INFO,Update_Prediction_Table,FUNCTION,"Method - transition");
    9191
Note: See TracChangeset for help on using the changeset viewer.