source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Stat_List_unit/src/Stat_List_unit_deallocation.cpp @ 78

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

Add :

  • Execute_loop (must be test systemC)
  • Prediction
    • Direction : predifined scheme
    • Branch Target Buffer
  • iFetch_unit
    • ifetch_queue
    • pc management
  • Decod_unit
    • coming soon : support for custom operation
  • Rename_unit
    • RAT
    • Free_list
    • Dependence RAW check
    • Load store unit pointer
  • New Environnement (hierarchy_memory will remove in a next version)


Modif :

  • Manage Custom Operation
  • All component in execute_loop to use the new statistics management

Not Finish :

  • Return Address Stack
  • Environnement
File size: 2.7 KB
Line 
1/*
2 * $Id$
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Stat_List_unit/include/Stat_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 stat_list_unit {
18
19
20#undef  FUNCTION
21#define FUNCTION "Stat_List_unit::deallocation"
22  void Stat_List_unit::deallocation (void)
23  {
24    log_printf(FUNC,Stat_List_unit,FUNCTION,"Begin");
25
26    if (_usage & USE_SYSTEMC)
27      {
28        delete     in_CLOCK ;
29        delete     in_NRESET;
30
31        delete []  in_INSERT_VAL               ;
32        delete [] out_INSERT_ACK               ;
33        delete []  in_INSERT_READ_RA           ;
34        delete []  in_INSERT_NUM_REG_RA_PHY    ;
35        delete []  in_INSERT_READ_RB           ;
36        delete []  in_INSERT_NUM_REG_RB_PHY    ;
37        delete []  in_INSERT_READ_RC           ;
38        delete []  in_INSERT_NUM_REG_RC_PHY    ;
39        delete []  in_INSERT_WRITE_RD          ;
40        delete []  in_INSERT_NUM_REG_RD_PHY_NEW;
41        delete []  in_INSERT_WRITE_RE          ;
42        delete []  in_INSERT_NUM_REG_RE_PHY_NEW;
43
44        delete []  in_RETIRE_VAL               ;
45        delete [] out_RETIRE_ACK               ;
46        delete []  in_RETIRE_READ_RA           ;
47        delete []  in_RETIRE_NUM_REG_RA_PHY    ;
48        delete []  in_RETIRE_READ_RB           ;
49        delete []  in_RETIRE_NUM_REG_RB_PHY    ;
50        delete []  in_RETIRE_READ_RC           ;
51        delete []  in_RETIRE_NUM_REG_RC_PHY    ;
52        delete []  in_RETIRE_WRITE_RD          ;
53        delete []  in_RETIRE_NUM_REG_RD_PHY_OLD;
54        delete []  in_RETIRE_NUM_REG_RD_PHY_NEW;
55        delete []  in_RETIRE_WRITE_RE          ;
56        delete []  in_RETIRE_NUM_REG_RE_PHY_OLD;
57        delete []  in_RETIRE_NUM_REG_RE_PHY_NEW;
58
59        delete [] out_PUSH_GPR_VAL             ;
60        delete []  in_PUSH_GPR_ACK             ;
61
62        delete [] out_PUSH_GPR_NUM_REG         ;
63        delete [] out_PUSH_SPR_VAL             ;
64        delete []  in_PUSH_SPR_ACK             ;
65        delete [] out_PUSH_SPR_NUM_REG         ;
66      }
67    // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
68    delete [] gpr_stat_list;
69    delete [] spr_stat_list;
70
71    delete [] internal_INSERT_ACK       ;
72    delete [] internal_RETIRE_ACK       ;
73    delete [] internal_PUSH_GPR_VAL     ;
74    delete [] internal_PUSH_GPR_NUM_BANK;
75    delete [] internal_PUSH_SPR_VAL     ;
76    delete [] internal_PUSH_SPR_NUM_BANK;
77
78    delete _component;
79
80    log_printf(FUNC,Stat_List_unit,FUNCTION,"End");
81  };
82
83}; // end namespace stat_list_unit
84}; // end namespace register_translation_unit
85}; // end namespace rename_unit
86}; // end namespace ooo_engine
87}; // end namespace multi_ooo_engine
88}; // end namespace core
89
90}; // end namespace behavioural
91}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.