source: trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component_transition.cpp @ 73

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

add two component :

  • Write Queue (in Moore version)
  • Execute Queue

add macro to help the interface allocation : Allocation.h

File size: 634 bytes
Line 
1#ifdef SYSTEMC
2//#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
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.