source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Write_unit/Write_unit/src/Write_unit_end_cycle.cpp @ 74

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

New component : Read_unit (instance between a write queue and a optionnal execute_queue)

File size: 996 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_Write_unit/Write_unit/include/Write_unit.h"
10
11namespace morpheo {
12namespace behavioural {
13namespace core {
14namespace multi_execute_loop {
15namespace execute_loop {
16namespace multi_write_unit {
17namespace write_unit {
18
19
20#undef  FUNCTION
21#define FUNCTION "Write_unit::end_cycle"
22void Write_unit::end_cycle ()
23  {
24    log_printf(FUNC,Write_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,Write_unit,FUNCTION,"End");
37  };
38
39}; // end namespace write_unit
40}; // end namespace multi_write_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.