source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Sort/src/Sort_end_cycle.cpp @ 81

Last change on this file since 81 was 81, checked in by rosiere, 16 years ago
  • Finish Environment (and test)
  • Continue predictor_unit
  • Add external tools
  • svn keyword "Id" set
  • Property svn:keywords set to Id
File size: 714 bytes
Line 
1#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
2/*
3 * $Id: Sort_end_cycle.cpp 81 2008-04-15 18:40:01Z rosiere $
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Generic/Sort/include/Sort.h"
10
11namespace morpheo {
12namespace behavioural {
13namespace generic {
14namespace sort {
15
16
17#undef  FUNCTION
18#define FUNCTION "Sort::end_cycle"
19void Sort::end_cycle ()
20  {
21    log_printf(FUNC,Sort,FUNCTION,"Begin");
22
23#ifdef STATISTICS
24    _stat->end_cycle();
25#endif   
26
27#ifdef VHDL_TESTBENCH
28    // Evaluation before read the ouput signal
29//  sc_start(0);
30    _interfaces->testbench();
31#endif
32
33    log_printf(FUNC,Sort,FUNCTION,"End");
34  };
35
36}; // end namespace sort
37}; // end namespace generic
38
39}; // end namespace behavioural
40}; // end namespace morpheo             
41#endif
Note: See TracBrowser for help on using the repository browser.