source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Queue/src/Queue_deallocation.cpp @ 68

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

read_queue : systemC et vhdl ok !
queue : quelques petits modif pour avoir une queue de taille 1
nettoyage des fichiers *mkf*

File size: 930 bytes
Line 
1/*
2 * $Id$
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/Generic/Queue/include/Queue.h"
9
10namespace morpheo                    {
11namespace behavioural {
12namespace generic {
13namespace queue {
14
15
16#undef  FUNCTION
17#define FUNCTION "Queue::deallocation"
18  void Queue::deallocation (void)
19  {
20    log_printf(FUNC,Queue,FUNCTION,"Begin");
21
22    if (_usage & USE_SYSTEMC)
23      { 
24        delete    in_CLOCK ;
25        delete    in_NRESET;
26       
27        delete    in_INSERT_VAL ;
28        delete   out_INSERT_ACK ;
29        delete    in_INSERT_DATA;
30       
31        delete   out_RETIRE_VAL ;
32        delete    in_RETIRE_ACK ;
33        delete   out_RETIRE_DATA;
34       
35      }
36    // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
37    delete _queue_control;
38    delete _queue_data;
39    delete _component;
40
41    log_printf(FUNC,Queue,FUNCTION,"End");
42  };
43
44}; // end namespace queue
45}; // end namespace generic
46
47}; // end namespace behavioural
48}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.