source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/src/Read_unit_end_cycle.cpp @ 76

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

Add new component : Read_unit (no tested)
Change functionnal_unit : now use type and operation to execute the good function
Change New_Component's script

File size: 985 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/Multi_Read_unit/Read_unit/include/Read_unit.h"
10
11namespace morpheo {
12namespace behavioural {
13namespace core {
14namespace multi_execute_loop {
15namespace execute_loop {
16namespace multi_read_unit {
17namespace read_unit {
18
19
20#undef  FUNCTION
21#define FUNCTION "Read_unit::end_cycle"
22void Read_unit::end_cycle ()
23  {
24    log_printf(FUNC,Read_unit,FUNCTION,"Begin");
25
26#ifdef STATISTICS
27    _stat->end_cycle();
28#endif   
29
30#ifdef VHDL_TESTBENCH
31    // Evaluation before read the ouput signal
32//  sc_start(0);
33    _interfaces->testbench();
34#endif
35
36    log_printf(FUNC,Read_unit,FUNCTION,"End");
37  };
38
39}; // end namespace read_unit
40}; // end namespace multi_read_unit
41}; // end namespace execute_loop
42}; // end namespace multi_execute_loop
43}; // end namespace core
44
45}; // end namespace behavioural
46}; // end namespace morpheo             
47#endif
Note: See TracBrowser for help on using the repository browser.