source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/src/Pattern_History_Table_deallocation.cpp @ 42

Last change on this file since 42 was 42, checked in by rosiere, 17 years ago

Modification des classes d'encapsulation des interfaces :

  • gère les signaux à écrire dans le vhdl
  • les traces pour le testbench
  • la génération des vhdl structurelles

-> test sur la Pattern History Table

File size: 1.4 KB
Line 
1#ifdef SYSTEMC
2/*
3 * $Id$
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Pattern_History_Table.h"
10
11namespace morpheo                    {
12namespace behavioural {
13namespace stage_1_ifetch {
14namespace predictor {
15namespace meta_predictor {
16namespace two_level_branch_predictor {
17namespace pattern_history_table {
18
19
20  void Pattern_History_Table::deallocation (void)
21  {
22    log_printf(FUNC,Pattern_History_Table,"deallocation","Begin");
23
24    delete     in_CLOCK;
25    delete     in_NRESET;
26
27    delete []  in_PREDICT_VAL    ;
28    delete [] out_PREDICT_ACK    ;
29    delete []  in_PREDICT_ADDRESS;
30    delete [] out_PREDICT_HISTORY;
31
32    delete []  in_BRANCH_COMPLETE_VAL    ;
33    delete [] out_BRANCH_COMPLETE_ACK    ;
34    delete []  in_BRANCH_COMPLETE_ADDRESS;
35    delete []  in_BRANCH_COMPLETE_HISTORY;
36    delete []  in_BRANCH_COMPLETE_DIRECTION;
37
38     // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
39    delete component_Counter;
40    delete component_RegisterFile;
41   
42    delete _component;
43
44    log_printf(FUNC,Pattern_History_Table,"deallocation","End");
45  };
46
47}; // end namespace pattern_history_table
48}; // end namespace two_level_branch_predictor
49}; // end namespace meta_predictor
50}; // end namespace predictor
51}; // end namespace stage_1_ifetch
52
53}; // end namespace behavioural
54}; // end namespace morpheo             
55#endif
Note: See TracBrowser for help on using the repository browser.