source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Free_List_unit/src/Free_List_unit_deallocation.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.8 KB
Line 
1/*
2 * $Id: Free_List_unit_deallocation.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/Free_List_unit/include/Free_List_unit.h"
9
10namespace morpheo                    {
11namespace behavioural {
12namespace core {
13namespace multi_ooo_engine {
14namespace ooo_engine {
15namespace rename_unit {
16namespace register_translation_unit {
17namespace free_list_unit {
18
19
20#undef  FUNCTION
21#define FUNCTION "Free_List_unit::deallocation"
22  void Free_List_unit::deallocation (void)
23  {
24    log_printf(FUNC,Free_List_unit,FUNCTION,"Begin");
25
26    if (usage_is_set(_usage,USE_SYSTEMC))
27      {
28        delete    in_CLOCK ;
29        delete    in_NRESET;
30
31        delete []  in_POP_VAL        ;
32        delete [] out_POP_ACK        ;
33        delete []  in_POP_GPR_VAL    ;
34        delete [] out_POP_GPR_NUM_REG;
35        delete []  in_POP_SPR_VAL    ;
36        delete [] out_POP_SPR_NUM_REG;
37
38        delete []  in_PUSH_GPR_VAL    ;
39        delete [] out_PUSH_GPR_ACK    ;
40        delete []  in_PUSH_GPR_NUM_REG;
41
42        delete []  in_PUSH_SPR_VAL    ;
43        delete [] out_PUSH_SPR_ACK    ;
44        delete []  in_PUSH_SPR_NUM_REG;
45
46        delete [] _gpr_list;
47        delete [] _spr_list;
48       
49        delete [] internal_POP_ACK     ;
50        delete [] internal_POP_GPR_BANK;
51        delete [] internal_POP_SPR_BANK;
52       
53        delete [] internal_PUSH_GPR_ACK ;
54        delete [] internal_PUSH_SPR_ACK ;
55        delete [] internal_PUSH_GPR_BANK;
56        delete [] internal_PUSH_SPR_BANK;
57      }
58
59    // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
60
61     delete _component;
62
63    log_printf(FUNC,Free_List_unit,FUNCTION,"End");
64  };
65
66}; // end namespace free_list_unit
67}; // end namespace register_translation_unit
68}; // end namespace rename_unit
69}; // end namespace ooo_engine
70}; // end namespace multi_ooo_engine
71}; // end namespace core
72
73}; // end namespace behavioural
74}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.