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

    r123 r131  
    7575    if (usage_is_set(_usage,USE_SYSTEMC))
    7676      {
    77         // Constant
    78         for (uint32_t i=0; i<_param->_nb_inst_reexecute; ++i)
    79           {
    80             if (_param->_have_port_load_queue_ptr)
    81             PORT_WRITE(out_REEXECUTE_LOAD_QUEUE_PTR_WRITE [i],0);
    82             PORT_WRITE(out_REEXECUTE_READ_RA              [i],0);
    83             PORT_WRITE(out_REEXECUTE_NUM_REG_RA           [i],0);
    84             PORT_WRITE(out_REEXECUTE_READ_RB              [i],0);
    85             PORT_WRITE(out_REEXECUTE_NUM_REG_RB           [i],0);
    86             PORT_WRITE(out_REEXECUTE_READ_RC              [i],0);
    87             PORT_WRITE(out_REEXECUTE_NUM_REG_RC           [i],0);
    88             PORT_WRITE(out_REEXECUTE_WRITE_RE             [i],0);
    89             PORT_WRITE(out_REEXECUTE_NUM_REG_RE           [i],0);
    90           }
     77#ifdef SYSTEMCASS_SPECIFIC
     78        constant();
     79#else
     80        log_printf(INFO,Reexecute_unit,FUNCTION,_("<%s> : Method - constant"),_name.c_str());
    9181
     82        SC_METHOD (constant);
     83//      dont_initialize ();
     84       
     85# ifdef SYSTEMCASS_SPECIFIC
     86        // List dependency information
     87# endif   
     88#endif
    9289
    9390        log_printf(INFO,Reexecute_unit,FUNCTION,_("<%s> : Method - transition"),_name.c_str());
Note: See TracChangeset for help on using the changeset viewer.