source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/src/RegisterFile_Monolithic_deallocation.cpp @ 57

Last change on this file since 57 was 57, checked in by rosiere, 17 years ago
  • VHDL - RegisterFile_Multi_Banked (only partial_crossbar)
  • SystemC - modif Component, interface and co -> ajout du type Tusage_T pour instancier un coposant mais ne demander que le VHDL ou le systemC.
  • Séminaire interne
File size: 1.2 KB
Line 
1/*
2 * $Id$
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/include/RegisterFile_Monolithic.h"
9
10namespace morpheo                    {
11namespace behavioural                {
12namespace generic                    {
13namespace registerfile               {
14namespace registerfile_monolithic    {
15
16  void RegisterFile_Monolithic::deallocation (void)
17  {
18    delete _component;
19
20    if (_usage & USE_SYSTEMC)
21      {
22        delete    in_CLOCK;
23        delete    in_NRESET;
24        // ----- Interface Read
25        delete []  in_READ_VAL    ;
26        delete [] out_READ_ACK    ;
27        delete []  in_READ_ADDRESS;
28        delete [] out_READ_DATA   ;
29       
30        // ----- Interface Write
31        delete []  in_WRITE_VAL    ;
32        delete [] out_WRITE_ACK    ;
33        delete []  in_WRITE_ADDRESS;
34        delete []  in_WRITE_DATA   ;
35       
36        // ----- Interface Read_Write
37        delete []  in_READ_WRITE_VAL    ;
38        delete [] out_READ_WRITE_ACK    ;
39        delete []  in_READ_WRITE_RW     ;
40        delete []  in_READ_WRITE_ADDRESS;
41        delete []  in_READ_WRITE_WDATA  ;
42        delete [] out_READ_WRITE_RDATA  ;
43       
44        // ----- Register
45        delete [] reg_DATA;
46      }
47  };
48
49}; // end namespace registerfile_monolithic
50}; // end namespace registerfile
51}; // end namespace generic
52}; // end namespace behavioural         
53}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.