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

Last change on this file since 40 was 40, checked in by rosiere, 17 years ago

Interface et Signal, c'est deux classes enregistres la valeurs des signaux à chaque cycle ... étape préparatoire avan le changement de la classe Vhdl_Testbench

File size: 712 bytes
Line 
1#ifdef SYSTEMC
2/*
3 * $Id$
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/@DIRECTORY/include/@COMPONENT.h"
10
11namespace morpheo                    {
12namespace behavioural {
13@NAMESPACE_BEGIN
14
15  void @COMPONENT::deallocation (void)
16  {
17    log_printf(FUNC,@COMPONENT,"deallocation","Begin");
18
19//#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
20    delete in_CLOCK;
21//#endif
22    delete in_NRESET;
23
24    // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
25
26#ifdef POSITION
27    delete _position;
28#else
29    delete _interfaces;
30#endif
31
32    log_printf(FUNC,@COMPONENT,"deallocation","End");
33  };
34
35@NAMESPACE_END
36}; // end namespace behavioural
37}; // end namespace morpheo             
38#endif
Note: See TracBrowser for help on using the repository browser.