source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Shifter/src/Shifter_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: 757 bytes
Line 
1#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
2/*
3 * $Id: Shifter_end_cycle.cpp 81 2008-04-15 18:40:01Z rosiere $
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Generic/Shifter/include/Shifter.h"
10
11namespace morpheo                    {
12namespace behavioural {
13namespace generic {
14namespace shifter {
15
16#undef  FUNCTION
17#define FUNCTION "Shifter::end_cycle"
18void Shifter::end_cycle ()
19  {
20    log_printf(FUNC,Shifter,FUNCTION,"Begin");
21
22#ifdef STATISTICS
23    _stat->end_cycle();
24#endif   
25
26#ifdef VHDL_TESTBENCH
27    // Evaluation before read the ouput signal
28//  sc_start(0);
29    _interfaces->testbench();
30#endif
31
32    log_printf(FUNC,Shifter,FUNCTION,"End");
33  };
34
35
36}; // end namespace shifter
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.