source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Counter/src/Counter_end_cycle.cpp @ 84

Last change on this file since 84 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: 709 bytes
RevLine 
[71]1#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
[2]2/*
3 * $Id: Counter_end_cycle.cpp 81 2008-04-15 18:40:01Z rosiere $
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Generic/Counter/include/Counter.h"
10
11namespace morpheo                    {
12namespace behavioural {
13namespace generic {
14namespace counter {
15
16
[71]17  void Counter::end_cycle ()
[2]18  {
[71]19    log_printf(FUNC,Counter,"end_cycle","Begin");
[2]20
[71]21#ifdef STATISTICS
22    _stat->end_cycle();
23#endif   
[2]24
[71]25#ifdef VHDL_TESTBENCH
26    // Evaluation before read the ouput signal
27//  sc_start(0);
[42]28    _interfaces->testbench();
[71]29#endif
[2]30
[71]31    log_printf(FUNC,Counter,"end_cycle","End");
[2]32  };
33
34}; // end namespace counter
35}; // end namespace generic
36}; // end namespace behavioural
37}; // end namespace morpheo             
38#endif
Note: See TracBrowser for help on using the repository browser.