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/Generic/Victim/src/Victim_allocation.cpp

    r112 r131  
    2828    log_printf(FUNC,Victim,FUNCTION,"Begin");
    2929
    30    
     30#ifdef SYSTEMCASS_SPECIFIC
    3131    // ~~~~~[ Interface : "" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    3232    {
    33       __ALLOC0_SIGNAL(in_CLOCK ,"in_CLOCK" ,SC_CLOCK          );
    34       __ALLOC0_SIGNAL(in_NRESET,"in_NRESET",SC_IN (Tcontrol_t));
     33      __ALLOC0_SIGNAL    (in_CLOCK ,"in_CLOCK" ,SC_CLOCK          );
     34      __ALLOC0_SIGNAL    (in_NRESET,"in_NRESET",SC_IN(Tcontrol_t));
    3535    }
    3636
     
    4949      __ALLOC1_INTERFACE_END(_param->_nb_access);
    5050    }
     51#endif
    5152
    5253    // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     
    8889      case VICTIM_PSEUDO_LRU  :
    8990        {
     91#ifdef SYSTEMCASS_SPECIFIC
    9092          {
    9193            (*(_component_victim_pseudo_lru-> in_CLOCK )) (*( in_CLOCK));
     
    103105              (*(_component_victim_pseudo_lru->out_ACCESS_VICTIM  [i])) (*(out_ACCESS_VICTIM  [i]));
    104106            }
    105 
     107#else
     108           in_CLOCK          = _component_victim_pseudo_lru-> in_CLOCK         ;
     109           in_NRESET         = _component_victim_pseudo_lru-> in_NRESET        ;
     110           in_ACCESS_VAL     = _component_victim_pseudo_lru-> in_ACCESS_VAL    ;
     111          out_ACCESS_ACK     = _component_victim_pseudo_lru->out_ACCESS_ACK    ;
     112           in_ACCESS_ADDRESS = _component_victim_pseudo_lru-> in_ACCESS_ADDRESS;
     113           in_ACCESS_HIT     = _component_victim_pseudo_lru-> in_ACCESS_HIT    ;
     114           in_ACCESS_ENTITY  = _component_victim_pseudo_lru-> in_ACCESS_ENTITY ;
     115          out_ACCESS_VICTIM  = _component_victim_pseudo_lru->out_ACCESS_VICTIM ;
     116#endif
    106117          break;
    107118        }
Note: See TracChangeset for help on using the changeset viewer.