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 @ 109

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

1) Configuration : instance configuration file : regroup similar instance
2) Configuration : timing default = 0
3) Debug/Commit_unit : Add watch dog timer
4) Issue_queue : Test parameters : add test if type is optionnal
5) Cor_glue : Fix insert index
6) Free_list : remove bank_by_pop (else deadlock)
7) Update Free List : add register to source event

  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1/*
2 * $Id: Free_List_unit_deallocation.cpp 109 2009-02-16 20:28:31Z 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    delete _priority_gpr;
61    delete _priority_spr;
62   
63    delete _component;
64   
65    log_printf(FUNC,Free_List_unit,FUNCTION,"End");
66  };
67
68}; // end namespace free_list_unit
69}; // end namespace register_translation_unit
70}; // end namespace rename_unit
71}; // end namespace ooo_engine
72}; // end namespace multi_ooo_engine
73}; // end namespace core
74
75}; // end namespace behavioural
76}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.