#ifdef SYSTEMC
/*
 * $Id$
 *
 * [ Description ]
 * 
 */

#include "Behavioural/Generic/Victim/Victim_Pseudo_LRU/include/Victim_Pseudo_LRU.h"

namespace morpheo                    {
namespace behavioural {
namespace generic {
namespace victim {
namespace victim_pseudo_lru {

  void Victim_Pseudo_LRU::deallocation (void)
  {
    delete     in_CLOCK;
    delete     in_NRESET;
    // -----[ Interface access ]-------------------------------------------
    delete []  in_ACCESS_VAL    ;
    delete [] out_ACCESS_ACK    ;
    if (_param._size_table>1)
    delete []  in_ACCESS_ADDRESS;
    delete [] out_ACCESS_ENTITY ;
    
    // -----[ Interface update ]-------------------------------------------
    delete []  in_UPDATE_VAL    ;
    delete [] out_UPDATE_ACK    ;
    if (_param._size_table>1)
    delete []  in_UPDATE_ADDRESS;
    delete []  in_UPDATE_ENTITY ;

    // -----[ Register ]---------------------------------------------------
    delete [] reg_TABLE;

    // -----[ Internal ]---------------------------------------------------
    delete [] internal_ACCESS_ENTITY;

#ifdef POSITION
    delete _component;
#else
    delete _interfaces;
#endif
  };

}; // end namespace victim_pseudo_lru
}; // end namespace victim
}; // end namespace generic
}; // end namespace behavioural
}; // end namespace morpheo              
#endif
