source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/Ifetch_unit_Glue/src/Parameters.cpp @ 88

Last change on this file since 88 was 88, checked in by rosiere, 15 years ago

Almost complete design
with Test and test platform

  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
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
10namespace morpheo {
11namespace behavioural {
12namespace core {
13namespace multi_front_end {
14namespace front_end {
15namespace ifetch_unit {
16namespace ifetch_unit_glue {
17
18
19#undef  FUNCTION
20#define FUNCTION "Ifetch_unit_Glue::Parameters"
21  Parameters::Parameters (uint32_t size_address,
22                          bool     is_toplevel)
23  {
24    log_printf(FUNC,Ifetch_unit_Glue,FUNCTION,"Begin");
25
26    test();
27
28    if (is_toplevel)
29      {
30        _size_instruction_address = size_address;
31
32        copy ();
33      }
34
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
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
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             
Note: See TracBrowser for help on using the repository browser.