[2] | 1 | /* |
---|
| 2 | * $Id: RegisterFile_Monolithic_deallocation.cpp 112 2009-03-18 22:36:26Z rosiere $ |
---|
| 3 | * |
---|
[112] | 4 | * [ Description ] |
---|
[2] | 5 | * |
---|
| 6 | */ |
---|
| 7 | |
---|
[15] | 8 | #include "Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/include/RegisterFile_Monolithic.h" |
---|
[112] | 9 | #include "Behavioural/include/Allocation.h" |
---|
[2] | 10 | |
---|
| 11 | namespace morpheo { |
---|
| 12 | namespace behavioural { |
---|
| 13 | namespace generic { |
---|
| 14 | namespace registerfile { |
---|
[15] | 15 | namespace registerfile_monolithic { |
---|
[2] | 16 | |
---|
[15] | 17 | void RegisterFile_Monolithic::deallocation (void) |
---|
[2] | 18 | { |
---|
[42] | 19 | delete _component; |
---|
| 20 | |
---|
[88] | 21 | if (usage_is_set(_usage,USE_SYSTEMC)) |
---|
[57] | 22 | { |
---|
| 23 | delete in_CLOCK; |
---|
| 24 | delete in_NRESET; |
---|
[112] | 25 | |
---|
| 26 | DELETE1_SIGNAL( in_READ_VAL ,_param->_nb_port_read,1); |
---|
| 27 | DELETE1_SIGNAL(out_READ_ACK ,_param->_nb_port_read,1); |
---|
| 28 | DELETE1_SIGNAL( in_READ_ADDRESS ,_param->_nb_port_read,_param->_size_address); |
---|
| 29 | DELETE1_SIGNAL(out_READ_DATA ,_param->_nb_port_read,_param->_size_word); |
---|
| 30 | |
---|
| 31 | DELETE1_SIGNAL( in_WRITE_VAL ,_param->_nb_port_write,1); |
---|
| 32 | DELETE1_SIGNAL(out_WRITE_ACK ,_param->_nb_port_write,1); |
---|
| 33 | DELETE1_SIGNAL( in_WRITE_ADDRESS,_param->_nb_port_write,_param->_size_address); |
---|
| 34 | DELETE1_SIGNAL( in_WRITE_DATA ,_param->_nb_port_write,_param->_size_word); |
---|
| 35 | |
---|
| 36 | DELETE1_SIGNAL( in_READ_WRITE_VAL ,_param->_nb_port_read_write,1); |
---|
| 37 | DELETE1_SIGNAL(out_READ_WRITE_ACK ,_param->_nb_port_read_write,1); |
---|
| 38 | DELETE1_SIGNAL( in_READ_WRITE_RW ,_param->_nb_port_read_write,1); |
---|
| 39 | DELETE1_SIGNAL( in_READ_WRITE_ADDRESS,_param->_nb_port_read_write,_param->_size_address); |
---|
| 40 | DELETE1_SIGNAL( in_READ_WRITE_WDATA ,_param->_nb_port_read_write,_param->_size_word); |
---|
| 41 | DELETE1_SIGNAL(out_READ_WRITE_RDATA ,_param->_nb_port_read_write,_param->_size_word); |
---|
| 42 | |
---|
| 43 | DELETE1(reg_DATA,_param->_nb_word); |
---|
[57] | 44 | } |
---|
[2] | 45 | }; |
---|
| 46 | |
---|
[15] | 47 | }; // end namespace registerfile_monolithic |
---|
[2] | 48 | }; // end namespace registerfile |
---|
| 49 | }; // end namespace generic |
---|
| 50 | }; // end namespace behavioural |
---|
| 51 | }; // end namespace morpheo |
---|