source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit/Register_unit_Glue/src/Register_unit_Glue_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: 1.0 KB
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/Register_unit_Glue/include/Register_unit_Glue.h"
10
11namespace morpheo                    {
12namespace behavioural {
13namespace core {
14namespace multi_execute_loop {
15namespace execute_loop {
16namespace register_unit {
17namespace register_unit_glue {
18
19#undef  FUNCTION
20#define FUNCTION "Register_unit_Glue::end_cycle"
21void Register_unit_Glue::end_cycle ()
22  {
23    log_printf(FUNC,Register_unit_Glue,FUNCTION,"Begin");
24
25#ifdef STATISTICS
26    _stat->end_cycle();
27#endif   
28
29#ifdef VHDL_TESTBENCH
30    // Evaluation before read the ouput signal
31//  sc_start(0);
32    _interfaces->testbench();
33#endif
34
35    log_printf(FUNC,Register_unit_Glue,FUNCTION,"End");
36  };
37
38}; // end namespace register_unit_glue
39}; // end namespace register_unit
40}; // end namespace execute_loop
41}; // end namespace multi_execute_loop
42}; // end namespace core
43
44}; // end namespace behavioural
45}; // end namespace morpheo             
46#endif
Note: See TracBrowser for help on using the repository browser.