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