source: trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vbe/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: 572 bytes
RevLine 
[2]1#ifdef SYSTEMC
2/*
3 * $Id$
4 *
[73]5 * [ Description ]
[2]6 *
7 */
8
9#include "Behavioural/@DIRECTORY/include/@COMPONENT.h"
10
11namespace morpheo                    {
12namespace behavioural {
13@NAMESPACE_BEGIN
14
[53]15#undef  FUNCTION
16#define FUNCTION "@COMPONENT::transition"
[2]17  void @COMPONENT::transition (void)
18  {
[53]19    log_printf(FUNC,@COMPONENT,FUNCTION,"Begin");
[2]20
[71]21#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
[69]22    end_cycle ();
[71]23#endif
[2]24
[53]25    log_printf(FUNC,@COMPONENT,FUNCTION,"End");
[2]26  };
27
28@NAMESPACE_END
29}; // end namespace behavioural
30}; // end namespace morpheo             
31#endif
Note: See TracBrowser for help on using the repository browser.