[78] | 1 | /* |
---|
| 2 | * $Id: Parameters.cpp 88 2008-12-10 18:31:39Z rosiere $ |
---|
| 3 | * |
---|
| 4 | * [ Description ] |
---|
| 5 | * |
---|
| 6 | */ |
---|
| 7 | |
---|
| 8 | #include "Behavioural/Generic/Sort/include/Parameters.h" |
---|
| 9 | |
---|
| 10 | namespace morpheo { |
---|
| 11 | namespace behavioural { |
---|
| 12 | namespace generic { |
---|
| 13 | namespace sort { |
---|
| 14 | |
---|
| 15 | |
---|
| 16 | #undef FUNCTION |
---|
| 17 | #define FUNCTION "Sort::Parameters" |
---|
| 18 | Parameters::Parameters (uint32_t nb_input , |
---|
| 19 | uint32_t nb_output , |
---|
| 20 | bool ascending , |
---|
| 21 | uint32_t size_data , |
---|
| 22 | bool have_port_index_out, |
---|
| 23 | bool have_port_data_out ) |
---|
| 24 | { |
---|
| 25 | log_printf(FUNC,Sort,FUNCTION,"Begin"); |
---|
| 26 | |
---|
| 27 | _nb_input = nb_input ; |
---|
| 28 | _nb_output = nb_output ; |
---|
| 29 | _ascending = ascending ; |
---|
| 30 | _size_data = size_data ; |
---|
| 31 | _have_port_index_out = have_port_index_out; |
---|
| 32 | _have_port_data_out = have_port_data_out ; |
---|
| 33 | |
---|
| 34 | _size_address = log2(nb_input); |
---|
| 35 | |
---|
| 36 | test(); |
---|
| 37 | log_printf(FUNC,Sort,FUNCTION,"End"); |
---|
| 38 | }; |
---|
| 39 | |
---|
| 40 | // #undef FUNCTION |
---|
| 41 | // #define FUNCTION "Sort::Parameters (copy)" |
---|
| 42 | // Parameters::Parameters (Parameters & param) |
---|
| 43 | // { |
---|
| 44 | // log_printf(FUNC,Sort,FUNCTION,"Begin"); |
---|
| 45 | // test(); |
---|
| 46 | // log_printf(FUNC,Sort,FUNCTION,"End"); |
---|
| 47 | // }; |
---|
| 48 | |
---|
| 49 | #undef FUNCTION |
---|
| 50 | #define FUNCTION "Sort::~Parameters" |
---|
| 51 | Parameters::~Parameters () |
---|
| 52 | { |
---|
| 53 | log_printf(FUNC,Sort,FUNCTION,"Begin"); |
---|
| 54 | log_printf(FUNC,Sort,FUNCTION,"End"); |
---|
| 55 | }; |
---|
| 56 | |
---|
[88] | 57 | #undef FUNCTION |
---|
| 58 | #define FUNCTION "Sort::copy" |
---|
| 59 | void Parameters::copy (void) |
---|
| 60 | { |
---|
| 61 | log_printf(FUNC,Sort,FUNCTION,"Begin"); |
---|
| 62 | log_printf(FUNC,Sort,FUNCTION,"End"); |
---|
| 63 | }; |
---|
| 64 | |
---|
[78] | 65 | }; // end namespace sort |
---|
| 66 | }; // end namespace generic |
---|
| 67 | |
---|
| 68 | }; // end namespace behavioural |
---|
| 69 | }; // end namespace morpheo |
---|