source: trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/src/New_Component_end_cycle.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: 682 bytes
Line 
1#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
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#undef  FUNCTION
16#define FUNCTION "@COMPONENT::end_cycle"
17void @COMPONENT::end_cycle ()
18  {
19    log_printf(FUNC,@COMPONENT,FUNCTION,"Begin");
20
21#ifdef STATISTICS
22    _stat->end_cycle();
23#endif   
24
25#ifdef VHDL_TESTBENCH
26    // Evaluation before read the ouput signal
27//  sc_start(0);
28    _interfaces->testbench();
29#endif
30
31    log_printf(FUNC,@COMPONENT,FUNCTION,"End");
32  };
33
34@NAMESPACE_END
35}; // end namespace behavioural
36}; // end namespace morpheo             
37#endif
Note: See TracBrowser for help on using the repository browser.