source: trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component_end_cycle.cpp @ 69

Last change on this file since 69 was 69, checked in by rosiere, 17 years ago

Station de reservation : systemC et VHDL ok

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