/* * $Id: Select_Priority_Fixed_deallocation.cpp 88 2008-12-10 18:31:39Z rosiere $ * * [ Description ] * */ #include "Behavioural/Generic/Select/Select_Priority_Fixed/include/Select_Priority_Fixed.h" namespace morpheo { namespace behavioural { namespace generic { namespace select { namespace select_priority_fixed { void Select_Priority_Fixed::deallocation (void) { log_printf(FUNC,Select_Priority_Fixed,"deallocation","Begin"); if (usage_is_set(_usage,USE_SYSTEMC)) { delete in_CLOCK; delete in_NRESET; delete [] in_VAL; if (_param->_encoding_one_hot) delete [] out_ACK; if (_param->_encoding_compact) { delete out_ENTITY; delete out_ENTITY_ACK; } } // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ delete _component; log_printf(FUNC,Select_Priority_Fixed,"deallocation","End"); }; }; // end namespace select_priority_fixed }; // end namespace select }; // end namespace generic }; // end namespace behavioural }; // end namespace morpheo