Last change
on this file since 54 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
|
Rev | Line | |
---|
[2] | 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)) |
---|
[42] | 20 | delete in_CLOCK; |
---|
[2] | 21 | #endif |
---|
| 22 | |
---|
[42] | 23 | delete [] in_SHIFTER_DATA ; |
---|
[2] | 24 | if (_param._shift_value == 0) |
---|
[42] | 25 | delete [] in_SHIFTER_SHIFT ; |
---|
[2] | 26 | if (_param._direction == external_direction ) |
---|
[42] | 27 | delete [] in_SHIFTER_DIRECTION ; |
---|
[2] | 28 | if (_param._rotate == external_rotate ) |
---|
[42] | 29 | delete [] in_SHIFTER_TYPE ; |
---|
[2] | 30 | if (_param._carry == external_carry ) |
---|
[42] | 31 | delete [] in_SHIFTER_CARRY ; |
---|
[2] | 32 | if (_param._carry == external_completion) |
---|
[42] | 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 | |
---|
[2] | 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.