Last change
on this file since 50 was
42,
checked in by rosiere, 17 years ago
|
Modification des classes d'encapsulation des interfaces :
- gère les signaux à écrire dans le vhdl
- les traces pour le testbench
- la génération des vhdl structurelles
-> test sur la Pattern History Table
|
File size:
1.3 KB
|
Line | |
---|
1 | #ifdef SYSTEMC |
---|
2 | /* |
---|
3 | * $Id$ |
---|
4 | * |
---|
5 | * [ Description ] |
---|
6 | * |
---|
7 | */ |
---|
8 | |
---|
9 | #include "Behavioural/Generic/Victim/Victim_Pseudo_LRU/include/Victim_Pseudo_LRU.h" |
---|
10 | |
---|
11 | namespace morpheo { |
---|
12 | namespace behavioural { |
---|
13 | namespace generic { |
---|
14 | namespace victim { |
---|
15 | namespace victim_pseudo_lru { |
---|
16 | |
---|
17 | void Victim_Pseudo_LRU::deallocation (void) |
---|
18 | { |
---|
19 | delete in_CLOCK; |
---|
20 | delete in_NRESET; |
---|
21 | // -----[ Interface access ]------------------------------------------- |
---|
22 | delete [] in_ACCESS_VAL ; |
---|
23 | delete [] out_ACCESS_ACK ; |
---|
24 | if (_param._size_table>1) |
---|
25 | delete [] in_ACCESS_ADDRESS; |
---|
26 | delete [] out_ACCESS_ENTITY ; |
---|
27 | |
---|
28 | // -----[ Interface update ]------------------------------------------- |
---|
29 | delete [] in_UPDATE_VAL ; |
---|
30 | delete [] out_UPDATE_ACK ; |
---|
31 | if (_param._size_table>1) |
---|
32 | delete [] in_UPDATE_ADDRESS; |
---|
33 | delete [] in_UPDATE_ENTITY ; |
---|
34 | |
---|
35 | // -----[ Register ]--------------------------------------------------- |
---|
36 | delete [] reg_TABLE; |
---|
37 | |
---|
38 | // -----[ Internal ]--------------------------------------------------- |
---|
39 | delete [] internal_ACCESS_ENTITY; |
---|
40 | |
---|
41 | #ifdef POSITION |
---|
42 | delete _component; |
---|
43 | #else |
---|
44 | delete _interfaces; |
---|
45 | #endif |
---|
46 | }; |
---|
47 | |
---|
48 | }; // end namespace victim_pseudo_lru |
---|
49 | }; // end namespace victim |
---|
50 | }; // end namespace generic |
---|
51 | }; // end namespace behavioural |
---|
52 | }; // end namespace morpheo |
---|
53 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.