source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Read_queue/src/Read_queue_end_cycle.cpp @ 88

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

Almost complete design
with Test and test platform

  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
2/*
3 * $Id: Read_queue_end_cycle.cpp 88 2008-12-10 18:31:39Z rosiere $
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Read_queue/include/Read_queue.h"
10
11namespace morpheo                    {
12namespace behavioural {
13namespace core {
14namespace multi_execute_loop {
15namespace execute_loop {
16namespace multi_read_unit {
17namespace read_unit {
18namespace read_queue {
19
20
21  void Read_queue::end_cycle ()
22  {
23    log_printf(FUNC,Read_queue,"vhdl_testbench_transition","Begin");
24
25#ifdef STATISTICS
26    if (usage_is_set(_usage,USE_STATISTICS))
27      _stat->end_cycle();
28#endif   
29
30#ifdef VHDL_TESTBENCH
31    // Evaluation before read the ouput signal
32//  sc_start(0);
33    if (usage_is_set(_usage,USE_VHDL_TESTBENCH))
34      _interfaces->testbench();
35#endif
36
37    log_printf(FUNC,Read_queue,"vhdl_testbench_transition","End");
38  };
39
40}; // end namespace read_queue
41}; // end namespace read_unit
42}; // end namespace multi_read_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.