source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Counter/src/Counter_deallocation.cpp @ 88

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

Almost complete design
with Test and test platform

  • Property svn:keywords set to Id
File size: 832 bytes
Line 
1/*
2 * $Id: Counter_deallocation.cpp 88 2008-12-10 18:31:39Z rosiere $
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/Generic/Counter/include/Counter.h"
9
10namespace morpheo                    {
11namespace behavioural {
12namespace generic {
13namespace counter {
14
15
16  void Counter::deallocation (void)
17  {
18    log_printf(FUNC,Counter,"deallocation","Begin");
19
20    if (usage_is_set(_usage,USE_SYSTEMC))
21      {
22        delete     in_CLOCK;
23        delete     in_NRESET;
24       
25        delete []  in_COUNTER_DATA  ;
26        delete []  in_COUNTER_ADDSUB;
27        delete [] out_COUNTER_DATA  ;
28      }
29
30    // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
31
32    delete _component;
33
34    log_printf(FUNC,Counter,"deallocation","End");
35  };
36
37}; // end namespace counter
38}; // end namespace generic
39
40}; // end namespace behavioural
41}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.