Last change
on this file since 132 was
112,
checked in by rosiere, 16 years ago
|
1) Stat_list : fix retire old and new register bug
2) Stat_list : remove read_counter and valid flag, because validation of destination is in retire step (not in commit step)
3) Model : add class Model (cf Morpheo.sim)
4) Allocation : alloc_interface_begin and alloc_interface_end to delete temporary array.
5) Script : add distexe.sh
6) Add Comparator, Multiplier, Divider. But this component are not implemented
7) Software : add Dhrystone
|
-
Property svn:keywords set to
Id
|
File size:
1.1 KB
|
Rev | Line | |
---|
[112] | 1 | /* |
---|
| 2 | * $Id: Parameters.cpp 112 2009-03-18 22:36:26Z rosiere $ |
---|
| 3 | * |
---|
| 4 | * [ Description ] |
---|
| 5 | * |
---|
| 6 | */ |
---|
| 7 | |
---|
| 8 | #include "Behavioural/Generic/Divider/include/Parameters.h" |
---|
| 9 | |
---|
| 10 | namespace morpheo { |
---|
| 11 | namespace behavioural { |
---|
| 12 | namespace generic { |
---|
| 13 | namespace divider { |
---|
| 14 | |
---|
| 15 | |
---|
| 16 | #undef FUNCTION |
---|
| 17 | #define FUNCTION "Divider::Parameters" |
---|
| 18 | Parameters::Parameters (bool is_toplevel) |
---|
| 19 | { |
---|
| 20 | log_begin(Divider,FUNCTION); |
---|
| 21 | |
---|
| 22 | test(); |
---|
| 23 | |
---|
| 24 | if (is_toplevel) |
---|
| 25 | { |
---|
| 26 | copy(); |
---|
| 27 | } |
---|
| 28 | |
---|
| 29 | log_end(Divider,FUNCTION); |
---|
| 30 | }; |
---|
| 31 | |
---|
| 32 | // #undef FUNCTION |
---|
| 33 | // #define FUNCTION "Divider::Parameters (copy)" |
---|
| 34 | // Parameters::Parameters (Parameters & param) |
---|
| 35 | // { |
---|
| 36 | // log_begin(Divider,FUNCTION); |
---|
| 37 | // test(); |
---|
| 38 | // log_end(Divider,FUNCTION); |
---|
| 39 | // }; |
---|
| 40 | |
---|
| 41 | #undef FUNCTION |
---|
| 42 | #define FUNCTION "Divider::~Parameters" |
---|
| 43 | Parameters::~Parameters (void) |
---|
| 44 | { |
---|
| 45 | log_begin(Divider,FUNCTION); |
---|
| 46 | log_end(Divider,FUNCTION); |
---|
| 47 | }; |
---|
| 48 | |
---|
| 49 | #undef FUNCTION |
---|
| 50 | #define FUNCTION "Divider::copy" |
---|
| 51 | void Parameters::copy (void) |
---|
| 52 | { |
---|
| 53 | log_begin(Divider,FUNCTION); |
---|
| 54 | log_end(Divider,FUNCTION); |
---|
| 55 | }; |
---|
| 56 | |
---|
| 57 | }; // end namespace divider |
---|
| 58 | }; // end namespace generic |
---|
| 59 | |
---|
| 60 | }; // end namespace behavioural |
---|
| 61 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.