source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Rename_select/src/Rename_select_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.8 KB
Line 
1/*
2 * $Id$
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Rename_select/include/Rename_select.h"
9
10namespace morpheo                    {
11namespace behavioural {
12namespace core {
13namespace multi_ooo_engine {
14namespace ooo_engine {
15namespace rename_unit {
16namespace rename_select {
17
18
19#undef  FUNCTION
20#define FUNCTION "Rename_select::deallocation"
21  void Rename_select::deallocation (void)
22  {
23    log_printf(FUNC,Rename_select,FUNCTION,"Begin");
24
25    if (_usage & USE_SYSTEMC)
26      {
27        delete    in_CLOCK ;
28        delete    in_NRESET;
29
30        delete []  in_RENAME_IN_VAL           ;
31        delete [] out_RENAME_IN_ACK           ;
32        if (_param->_have_port_front_end_id)
33        delete []  in_RENAME_IN_FRONT_END_ID  ;
34        if (_param->_have_port_context_id)
35        delete []  in_RENAME_IN_CONTEXT_ID    ;
36        if (_param->_have_port_depth)
37        delete []  in_RENAME_IN_DEPTH         ;
38        delete []  in_RENAME_IN_TYPE          ;
39        delete []  in_RENAME_IN_OPERATION     ;
40        delete []  in_RENAME_IN_ADDRESS       ;
41        delete []  in_RENAME_IN_HAS_IMMEDIAT  ;
42        delete []  in_RENAME_IN_IMMEDIAT      ;
43        delete []  in_RENAME_IN_READ_RA       ;
44        delete []  in_RENAME_IN_NUM_REG_RA    ;
45        delete []  in_RENAME_IN_READ_RB       ;
46        delete []  in_RENAME_IN_NUM_REG_RB    ;
47        delete []  in_RENAME_IN_READ_RC       ;
48        delete []  in_RENAME_IN_NUM_REG_RC    ;
49        delete []  in_RENAME_IN_WRITE_RD      ;
50        delete []  in_RENAME_IN_NUM_REG_RD    ;
51        delete []  in_RENAME_IN_WRITE_RE      ;
52        delete []  in_RENAME_IN_NUM_REG_RE    ;
53        delete []  in_RENAME_IN_EXCEPTION_USE ;
54
55        delete [] out_RENAME_OUT_VAL          ;
56        delete []  in_RENAME_OUT_ACK          ;
57        if (_param->_have_port_front_end_id)
58        delete [] out_RENAME_OUT_FRONT_END_ID ;
59        if (_param->_have_port_context_id)
60        delete [] out_RENAME_OUT_CONTEXT_ID   ;
61        if (_param->_have_port_depth)
62        delete [] out_RENAME_OUT_DEPTH        ;
63        delete [] out_RENAME_OUT_TYPE         ;
64        delete [] out_RENAME_OUT_OPERATION    ;
65        delete [] out_RENAME_OUT_ADDRESS      ;
66        delete [] out_RENAME_OUT_HAS_IMMEDIAT ;
67        delete [] out_RENAME_OUT_IMMEDIAT     ;
68        delete [] out_RENAME_OUT_READ_RA      ;
69        delete [] out_RENAME_OUT_NUM_REG_RA   ;
70        delete [] out_RENAME_OUT_READ_RB      ;
71        delete [] out_RENAME_OUT_NUM_REG_RB   ;
72        delete [] out_RENAME_OUT_READ_RC      ;
73        delete [] out_RENAME_OUT_NUM_REG_RC   ;
74        delete [] out_RENAME_OUT_WRITE_RD     ;
75        delete [] out_RENAME_OUT_NUM_REG_RD   ;
76        delete [] out_RENAME_OUT_WRITE_RE     ;
77        delete [] out_RENAME_OUT_NUM_REG_RE   ;
78        delete [] out_RENAME_OUT_EXCEPTION_USE;
79      }
80    // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
81
82    delete _component;
83
84    log_printf(FUNC,Rename_select,FUNCTION,"End");
85  };
86
87}; // end namespace rename_select
88}; // end namespace rename_unit
89}; // end namespace ooo_engine
90}; // end namespace multi_ooo_engine
91}; // end namespace core
92
93}; // end namespace behavioural
94}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.