Last change
on this file since 97 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.2 KB
|
Line | |
---|
1 | /* |
---|
2 | * $Id: Victim_Pseudo_LRU_deallocation.cpp 88 2008-12-10 18:31:39Z rosiere $ |
---|
3 | * |
---|
4 | * [ Description ] |
---|
5 | * |
---|
6 | */ |
---|
7 | |
---|
8 | #include "Behavioural/Generic/Victim/Victim_Pseudo_LRU/include/Victim_Pseudo_LRU.h" |
---|
9 | |
---|
10 | namespace morpheo { |
---|
11 | namespace behavioural { |
---|
12 | namespace generic { |
---|
13 | namespace victim { |
---|
14 | namespace victim_pseudo_lru { |
---|
15 | |
---|
16 | void Victim_Pseudo_LRU::deallocation (void) |
---|
17 | { |
---|
18 | if (usage_is_set(_usage,USE_SYSTEMC)) |
---|
19 | { |
---|
20 | delete in_CLOCK; |
---|
21 | delete in_NRESET; |
---|
22 | // -----[ Interface access ]------------------------------------------- |
---|
23 | delete [] in_ACCESS_VAL ; |
---|
24 | delete [] out_ACCESS_ACK ; |
---|
25 | if (_param->_size_address>1) |
---|
26 | delete [] in_ACCESS_ADDRESS; |
---|
27 | delete [] in_ACCESS_HIT ; |
---|
28 | delete [] in_ACCESS_ENTITY ; |
---|
29 | delete [] out_ACCESS_VICTIM ; |
---|
30 | |
---|
31 | // -----[ Register ]--------------------------------------------------- |
---|
32 | delete [] reg_TABLE; |
---|
33 | |
---|
34 | // -----[ Internal ]--------------------------------------------------- |
---|
35 | delete [] internal_ACCESS_ACK ; |
---|
36 | delete [] internal_ACCESS_VICTIM; |
---|
37 | } |
---|
38 | |
---|
39 | delete _component; |
---|
40 | }; |
---|
41 | |
---|
42 | }; // end namespace victim_pseudo_lru |
---|
43 | }; // end namespace victim |
---|
44 | }; // end namespace generic |
---|
45 | }; // end namespace behavioural |
---|
46 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.