source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Register_translation_unit_Glue/src/Parameters.cpp @ 88

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

Almost complete design
with Test and test platform

  • Property svn:keywords set to Id
File size: 2.2 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_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Register_translation_unit_Glue/include/Parameters.h"
9
10namespace morpheo {
11namespace behavioural {
12namespace core {
13namespace multi_ooo_engine {
14namespace ooo_engine {
15namespace rename_unit {
16namespace register_translation_unit {
17namespace register_translation_unit_glue {
18
19
20#undef  FUNCTION
21#define FUNCTION "Register_translation_unit_Glue::Parameters"
22  Parameters::Parameters (uint32_t nb_inst_insert,
23                          uint32_t nb_inst_retire,
24                          uint32_t size_general_register,
25                          uint32_t size_special_register,
26                          bool     is_toplevel)
27  {
28    log_printf(FUNC,Register_translation_unit_Glue,FUNCTION,"Begin");
29
30    _nb_inst_insert        = nb_inst_insert;
31    _nb_inst_retire        = nb_inst_retire;
32
33    test();
34
35    if (is_toplevel)
36      {
37        _size_general_register = size_general_register;
38        _size_special_register = size_special_register;
39
40        copy ();
41      }
42
43    log_printf(FUNC,Register_translation_unit_Glue,FUNCTION,"End");
44  };
45 
46// #undef  FUNCTION
47// #define FUNCTION "Register_translation_unit_Glue::Parameters (copy)"
48//   Parameters::Parameters (Parameters & param)
49//   {
50//     log_printf(FUNC,Register_translation_unit_Glue,FUNCTION,"Begin");
51//     test();
52//     log_printf(FUNC,Register_translation_unit_Glue,FUNCTION,"End");
53//   };
54
55#undef  FUNCTION
56#define FUNCTION "Register_translation_unit_Glue::~Parameters"
57  Parameters::~Parameters (void) 
58  {
59    log_printf(FUNC,Register_translation_unit_Glue,FUNCTION,"Begin");
60    log_printf(FUNC,Register_translation_unit_Glue,FUNCTION,"End");
61  };
62
63#undef  FUNCTION
64#define FUNCTION "Register_translation_unit_Glue::copy"
65  void Parameters::copy (void) 
66  {
67    log_printf(FUNC,Register_translation_unit_Glue,FUNCTION,"Begin");
68    log_printf(FUNC,Register_translation_unit_Glue,FUNCTION,"End");
69  };
70
71}; // end namespace register_translation_unit_glue
72}; // end namespace register_translation_unit
73}; // end namespace rename_unit
74}; // end namespace ooo_engine
75}; // end namespace multi_ooo_engine
76}; // end namespace core
77
78}; // end namespace behavioural
79}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.