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

    r123 r131  
    7575    if (usage_is_set(_usage,USE_SYSTEMC))
    7676      {
    77         // Constant : accepted already transaction
    78         for (uint32_t i=0; i<_param->_nb_inst_insert; i++)
    79           {
    80             internal_RENAME_ACK [i] = 1;
    81             internal_INSERT_ACK [i] = 1;
     77#ifdef SYSTEMCASS_SPECIFIC
     78        constant();
     79#else
     80        log_printf(INFO,Register_Address_Translation_unit,FUNCTION,"Method - constant");
    8281
    83             PORT_WRITE(out_RENAME_ACK[i],internal_RENAME_ACK [i]);
    84             PORT_WRITE(out_INSERT_ACK[i],internal_INSERT_ACK [i]);
    85           }
    86 
    87         for (uint32_t i=0; i<_param->_nb_inst_retire; i++)
    88           {
    89             internal_RETIRE_ACK [i] = 1;
    90 
    91             PORT_WRITE(out_RETIRE_ACK[i],internal_RETIRE_ACK [i]);
    92           }
    93 
    94         for (uint32_t i=0; i<_param->_nb_front_end; ++i)
    95           for (uint32_t j=0; j<_param->_nb_context[i]; ++j)
    96             {
    97               internal_RETIRE_EVENT_ACK [i][j] = 1;
    98              
    99               PORT_WRITE(out_RETIRE_EVENT_ACK[i][j],internal_RETIRE_EVENT_ACK [i][j]);
    100             }
     82        SC_METHOD (constant);
     83//      dont_initialize ();
     84       
     85# ifdef SYSTEMCASS_SPECIFIC
     86        // List dependency information
     87# endif   
     88#endif
    10189
    10290        log_printf(INFO,Register_Address_Translation_unit,FUNCTION,"Method - transition");
Note: See TracChangeset for help on using the changeset viewer.