Last change
on this file since 118 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:
1.2 KB
|
Line | |
---|
1 | #ifdef SYSTEMC |
---|
2 | /* |
---|
3 | * $Id: RegisterFile_deallocation.cpp 81 2008-04-15 18:40:01Z rosiere $ |
---|
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 | if (_param->_have_port_address == true) |
---|
27 | delete [] in_READ_ADDRESS; |
---|
28 | delete [] out_READ_DATA ; |
---|
29 | |
---|
30 | // ----- Interface Write |
---|
31 | delete [] in_WRITE_VAL ; |
---|
32 | delete [] out_WRITE_ACK ; |
---|
33 | if (_param->_have_port_address == true) |
---|
34 | delete [] in_WRITE_ADDRESS; |
---|
35 | delete [] in_WRITE_DATA ; |
---|
36 | |
---|
37 | // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
38 | |
---|
39 | // delete _component; |
---|
40 | |
---|
41 | if (_param->_instance == instance_RegisterFile_Monolithic) |
---|
42 | delete component_RegisterFile_Monolithic ; |
---|
43 | else |
---|
44 | delete component_RegisterFile_Multi_Banked; |
---|
45 | |
---|
46 | log_printf(FUNC,RegisterFile,"deallocation","End"); |
---|
47 | }; |
---|
48 | |
---|
49 | }; // end namespace registerfile |
---|
50 | }; // end namespace generic |
---|
51 | |
---|
52 | }; // end namespace behavioural |
---|
53 | }; // end namespace morpheo |
---|
54 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.