Last change
on this file since 54 was
53,
checked in by rosiere, 17 years ago
|
- Banc de registre multi banc
- Banc de registre générique.
|
File size:
1.2 KB
|
Line | |
---|
1 | #ifdef SYSTEMC |
---|
2 | /* |
---|
3 | * $Id$ |
---|
4 | * |
---|
5 | * [ Description ] |
---|
6 | * |
---|
7 | */ |
---|
8 | |
---|
9 | #include "Behavioural/Generic/RegisterFile/include/RegisterFile.h" |
---|
10 | |
---|
11 | namespace morpheo { |
---|
12 | namespace behavioural { |
---|
13 | namespace generic { |
---|
14 | namespace registerfile { |
---|
15 | |
---|
16 | |
---|
17 | void RegisterFile::deallocation (void) |
---|
18 | { |
---|
19 | log_printf(FUNC,RegisterFile,"deallocation","Begin"); |
---|
20 | |
---|
21 | delete in_CLOCK; |
---|
22 | delete in_NRESET; |
---|
23 | // ----- Interface Read |
---|
24 | delete [] in_READ_VAL ; |
---|
25 | delete [] out_READ_ACK ; |
---|
26 | delete [] in_READ_ADDRESS; |
---|
27 | delete [] out_READ_DATA ; |
---|
28 | |
---|
29 | // ----- Interface Write |
---|
30 | delete [] in_WRITE_VAL ; |
---|
31 | delete [] out_WRITE_ACK ; |
---|
32 | delete [] in_WRITE_ADDRESS; |
---|
33 | delete [] in_WRITE_DATA ; |
---|
34 | |
---|
35 | // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
36 | |
---|
37 | // delete _component; |
---|
38 | |
---|
39 | if (_param._instance == instance_RegisterFile_Monolithic) |
---|
40 | delete component_RegisterFile_Monolithic ; |
---|
41 | else |
---|
42 | delete component_RegisterFile_Multi_Banked; |
---|
43 | |
---|
44 | log_printf(FUNC,RegisterFile,"deallocation","End"); |
---|
45 | }; |
---|
46 | |
---|
47 | }; // end namespace registerfile |
---|
48 | }; // end namespace generic |
---|
49 | |
---|
50 | }; // end namespace behavioural |
---|
51 | }; // end namespace morpheo |
---|
52 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.