Last change
on this file since 94 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:
832 bytes
|
Rev | Line | |
---|
[2] | 1 | /* |
---|
| 2 | * $Id: Counter_deallocation.cpp 88 2008-12-10 18:31:39Z rosiere $ |
---|
| 3 | * |
---|
| 4 | * [ Description ] |
---|
| 5 | * |
---|
| 6 | */ |
---|
| 7 | |
---|
| 8 | #include "Behavioural/Generic/Counter/include/Counter.h" |
---|
| 9 | |
---|
| 10 | namespace morpheo { |
---|
| 11 | namespace behavioural { |
---|
| 12 | namespace generic { |
---|
| 13 | namespace counter { |
---|
| 14 | |
---|
| 15 | |
---|
| 16 | void Counter::deallocation (void) |
---|
| 17 | { |
---|
| 18 | log_printf(FUNC,Counter,"deallocation","Begin"); |
---|
| 19 | |
---|
[88] | 20 | if (usage_is_set(_usage,USE_SYSTEMC)) |
---|
| 21 | { |
---|
| 22 | delete in_CLOCK; |
---|
| 23 | delete in_NRESET; |
---|
| 24 | |
---|
| 25 | delete [] in_COUNTER_DATA ; |
---|
| 26 | delete [] in_COUNTER_ADDSUB; |
---|
| 27 | delete [] out_COUNTER_DATA ; |
---|
| 28 | } |
---|
| 29 | |
---|
[2] | 30 | // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
| 31 | |
---|
[42] | 32 | delete _component; |
---|
| 33 | |
---|
[2] | 34 | log_printf(FUNC,Counter,"deallocation","End"); |
---|
| 35 | }; |
---|
| 36 | |
---|
| 37 | }; // end namespace counter |
---|
| 38 | }; // end namespace generic |
---|
| 39 | |
---|
| 40 | }; // end namespace behavioural |
---|
| 41 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.