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