Last change
on this file since 128 was
82,
checked in by rosiere, 16 years ago
|
- support locale (now must "just" translate)
- update all component with new test format
- update all component with usage
- New component : decod queue and prediction_unit
|
File size:
699 bytes
|
Rev | Line | |
---|
[76] | 1 | /* |
---|
| 2 | * $Id$ |
---|
| 3 | * |
---|
| 4 | * [ Description ] |
---|
| 5 | * |
---|
| 6 | */ |
---|
| 7 | |
---|
| 8 | #include "Behavioural/@DIRECTORY/include/@COMPONENT.h" |
---|
[81] | 9 | #include "Behavioural/include/Allocation.h" |
---|
[76] | 10 | |
---|
| 11 | namespace morpheo { |
---|
| 12 | namespace behavioural { |
---|
| 13 | @NAMESPACE_BEGIN |
---|
| 14 | |
---|
| 15 | #undef FUNCTION |
---|
| 16 | #define FUNCTION "@COMPONENT::deallocation" |
---|
| 17 | void @COMPONENT::deallocation (void) |
---|
| 18 | { |
---|
[82] | 19 | log_begin(@COMPONENT,FUNCTION); |
---|
[76] | 20 | |
---|
[81] | 21 | if (usage_is_set(_usage,USE_SYSTEMC)) |
---|
[76] | 22 | { |
---|
| 23 | delete in_CLOCK ; |
---|
| 24 | delete in_NRESET; |
---|
| 25 | } |
---|
| 26 | // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
| 27 | |
---|
| 28 | delete _component; |
---|
| 29 | |
---|
[82] | 30 | log_end(@COMPONENT,FUNCTION); |
---|
[76] | 31 | }; |
---|
| 32 | |
---|
| 33 | @NAMESPACE_END |
---|
| 34 | }; // end namespace behavioural |
---|
| 35 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.