Last change
on this file since 40 was
40,
checked in by rosiere, 17 years ago
|
Interface et Signal, c'est deux classes enregistres la valeurs des signaux à chaque cycle ... étape préparatoire avan le changement de la classe Vhdl_Testbench
|
File size:
1.1 KB
|
Line | |
---|
1 | #ifdef SYSTEMC |
---|
2 | /* |
---|
3 | * $Id$ |
---|
4 | * |
---|
5 | * [ Description ] |
---|
6 | * |
---|
7 | */ |
---|
8 | |
---|
9 | #include "Behavioural/Generic/Select/Select_Priority_Fixed/include/Select_Priority_Fixed.h" |
---|
10 | |
---|
11 | namespace morpheo { |
---|
12 | namespace behavioural { |
---|
13 | namespace generic { |
---|
14 | namespace select { |
---|
15 | namespace select_priority_fixed { |
---|
16 | |
---|
17 | |
---|
18 | void Select_Priority_Fixed::deallocation (void) |
---|
19 | { |
---|
20 | log_printf(FUNC,Select_Priority_Fixed,"deallocation","Begin"); |
---|
21 | |
---|
22 | delete in_CLOCK; |
---|
23 | delete in_NRESET; |
---|
24 | |
---|
25 | delete [] in_VAL; |
---|
26 | if (_param._encoding_one_hot) |
---|
27 | delete [] out_ACK; |
---|
28 | |
---|
29 | if (_param._encoding_compact) |
---|
30 | { |
---|
31 | delete out_ENTITY; |
---|
32 | delete out_ENTITY_ACK; |
---|
33 | } |
---|
34 | // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
35 | |
---|
36 | cout << *_interfaces << endl; |
---|
37 | |
---|
38 | #ifdef POSITION |
---|
39 | delete _position; |
---|
40 | #else |
---|
41 | delete _interfaces; |
---|
42 | #endif |
---|
43 | log_printf(FUNC,Select_Priority_Fixed,"deallocation","End"); |
---|
44 | }; |
---|
45 | |
---|
46 | }; // end namespace select_priority_fixed |
---|
47 | }; // end namespace select |
---|
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.