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
|
Line | |
---|
1 | #ifdef SYSTEMC |
---|
2 | /* |
---|
3 | * $Id$ |
---|
4 | * |
---|
5 | * [ Description ] |
---|
6 | * |
---|
7 | */ |
---|
8 | |
---|
9 | #include "Behavioural/Generic/Select/Select_Priority_Fixed/include/Select_Priority_Fixed.h" |
---|
10 | |
---|
11 | namespace morpheo { |
---|
12 | namespace behavioural { |
---|
13 | namespace generic { |
---|
14 | namespace select { |
---|
15 | namespace select_priority_fixed { |
---|
16 | |
---|
17 | |
---|
18 | void Select_Priority_Fixed::deallocation (void) |
---|
19 | { |
---|
20 | log_printf(FUNC,Select_Priority_Fixed,"deallocation","Begin"); |
---|
21 | |
---|
22 | delete in_CLOCK; |
---|
23 | delete in_NRESET; |
---|
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 | |
---|
42 | log_printf(FUNC,Select_Priority_Fixed,"deallocation","End"); |
---|
43 | }; |
---|
44 | |
---|
45 | }; // end namespace select_priority_fixed |
---|
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.