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

    r123 r131  
    7474    if (usage_is_set(_usage,USE_SYSTEMC))
    7575      {
    76         for (uint32_t i=0; i<_param->_nb_inst_predict; i++)
    77           {
    78             internal_PREDICT_ACK [i] = 1;
    79             PORT_WRITE(out_PREDICT_ACK [i], internal_PREDICT_ACK [i]);
    80           }
    81         for (uint32_t i=0; i<_param->_nb_inst_decod  ; i++)
    82           {
    83             internal_DECOD_ACK   [i] = 1;
    84             PORT_WRITE(out_DECOD_ACK   [i], internal_DECOD_ACK   [i]);
    85           }
    86         for (uint32_t i=0; i<_param->_nb_inst_update ; i++)
    87           {
    88             internal_UPDATE_ACK  [i] = 1;
    89             PORT_WRITE(out_UPDATE_ACK  [i], internal_UPDATE_ACK  [i]);
    90           }
     76#ifdef SYSTEMCASS_SPECIFIC
     77        constant();
     78#else
     79        log_printf(INFO,Return_Address_Stack,FUNCTION,"Method - constant");
    9180
     81        SC_METHOD (constant);
     82//      dont_initialize ();
     83       
     84# ifdef SYSTEMCASS_SPECIFIC
     85        // List dependency information
     86# endif   
     87#endif
    9288        log_printf(INFO,Return_Address_Stack,FUNCTION,"Method - transition");
    9389
Note: See TracChangeset for help on using the changeset viewer.