[78] | 1 | /* |
---|
| 2 | * $Id: Parameters.cpp 88 2008-12-10 18:31:39Z rosiere $ |
---|
| 3 | * |
---|
| 4 | * [ Description ] |
---|
| 5 | * |
---|
| 6 | */ |
---|
| 7 | |
---|
| 8 | #include "Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/Ifetch_unit_Glue/include/Parameters.h" |
---|
| 9 | |
---|
| 10 | namespace morpheo { |
---|
| 11 | namespace behavioural { |
---|
| 12 | namespace core { |
---|
| 13 | namespace multi_front_end { |
---|
| 14 | namespace front_end { |
---|
| 15 | namespace ifetch_unit { |
---|
| 16 | namespace ifetch_unit_glue { |
---|
| 17 | |
---|
| 18 | |
---|
| 19 | #undef FUNCTION |
---|
| 20 | #define FUNCTION "Ifetch_unit_Glue::Parameters" |
---|
[88] | 21 | Parameters::Parameters (uint32_t size_address, |
---|
| 22 | bool is_toplevel) |
---|
[78] | 23 | { |
---|
| 24 | log_printf(FUNC,Ifetch_unit_Glue,FUNCTION,"Begin"); |
---|
[85] | 25 | |
---|
[88] | 26 | test(); |
---|
[85] | 27 | |
---|
[88] | 28 | if (is_toplevel) |
---|
| 29 | { |
---|
| 30 | _size_instruction_address = size_address; |
---|
| 31 | |
---|
| 32 | copy (); |
---|
| 33 | } |
---|
| 34 | |
---|
[78] | 35 | log_printf(FUNC,Ifetch_unit_Glue,FUNCTION,"End"); |
---|
| 36 | }; |
---|
| 37 | |
---|
| 38 | // #undef FUNCTION |
---|
| 39 | // #define FUNCTION "Ifetch_unit_Glue::Parameters (copy)" |
---|
| 40 | // Parameters::Parameters (Parameters & param) |
---|
| 41 | // { |
---|
| 42 | // log_printf(FUNC,Ifetch_unit_Glue,FUNCTION,"Begin"); |
---|
| 43 | // test(); |
---|
| 44 | // log_printf(FUNC,Ifetch_unit_Glue,FUNCTION,"End"); |
---|
| 45 | // }; |
---|
| 46 | |
---|
| 47 | #undef FUNCTION |
---|
| 48 | #define FUNCTION "Ifetch_unit_Glue::~Parameters" |
---|
| 49 | Parameters::~Parameters () |
---|
| 50 | { |
---|
| 51 | log_printf(FUNC,Ifetch_unit_Glue,FUNCTION,"Begin"); |
---|
| 52 | log_printf(FUNC,Ifetch_unit_Glue,FUNCTION,"End"); |
---|
| 53 | }; |
---|
| 54 | |
---|
[88] | 55 | #undef FUNCTION |
---|
| 56 | #define FUNCTION "Ifetch_unit_Glue::copy" |
---|
| 57 | void Parameters::copy (void) |
---|
| 58 | { |
---|
| 59 | log_printf(FUNC,Ifetch_unit_Glue,FUNCTION,"Begin"); |
---|
| 60 | log_printf(FUNC,Ifetch_unit_Glue,FUNCTION,"End"); |
---|
| 61 | }; |
---|
| 62 | |
---|
[78] | 63 | }; // end namespace ifetch_unit_glue |
---|
| 64 | }; // end namespace ifetch_unit |
---|
| 65 | }; // end namespace front_end |
---|
| 66 | }; // end namespace multi_front_end |
---|
| 67 | }; // end namespace core |
---|
| 68 | |
---|
| 69 | }; // end namespace behavioural |
---|
| 70 | }; // end namespace morpheo |
---|