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