source: trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/src/New_Component_deallocation.cpp @ 81

Last change on this file since 81 was 81, checked in by rosiere, 16 years ago
  • Finish Environment (and test)
  • Continue predictor_unit
  • Add external tools
  • svn keyword "Id" set
  • Property svn:keywords set to Id
File size: 727 bytes
Line 
1/*
2 * $Id: New_Component_deallocation.cpp 81 2008-04-15 18:40:01Z rosiere $
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/@DIRECTORY/include/@COMPONENT.h"
9#include "Behavioural/include/Allocation.h"
10
11namespace morpheo                    {
12namespace behavioural {
13@NAMESPACE_BEGIN
14
15#undef  FUNCTION
16#define FUNCTION "@COMPONENT::deallocation"
17  void @COMPONENT::deallocation (void)
18  {
19    log_printf(FUNC,@COMPONENT,FUNCTION,"Begin");
20
21    if (usage_is_set(_usage,USE_SYSTEMC))
22      {
23        delete    in_CLOCK ;
24        delete    in_NRESET;
25      }
26    // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
27
28    delete _component;
29
30    log_printf(FUNC,@COMPONENT,FUNCTION,"End");
31  };
32
33@NAMESPACE_END
34}; // end namespace behavioural
35}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.