Last change
on this file since 68 was
62,
checked in by rosiere, 17 years ago
|
Modification en profondeur de Component-port_map.
Compilation ok pour Register_unit ... a tester (systemC et vhdl)
|
File size:
1.4 KB
|
Rev | Line | |
---|
[53] | 1 | #ifdef SYSTEMC |
---|
| 2 | /* |
---|
| 3 | * $Id$ |
---|
| 4 | * |
---|
| 5 | * [ Description ] |
---|
| 6 | * |
---|
| 7 | */ |
---|
| 8 | |
---|
| 9 | #include "Behavioural/Generic/RegisterFile/RegisterFile_Multi_Banked/include/RegisterFile_Multi_Banked.h" |
---|
| 10 | |
---|
| 11 | namespace morpheo { |
---|
| 12 | namespace behavioural { |
---|
| 13 | namespace generic { |
---|
| 14 | namespace registerfile { |
---|
| 15 | namespace registerfile_multi_banked { |
---|
| 16 | |
---|
| 17 | |
---|
| 18 | void RegisterFile_Multi_Banked::deallocation (void) |
---|
| 19 | { |
---|
| 20 | log_printf(FUNC,RegisterFile_Multi_Banked,"deallocation","Begin"); |
---|
| 21 | |
---|
| 22 | delete in_CLOCK; |
---|
| 23 | delete in_NRESET; |
---|
| 24 | |
---|
| 25 | // ----- Interface Read |
---|
| 26 | delete [] in_READ_VAL ; |
---|
| 27 | delete [] out_READ_ACK ; |
---|
[62] | 28 | if (_param->_have_port_address == true) |
---|
[53] | 29 | delete [] in_READ_ADDRESS; |
---|
| 30 | delete [] out_READ_DATA ; |
---|
| 31 | |
---|
| 32 | // ----- Interface Write |
---|
| 33 | delete [] in_WRITE_VAL ; |
---|
| 34 | delete [] out_WRITE_ACK ; |
---|
[62] | 35 | if (_param->_have_port_address == true) |
---|
[53] | 36 | delete [] in_WRITE_ADDRESS; |
---|
| 37 | delete [] in_WRITE_DATA ; |
---|
| 38 | |
---|
| 39 | // ----- Register |
---|
| 40 | delete [] reg_DATA; |
---|
| 41 | |
---|
| 42 | // ----- Internal |
---|
| 43 | delete [] internal_WRITE_VAL; |
---|
| 44 | delete [] internal_WRITE_BANK; |
---|
| 45 | delete [] internal_WRITE_NUM_REG; |
---|
| 46 | |
---|
| 47 | // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
| 48 | |
---|
| 49 | delete _component; |
---|
| 50 | |
---|
| 51 | log_printf(FUNC,RegisterFile_Multi_Banked,"deallocation","End"); |
---|
| 52 | }; |
---|
| 53 | |
---|
| 54 | }; // end namespace registerfile_multi_banked |
---|
| 55 | }; // end namespace registerfile |
---|
| 56 | }; // end namespace generic |
---|
| 57 | |
---|
| 58 | }; // end namespace behavioural |
---|
| 59 | }; // end namespace morpheo |
---|
| 60 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.