Last change
on this file since 102 was
88,
checked in by rosiere, 16 years ago
|
Almost complete design
with Test and test platform
|
-
Property svn:keywords set to
Id
|
File size:
1.0 KB
|
Line | |
---|
1 | /* |
---|
2 | * $Id: Select_Priority_Fixed_deallocation.cpp 88 2008-12-10 18:31:39Z rosiere $ |
---|
3 | * |
---|
4 | * [ Description ] |
---|
5 | * |
---|
6 | */ |
---|
7 | |
---|
8 | #include "Behavioural/Generic/Select/Select_Priority_Fixed/include/Select_Priority_Fixed.h" |
---|
9 | |
---|
10 | namespace morpheo { |
---|
11 | namespace behavioural { |
---|
12 | namespace generic { |
---|
13 | namespace select { |
---|
14 | namespace select_priority_fixed { |
---|
15 | |
---|
16 | |
---|
17 | void Select_Priority_Fixed::deallocation (void) |
---|
18 | { |
---|
19 | log_printf(FUNC,Select_Priority_Fixed,"deallocation","Begin"); |
---|
20 | |
---|
21 | if (usage_is_set(_usage,USE_SYSTEMC)) |
---|
22 | { |
---|
23 | delete in_CLOCK; |
---|
24 | delete in_NRESET; |
---|
25 | |
---|
26 | delete [] in_VAL; |
---|
27 | if (_param->_encoding_one_hot) |
---|
28 | delete [] out_ACK; |
---|
29 | |
---|
30 | if (_param->_encoding_compact) |
---|
31 | { |
---|
32 | delete out_ENTITY; |
---|
33 | delete out_ENTITY_ACK; |
---|
34 | } |
---|
35 | } |
---|
36 | // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
37 | |
---|
38 | delete _component; |
---|
39 | |
---|
40 | log_printf(FUNC,Select_Priority_Fixed,"deallocation","End"); |
---|
41 | }; |
---|
42 | |
---|
43 | }; // end namespace select_priority_fixed |
---|
44 | }; // end namespace select |
---|
45 | }; // end namespace generic |
---|
46 | |
---|
47 | }; // end namespace behavioural |
---|
48 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.