Last change
on this file since 58 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.1 KB
|
Line | |
---|
1 | #ifdef SYSTEMC |
---|
2 | /* |
---|
3 | * $Id$ |
---|
4 | * |
---|
5 | * [ Description ] |
---|
6 | * |
---|
7 | */ |
---|
8 | |
---|
9 | #include "Behavioural/Generic/Shifter/include/Shifter.h" |
---|
10 | |
---|
11 | namespace morpheo { |
---|
12 | namespace behavioural { |
---|
13 | namespace generic { |
---|
14 | namespace shifter { |
---|
15 | |
---|
16 | |
---|
17 | void Shifter::deallocation (void) |
---|
18 | { |
---|
19 | #if (defined(STATISTICS) || defined (VHDL_TESTBENCH)) |
---|
20 | delete in_CLOCK; |
---|
21 | #endif |
---|
22 | |
---|
23 | delete [] in_SHIFTER_DATA ; |
---|
24 | if (_param._shift_value == 0) |
---|
25 | delete [] in_SHIFTER_SHIFT ; |
---|
26 | if (_param._direction == external_direction ) |
---|
27 | delete [] in_SHIFTER_DIRECTION ; |
---|
28 | if (_param._rotate == external_rotate ) |
---|
29 | delete [] in_SHIFTER_TYPE ; |
---|
30 | if (_param._carry == external_carry ) |
---|
31 | delete [] in_SHIFTER_CARRY ; |
---|
32 | if (_param._carry == external_completion) |
---|
33 | if (_param._type_completion_bool == true) |
---|
34 | delete [] in_SHIFTER_CARRY_IN ; |
---|
35 | else |
---|
36 | delete [] in_SHIFTER_COMPLETION; |
---|
37 | delete [] out_SHIFTER_DATA ; |
---|
38 | |
---|
39 | delete _component; |
---|
40 | |
---|
41 | }; |
---|
42 | |
---|
43 | }; // end namespace shifter |
---|
44 | }; // end namespace generic |
---|
45 | |
---|
46 | }; // end namespace behavioural |
---|
47 | }; // end namespace morpheo |
---|
48 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.