source: trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component_deallocation.cpp @ 53

Last change on this file since 53 was 53, checked in by rosiere, 17 years ago
  • Banc de registre multi banc
  • Banc de registre générique.
File size: 766 bytes
Line 
1#undef  FUNCTION
2#define FUNCTION "@COMPONENT::"
3
4#ifdef SYSTEMC
5/*
6 * $Id$
7 *
8 * [ Description ]
9 *
10 */
11
12#include "Behavioural/@DIRECTORY/include/@COMPONENT.h"
13
14namespace morpheo                    {
15namespace behavioural {
16@NAMESPACE_BEGIN
17
18#undef  FUNCTION
19#define FUNCTION "@COMPONENT::deallocation"
20  void @COMPONENT::deallocation (void)
21  {
22    log_printf(FUNC,@COMPONENT,FUNCTION,"Begin");
23
24//#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
25    delete    in_CLOCK ;
26//#endif
27    delete    in_NRESET;
28
29    // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
30
31    delete _component;
32
33    log_printf(FUNC,@COMPONENT,FUNCTION,"End");
34  };
35
36@NAMESPACE_END
37}; // end namespace behavioural
38}; // end namespace morpheo             
39#endif
Note: See TracBrowser for help on using the repository browser.