source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/src/Direction_deallocation.cpp @ 111

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

1) Decod_queue : multi implementation (one_fifo, multi_fifo)
2) Issue_queue : multi implementation (in_order, out_of_order)
3) Direction : Add Meta predictor
4) Context_State : re add Branch_complete, More priority to Load miss (is not speculative)
5) Return_Address_Stack : update reg_PREDICT pointer on decod miss prediction
6) UPT : Fix bug in multi event
7) Prediction_glue : in read_stack case, insert in UPT pc_next
8) Rename select : when rob have an event (need flush), read_r{a,b,c} and write_r{d,e} is set at 0

  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1/*
2 * $Id: Direction_deallocation.cpp 111 2009-02-27 18:37:40Z rosiere $
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/include/Direction.h"
9
10namespace morpheo                    {
11namespace behavioural {
12namespace core {
13namespace multi_front_end {
14namespace front_end {
15namespace prediction_unit {
16namespace direction {
17
18
19#undef  FUNCTION
20#define FUNCTION "Direction::deallocation"
21  void Direction::deallocation (void)
22  {
23    log_printf(FUNC,Direction,FUNCTION,"Begin");
24
25    if (usage_is_set(_usage,USE_SYSTEMC))
26      {
27        delete    in_CLOCK ;
28        delete    in_NRESET;
29
30        delete []  in_PREDICT_VAL             ;
31        delete [] out_PREDICT_ACK             ;
32        delete []  in_PREDICT_ADDRESS_SRC     ;
33        delete []  in_PREDICT_STATIC          ;
34        delete []  in_PREDICT_LAST_TAKE       ;
35        if (_param->_have_port_history)
36        delete [] out_PREDICT_HISTORY         ;
37        delete [] out_PREDICT_DIRECTION       ;
38        delete []  in_UPDATE_VAL              ;
39        delete [] out_UPDATE_ACK              ;
40        delete []  in_UPDATE_ADDRESS          ;
41        if (_param->_have_port_history)
42        delete []  in_UPDATE_HISTORY          ;
43        delete []  in_UPDATE_DIRECTION        ;
44      }
45    // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
46    delete _component_glue;
47    if (_param->_have_component_meta_predictor)
48    delete _component_meta_predictor;
49    delete _component;
50
51    log_printf(FUNC,Direction,FUNCTION,"End");
52  };
53
54}; // end namespace direction
55}; // end namespace prediction_unit
56}; // end namespace front_end
57}; // end namespace multi_front_end
58}; // end namespace core
59
60}; // end namespace behavioural
61}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.