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

Last change on this file since 57 was 57, checked in by rosiere, 17 years ago
  • VHDL - RegisterFile_Multi_Banked (only partial_crossbar)
  • SystemC - modif Component, interface and co -> ajout du type Tusage_T pour instancier un coposant mais ne demander que le VHDL ou le systemC.
  • Séminaire interne
File size: 694 bytes
Line 
1/*
2 * $Id$
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/@DIRECTORY/include/@COMPONENT.h"
9
10namespace morpheo                    {
11namespace behavioural {
12@NAMESPACE_BEGIN
13
14#undef  FUNCTION
15#define FUNCTION "@COMPONENT::deallocation"
16  void @COMPONENT::deallocation (void)
17  {
18    log_printf(FUNC,@COMPONENT,FUNCTION,"Begin");
19
20//#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
21    delete    in_CLOCK ;
22//#endif
23    delete    in_NRESET;
24
25    // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
26
27    delete _component;
28
29    log_printf(FUNC,@COMPONENT,FUNCTION,"End");
30  };
31
32@NAMESPACE_END
33}; // end namespace behavioural
34}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.