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

    r123 r131  
    7373    if (usage_is_set(_usage,USE_SYSTEMC))
    7474      {
    75         // Constant
    76         if (_param->_have_port_front_end_id)
    77           for (uint32_t i=0; i<_param->_nb_front_end; ++i)
    78             for (uint32_t j=0; j<_param->_nb_inst_decod [i]; ++j)
    79               {
    80                 PORT_WRITE(out_RENAME_FRONT_END_ID [i][j],_param->_translate_num_front_end_to_ooo_engine_front_end_id[i]);
    81               }
     75#ifdef SYSTEMCASS_SPECIFIC
     76        constant();
     77#else
     78        log_printf(INFO,Core_Glue,FUNCTION,_("<%s> : Method - constant"),_name.c_str());
     79
     80        SC_METHOD (constant);
     81//      dont_initialize ();
     82       
     83# ifdef SYSTEMCASS_SPECIFIC
     84        // List dependency information
     85# endif   
     86#endif
    8287
    8388        log_printf(INFO,Core_Glue,FUNCTION,_("<%s> : Method - transition"),_name.c_str());
Note: See TracChangeset for help on using the changeset viewer.