Last change
on this file since 90 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:
955 bytes
|
Rev | Line | |
---|
[67] | 1 | /* |
---|
| 2 | * $Id: Queue_deallocation.cpp 88 2008-12-10 18:31:39Z rosiere $ |
---|
| 3 | * |
---|
| 4 | * [ Description ] |
---|
| 5 | * |
---|
| 6 | */ |
---|
| 7 | |
---|
| 8 | #include "Behavioural/Generic/Queue/include/Queue.h" |
---|
| 9 | |
---|
| 10 | namespace morpheo { |
---|
| 11 | namespace behavioural { |
---|
| 12 | namespace generic { |
---|
| 13 | namespace queue { |
---|
| 14 | |
---|
| 15 | |
---|
| 16 | #undef FUNCTION |
---|
| 17 | #define FUNCTION "Queue::deallocation" |
---|
| 18 | void Queue::deallocation (void) |
---|
| 19 | { |
---|
| 20 | log_printf(FUNC,Queue,FUNCTION,"Begin"); |
---|
| 21 | |
---|
[88] | 22 | if (usage_is_set(_usage,USE_SYSTEMC)) |
---|
[68] | 23 | { |
---|
| 24 | delete in_CLOCK ; |
---|
| 25 | delete in_NRESET; |
---|
| 26 | |
---|
| 27 | delete in_INSERT_VAL ; |
---|
| 28 | delete out_INSERT_ACK ; |
---|
| 29 | delete in_INSERT_DATA; |
---|
| 30 | |
---|
| 31 | delete out_RETIRE_VAL ; |
---|
| 32 | delete in_RETIRE_ACK ; |
---|
| 33 | delete out_RETIRE_DATA; |
---|
| 34 | |
---|
[88] | 35 | // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
| 36 | delete _queue_control; |
---|
| 37 | delete _queue_data; |
---|
[68] | 38 | } |
---|
[88] | 39 | |
---|
[67] | 40 | delete _component; |
---|
| 41 | |
---|
| 42 | log_printf(FUNC,Queue,FUNCTION,"End"); |
---|
| 43 | }; |
---|
| 44 | |
---|
| 45 | }; // end namespace queue |
---|
| 46 | }; // end namespace generic |
---|
| 47 | |
---|
| 48 | }; // end namespace behavioural |
---|
| 49 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.