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

Last change on this file since 82 was 82, checked in by rosiere, 16 years ago
  • support locale (now must "just" translate)
  • update all component with new test format
  • update all component with usage
  • New component : decod queue and prediction_unit
File size: 604 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_begin(@COMPONENT,FUNCTION);
21
22#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
23    end_cycle ();
24#endif
25
26    log_end(@COMPONENT,FUNCTION);
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.