source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/src/Front_end_end_cycle.cpp @ 88

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

Almost complete design
with Test and test platform

  • Property svn:keywords set to Id
File size: 895 bytes
Line 
1#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
2/*
3 * $Id: Front_end_end_cycle.cpp 88 2008-12-10 18:31:39Z rosiere $
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Core/Multi_Front_end/Front_end/include/Front_end.h"
10
11namespace morpheo {
12namespace behavioural {
13namespace core {
14namespace multi_front_end {
15namespace front_end {
16
17
18#undef  FUNCTION
19#define FUNCTION "Front_end::end_cycle"
20void Front_end::end_cycle ()
21  {
22    log_begin(Front_end,FUNCTION);
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_end(Front_end,FUNCTION);
37  };
38
39}; // end namespace front_end
40}; // end namespace multi_front_end
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.