Last change
on this file was
113,
checked in by rosiere, 15 years ago
|
1) Add modelsim simulation systemC
2) Modelsim cosimulation systemC / VHDL is not finish !!!! (cf execute_queue and write_unit)
3) Add multi architecture
5) Add template for comparator, multiplier and divider
6) Change Message
Warning) Various test macro have change, many selftest can't compile
|
File size:
869 bytes
|
Line | |
---|
1 | /* |
---|
2 | * $Id$ |
---|
3 | * |
---|
4 | * [ Description ] |
---|
5 | * |
---|
6 | */ |
---|
7 | |
---|
8 | #include "Behavioural/@DIRECTORY/include/@COMPONENT.h" |
---|
9 | #include "Behavioural/include/Allocation.h" |
---|
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 | { |
---|
19 | log_begin(@COMPONENT,FUNCTION); |
---|
20 | |
---|
21 | // if (usage_is_set(_usage,USE_SYSTEMC_INTERFACE)) |
---|
22 | { |
---|
23 | DELETE0_SIGNAL( in_CLOCK ,1); |
---|
24 | DELETE0_SIGNAL( in_NRESET,1); |
---|
25 | } |
---|
26 | // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
27 | |
---|
28 | delete _component; |
---|
29 | |
---|
30 | #ifdef MODELSIM_COSIMULATION |
---|
31 | if (usage_is_set(_usage,USE_COSIMULATION)) |
---|
32 | { |
---|
33 | delete _wrapper; |
---|
34 | } |
---|
35 | #endif |
---|
36 | |
---|
37 | log_end(@COMPONENT,FUNCTION); |
---|
38 | }; |
---|
39 | |
---|
40 | @NAMESPACE_END |
---|
41 | }; // end namespace behavioural |
---|
42 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.