source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/src/Branch_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.3 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/Branch_History_Table/include/Branch_History_Table.h"
10
11namespace morpheo {
12namespace behavioural {
13namespace stage_1_ifetch {
14namespace predictor {
15namespace meta_predictor {
16namespace two_level_branch_predictor {
17namespace branch_history_table {
18
19  void Branch_History_Table::deallocation (void)
20  {
21    delete     in_CLOCK;
22    delete     in_NRESET;
23
24    delete []  in_PREDICT_VAL    ;
25    delete [] out_PREDICT_ACK    ;
26    delete []  in_PREDICT_ADDRESS;
27    delete [] out_PREDICT_HISTORY;
28
29    delete []  in_BRANCH_COMPLETE_VAL    ;
30    delete [] out_BRANCH_COMPLETE_ACK    ;
31    delete []  in_BRANCH_COMPLETE_ADDRESS;
32    delete []  in_BRANCH_COMPLETE_HISTORY;
33    delete []  in_BRANCH_COMPLETE_DIRECTION;
34
35     // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
36    delete component_Shifter;
37    delete component_RegisterFile;
38   
39    delete _component;
40  };
41
42}; // end namespace branch_history_table
43}; // end namespace two_level_branch_predictor
44}; // end namespace meta_predictor
45}; // end namespace predictor
46}; // end namespace stage_1_ifetch
47}; // end namespace behavioural
48}; // end namespace morpheo             
49#endif
Note: See TracBrowser for help on using the repository browser.