source: trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/src/New_Component_transition.cpp @ 76

Last change on this file since 76 was 76, checked in by rosiere, 16 years ago

Add new component : Read_unit (no tested)
Change functionnal_unit : now use type and operation to execute the good function
Change New_Component's script

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