source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/src/Execute_loop_end_cycle.cpp @ 88

Last change on this file since 88 was 88, checked in by rosiere, 15 years ago

Almost complete design
with Test and test platform

  • Property svn:keywords set to Id
File size: 956 bytes
Line 
1#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
2/*
3 * $Id: Execute_loop_end_cycle.cpp 88 2008-12-10 18:31:39Z rosiere $
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Core/Multi_Execute_loop/Execute_loop/include/Execute_loop.h"
10
11namespace morpheo {
12namespace behavioural {
13namespace core {
14namespace multi_execute_loop {
15namespace execute_loop {
16
17
18#undef  FUNCTION
19#define FUNCTION "Execute_loop::end_cycle"
20void Execute_loop::end_cycle ()
21  {
22    log_printf(FUNC,Execute_loop,FUNCTION,"Begin");
23
24#ifdef STATISTICS
25    if (usage_is_set(_usage,USE_STATISTICS))
26      _stat->end_cycle();
27#endif   
28
29#ifdef VHDL_TESTBENCH
30    // Evaluation before read the ouput signal
31//  sc_start(0);
32    if (usage_is_set(_usage,USE_VHDL_TESTBENCH))
33      _interfaces->testbench();
34#endif
35
36    log_printf(FUNC,Execute_loop,FUNCTION,"End");
37  };
38
39}; // end namespace execute_loop
40}; // end namespace multi_execute_loop
41}; // end namespace core
42
43}; // end namespace behavioural
44}; // end namespace morpheo             
45#endif
Note: See TracBrowser for help on using the repository browser.