source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Select/Select_Priority_Fixed/src/Select_Priority_Fixed_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.0 KB
RevLine 
[10]1#ifdef SYSTEMC
2/*
3 * $Id$
4 *
5 * [ Description ]
6 *
7 */
8
[15]9#include "Behavioural/Generic/Select/Select_Priority_Fixed/include/Select_Priority_Fixed.h"
[10]10
11namespace morpheo                    {
12namespace behavioural {
13namespace generic {
14namespace select {
[15]15namespace select_priority_fixed {
[10]16
17
[15]18  void Select_Priority_Fixed::deallocation (void)
[10]19  {
[15]20    log_printf(FUNC,Select_Priority_Fixed,"deallocation","Begin");
[10]21
[57]22    if (_usage & USE_SYSTEMC)
[10]23      {
[57]24        delete     in_CLOCK;
25        delete     in_NRESET;
26       
27        delete []  in_VAL;
28        if (_param->_encoding_one_hot)
29          delete [] out_ACK;
30       
31        if (_param->_encoding_compact)
32          {
33            delete    out_ENTITY;
34            delete    out_ENTITY_ACK;
35          }
[10]36      }
37    // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
[57]38   
[42]39    delete _component;
40
[15]41    log_printf(FUNC,Select_Priority_Fixed,"deallocation","End");
[10]42  };
43
[15]44}; // end namespace select_priority_fixed
[10]45}; // end namespace select
46}; // end namespace generic
47
48}; // end namespace behavioural
49}; // end namespace morpheo             
50#endif
Note: See TracBrowser for help on using the repository browser.