Last change
on this file since 83 was
81,
checked in by rosiere, 16 years ago
|
- Finish Environment (and test)
- Continue predictor_unit
- Add external tools
- svn keyword "Id" set
|
-
Property svn:keywords set to
Id
|
File size:
930 bytes
|
Line | |
---|
1 | /* |
---|
2 | * $Id: Queue_deallocation.cpp 81 2008-04-15 18:40:01Z 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 | |
---|
22 | if (_usage & USE_SYSTEMC) |
---|
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 | |
---|
35 | } |
---|
36 | // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
37 | delete _queue_control; |
---|
38 | delete _queue_data; |
---|
39 | delete _component; |
---|
40 | |
---|
41 | log_printf(FUNC,Queue,FUNCTION,"End"); |
---|
42 | }; |
---|
43 | |
---|
44 | }; // end namespace queue |
---|
45 | }; // end namespace generic |
---|
46 | |
---|
47 | }; // end namespace behavioural |
---|
48 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.