Last change
on this file since 121 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:
1.1 KB
|
Rev | Line | |
---|
[76] | 1 | /* |
---|
| 2 | * $Id$ |
---|
| 3 | * |
---|
| 4 | * [ Description ] |
---|
| 5 | * |
---|
| 6 | */ |
---|
| 7 | |
---|
| 8 | #include "Behavioural/@DIRECTORY/include/Parameters.h" |
---|
| 9 | |
---|
| 10 | namespace morpheo { |
---|
| 11 | namespace behavioural { |
---|
| 12 | @NAMESPACE_BEGIN |
---|
| 13 | |
---|
| 14 | #undef FUNCTION |
---|
| 15 | #define FUNCTION "@COMPONENT::Parameters" |
---|
[113] | 16 | Parameters::Parameters (bool is_toplevel): |
---|
| 17 | behavioural::Parameters ("@COMPONENT") |
---|
[76] | 18 | { |
---|
[82] | 19 | log_begin(@COMPONENT,FUNCTION); |
---|
[88] | 20 | |
---|
[76] | 21 | test(); |
---|
[88] | 22 | |
---|
| 23 | if (is_toplevel) |
---|
| 24 | { |
---|
| 25 | copy(); |
---|
| 26 | } |
---|
| 27 | |
---|
[82] | 28 | log_end(@COMPONENT,FUNCTION); |
---|
[76] | 29 | }; |
---|
| 30 | |
---|
[78] | 31 | // #undef FUNCTION |
---|
| 32 | // #define FUNCTION "@COMPONENT::Parameters (copy)" |
---|
| 33 | // Parameters::Parameters (Parameters & param) |
---|
| 34 | // { |
---|
[82] | 35 | // log_begin(@COMPONENT,FUNCTION); |
---|
[78] | 36 | // test(); |
---|
[82] | 37 | // log_end(@COMPONENT,FUNCTION); |
---|
[78] | 38 | // }; |
---|
[76] | 39 | |
---|
| 40 | #undef FUNCTION |
---|
| 41 | #define FUNCTION "@COMPONENT::~Parameters" |
---|
[88] | 42 | Parameters::~Parameters (void) |
---|
[76] | 43 | { |
---|
[82] | 44 | log_begin(@COMPONENT,FUNCTION); |
---|
| 45 | log_end(@COMPONENT,FUNCTION); |
---|
[76] | 46 | }; |
---|
| 47 | |
---|
[88] | 48 | #undef FUNCTION |
---|
| 49 | #define FUNCTION "@COMPONENT::copy" |
---|
| 50 | void Parameters::copy (void) |
---|
| 51 | { |
---|
| 52 | log_begin(@COMPONENT,FUNCTION); |
---|
| 53 | log_end(@COMPONENT,FUNCTION); |
---|
| 54 | }; |
---|
| 55 | |
---|
[76] | 56 | @NAMESPACE_END |
---|
| 57 | }; // end namespace behavioural |
---|
| 58 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.