/* * $Id$ * * [ Description ] * */ #include "Behavioural/@DIRECTORY/include/@COMPONENT.h" namespace morpheo { namespace behavioural { @NAMESPACE_BEGIN #undef FUNCTION #define FUNCTION "@COMPONENT::deallocation" void @COMPONENT::deallocation (void) { log_printf(FUNC,@COMPONENT,FUNCTION,"Begin"); if (_usage & USE_SYSTEMC) { delete in_CLOCK ; delete in_NRESET; } // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ delete _component; log_printf(FUNC,@COMPONENT,FUNCTION,"End"); }; @NAMESPACE_END }; // end namespace behavioural }; // end namespace morpheo