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_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Stat_List_unit/src/Stat_List_unit.cpp

    r123 r131  
    7474    if (usage_is_set(_usage,USE_SYSTEMC))
    7575      {
    76         // Constant
    77         for (uint32_t i=0; i<_param->_nb_inst_insert; i++)
    78           {
    79             internal_INSERT_ACK[i] = 1;
    80             PORT_WRITE(out_INSERT_ACK[i], internal_INSERT_ACK[i]);
    81           }
    82         for (uint32_t i=0; i<_param->_nb_inst_retire; i++)
    83           {
    84             internal_RETIRE_ACK[i] = 1;
    85             PORT_WRITE(out_RETIRE_ACK[i], internal_RETIRE_ACK[i]);
    86           }
     76#ifdef SYSTEMCASS_SPECIFIC
     77        constant();
     78#else
     79        log_printf(INFO,Stat_List_unit,FUNCTION,"Method - constant");
     80
     81        SC_METHOD (constant);
     82//      dont_initialize ();
     83       
     84# ifdef SYSTEMCASS_SPECIFIC
     85        // List dependency information
     86# endif   
     87#endif
    8788
    8889        log_printf(INFO,Stat_List_unit,FUNCTION,"Method - transition");
Note: See TracChangeset for help on using the changeset viewer.