#ifdef SYSTEMC /* * $Id$ * * [ Description ] * */ #include "Behavioural/Generic/RegisterFile/include/RegisterFile.h" namespace morpheo { namespace behavioural { namespace generic { namespace registerfile { void RegisterFile::deallocation (void) { delete in_CLOCK; // ----- Interface Read for (uint32_t i=0; i<_param._nb_port_read; i++) { delete in_READ_ENABLE [i]; delete in_READ_ADDRESS [i]; delete out_READ_DATA [i]; } delete in_READ_ENABLE ; delete in_READ_ADDRESS; delete out_READ_DATA ; // ----- Interface Write for (uint32_t i=0; i<_param._nb_port_write; i++) { delete in_WRITE_ENABLE [i]; delete in_WRITE_ADDRESS [i]; delete in_WRITE_DATA [i]; } delete in_WRITE_ENABLE ; delete in_WRITE_ADDRESS; delete in_WRITE_DATA ; // ----- Register for (uint32_t i=0; i<_param._nb_word; i++) { delete reg_DATA [i]; } delete reg_DATA; }; }; // end namespace registerfile }; // end namespace generic }; // end namespace behavioural }; // end namespace morpheo #endif