source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit/src/Register_unit_end_cycle.cpp @ 75

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

Update all component (except front_end) to :

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