Last change
on this file since 19 was
15,
checked in by rosiere, 17 years ago
|
Interface normalisé
Début du banc de registres multi niveaux
|
File size:
1.1 KB
|
Rev | Line | |
---|
[10] | 1 | #ifdef SYSTEMC |
---|
| 2 | /* |
---|
| 3 | * $Id$ |
---|
| 4 | * |
---|
| 5 | * [ Description ] |
---|
| 6 | * |
---|
| 7 | */ |
---|
| 8 | |
---|
[15] | 9 | #include "Behavioural/Generic/Select/Select_Priority_Fixed/include/Select_Priority_Fixed.h" |
---|
[10] | 10 | |
---|
| 11 | namespace morpheo { |
---|
| 12 | namespace behavioural { |
---|
| 13 | namespace generic { |
---|
| 14 | namespace select { |
---|
[15] | 15 | namespace select_priority_fixed { |
---|
[10] | 16 | |
---|
| 17 | |
---|
[15] | 18 | void Select_Priority_Fixed::deallocation (void) |
---|
[10] | 19 | { |
---|
[15] | 20 | log_printf(FUNC,Select_Priority_Fixed,"deallocation","Begin"); |
---|
[10] | 21 | |
---|
| 22 | delete in_CLOCK; |
---|
[15] | 23 | delete in_NRESET; |
---|
[10] | 24 | |
---|
| 25 | for (uint32_t i=0; i<_param._nb_entity; i++) |
---|
| 26 | { |
---|
| 27 | delete in_VAL [i]; |
---|
| 28 | if (_param._encoding_one_hot) |
---|
| 29 | delete out_ACK [i]; |
---|
| 30 | } |
---|
| 31 | |
---|
| 32 | delete in_VAL; |
---|
| 33 | if (_param._encoding_one_hot) |
---|
| 34 | delete out_ACK; |
---|
| 35 | if (_param._encoding_compact) |
---|
| 36 | { |
---|
| 37 | delete out_ENTITY; |
---|
| 38 | delete out_ENTITY_ACK; |
---|
| 39 | } |
---|
| 40 | // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
| 41 | |
---|
[15] | 42 | log_printf(FUNC,Select_Priority_Fixed,"deallocation","End"); |
---|
[10] | 43 | }; |
---|
| 44 | |
---|
[15] | 45 | }; // end namespace select_priority_fixed |
---|
[10] | 46 | }; // end namespace select |
---|
| 47 | }; // end namespace generic |
---|
| 48 | |
---|
| 49 | }; // end namespace behavioural |
---|
| 50 | }; // end namespace morpheo |
---|
| 51 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.