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

Last change on this file since 88 was 88, checked in by rosiere, 16 years ago

Almost complete design
with Test and test platform

  • Property svn:keywords set to Id
File size: 955 bytes
Line 
1/*
2 * $Id: Queue_deallocation.cpp 88 2008-12-10 18:31:39Z rosiere $
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_is_set(_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        // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
36        delete _queue_control;
37        delete _queue_data;
38      }
39
40    delete _component;
41
42    log_printf(FUNC,Queue,FUNCTION,"End");
43  };
44
45}; // end namespace queue
46}; // end namespace generic
47
48}; // end namespace behavioural
49}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.