Last change
on this file since 41 was
15,
checked in by rosiere, 17 years ago
|
Interface normalisé
Début du banc de registres multi niveaux
|
File size:
1.5 KB
|
Rev | Line | |
---|
[10] | 1 | #ifdef SYSTEMC |
---|
| 2 | /* |
---|
| 3 | * $Id$ |
---|
| 4 | * |
---|
| 5 | * [ Description ] |
---|
| 6 | * |
---|
| 7 | */ |
---|
| 8 | |
---|
[15] | 9 | #include "Behavioural/Generic/RegisterFile/RegisterFile_Multi_Banked/include/RegisterFile_Multi_Banked.h" |
---|
[10] | 10 | |
---|
| 11 | namespace morpheo { |
---|
| 12 | namespace behavioural { |
---|
| 13 | namespace generic { |
---|
[15] | 14 | namespace registerfile{ |
---|
[10] | 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 | //#if defined(STATISTICS) or defined(VHDL_TESTBENCH) |
---|
| 23 | delete in_CLOCK; |
---|
| 24 | //#endif |
---|
| 25 | delete in_NRESET; |
---|
| 26 | |
---|
| 27 | // ----- Interface Read |
---|
| 28 | for (uint32_t i=0; i<_param._nb_port_read; i++) |
---|
| 29 | { |
---|
| 30 | delete in_READ_VAL [i]; |
---|
| 31 | delete out_READ_ACK [i]; |
---|
| 32 | delete in_READ_ADDRESS [i]; |
---|
| 33 | delete out_READ_DATA [i]; |
---|
| 34 | } |
---|
| 35 | |
---|
| 36 | delete in_READ_VAL ; |
---|
| 37 | delete out_READ_ACK ; |
---|
| 38 | delete in_READ_ADDRESS; |
---|
| 39 | delete out_READ_DATA ; |
---|
| 40 | |
---|
| 41 | // ----- Interface Write |
---|
| 42 | for (uint32_t i=0; i<_param._nb_port_write; i++) |
---|
| 43 | { |
---|
| 44 | delete in_WRITE_VAL [i]; |
---|
| 45 | delete out_WRITE_ACK [i]; |
---|
| 46 | delete in_WRITE_ADDRESS [i]; |
---|
| 47 | delete in_WRITE_DATA [i]; |
---|
| 48 | } |
---|
| 49 | |
---|
| 50 | delete in_WRITE_VAL ; |
---|
| 51 | delete out_WRITE_ACK ; |
---|
| 52 | delete in_WRITE_ADDRESS; |
---|
| 53 | delete in_WRITE_DATA ; |
---|
| 54 | |
---|
| 55 | // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
| 56 | |
---|
| 57 | log_printf(FUNC,RegisterFile_Multi_Banked,"deallocation","End"); |
---|
| 58 | }; |
---|
| 59 | |
---|
| 60 | }; // end namespace registerfile_multi_banked |
---|
[15] | 61 | }; // end namespace registerfile |
---|
[10] | 62 | }; // end namespace generic |
---|
| 63 | |
---|
| 64 | }; // end namespace behavioural |
---|
| 65 | }; // end namespace morpheo |
---|
| 66 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.