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

#include "Behavioural/Generic/Counter/include/Counter.h"

namespace morpheo                    {
namespace behavioural {
namespace generic {
namespace counter {


  void Counter::deallocation (void)
  {
    log_printf(FUNC,Counter,"deallocation","Begin");

    delete     in_CLOCK;
    delete     in_NRESET;
    
    delete []  in_COUNTER_DATA  ;
    delete []  in_COUNTER_ADDSUB;
    delete [] out_COUNTER_DATA  ;
    
    // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    

    delete _component;

    log_printf(FUNC,Counter,"deallocation","End");
  };

}; // end namespace counter
}; // end namespace generic

}; // end namespace behavioural
}; // end namespace morpheo              
#endif
