Last change
on this file since 77 was
76,
checked in by rosiere, 17 years ago
|
Add new component : Read_unit (no tested)
Change functionnal_unit : now use type and operation to execute the good function
Change New_Component's script
|
File size:
671 bytes
|
Line | |
---|
1 | /* |
---|
2 | * $Id$ |
---|
3 | * |
---|
4 | * [ Description ] |
---|
5 | * |
---|
6 | */ |
---|
7 | |
---|
8 | #include "Behavioural/@DIRECTORY/include/@COMPONENT.h" |
---|
9 | |
---|
10 | namespace morpheo { |
---|
11 | namespace behavioural { |
---|
12 | @NAMESPACE_BEGIN |
---|
13 | |
---|
14 | #undef FUNCTION |
---|
15 | #define FUNCTION "@COMPONENT::deallocation" |
---|
16 | void @COMPONENT::deallocation (void) |
---|
17 | { |
---|
18 | log_printf(FUNC,@COMPONENT,FUNCTION,"Begin"); |
---|
19 | |
---|
20 | if (_usage & USE_SYSTEMC) |
---|
21 | { |
---|
22 | delete in_CLOCK ; |
---|
23 | delete in_NRESET; |
---|
24 | } |
---|
25 | // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
26 | |
---|
27 | delete _component; |
---|
28 | |
---|
29 | log_printf(FUNC,@COMPONENT,FUNCTION,"End"); |
---|
30 | }; |
---|
31 | |
---|
32 | @NAMESPACE_END |
---|
33 | }; // end namespace behavioural |
---|
34 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.