source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Functionnal_unit/src/Functionnal_unit_end_cycle.cpp @ 72

Last change on this file since 72 was 72, checked in by rosiere, 16 years ago
  • SystemC de l'unite fonctionnelle.
  • gestion des groupes / instructions custom
File size: 1.1 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/Multi_Execute_unit/Execute_unit/Functionnal_unit/include/Functionnal_unit.h"
10
11namespace morpheo {
12namespace behavioural {
13namespace core {
14namespace multi_execute_loop {
15namespace execute_loop {
16namespace multi_execute_unit {
17namespace execute_unit {
18namespace functionnal_unit {
19
20
21#undef  FUNCTION
22#define FUNCTION "Functionnal_unit::end_cycle"
23void Functionnal_unit::end_cycle ()
24  {
25    log_printf(FUNC,Functionnal_unit,FUNCTION,"Begin");
26
27#ifdef STATISTICS
28    _stat->end_cycle();
29#endif   
30
31#ifdef VHDL_TESTBENCH
32    // Evaluation before read the ouput signal
33//  sc_start(0);
34    _interfaces->testbench();
35#endif
36
37    log_printf(FUNC,Functionnal_unit,FUNCTION,"End");
38  };
39
40}; // end namespace functionnal_unit
41}; // end namespace execute_unit
42}; // end namespace multi_execute_unit
43}; // end namespace execute_loop
44}; // end namespace multi_execute_loop
45}; // end namespace core
46
47}; // end namespace behavioural
48}; // end namespace morpheo             
49#endif
Note: See TracBrowser for help on using the repository browser.