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

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

Almost complete design
with Test and test platform

  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
2/*
3 * $Id: Reservation_station_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/Reservation_station/include/Reservation_station.h"
10
11namespace morpheo                    {
12namespace behavioural {
13namespace core {
14namespace multi_execute_loop {
15namespace execute_loop {
16namespace multi_read_unit {
17namespace read_unit {
18namespace reservation_station {
19
20
21#undef  FUNCTION
22#define FUNCTION "Reservation_station::end_cycle"
23  void Reservation_station::end_cycle ()
24  {
25    log_printf(FUNC,Reservation_station,FUNCTION,"Begin");
26
27#ifdef STATISTICS
28    if (usage_is_set(_usage,USE_STATISTICS))
29      _stat->end_cycle();
30#endif   
31
32#ifdef VHDL_TESTBENCH
33    // Evaluation before read the ouput signal
34//     sc_start(0);
35    if (usage_is_set(_usage,USE_VHDL_TESTBENCH))
36      _interfaces->testbench();
37#endif
38    log_printf(FUNC,Reservation_station,FUNCTION,"End");
39  };
40
41}; // end namespace reservation_station
42}; // end namespace read_unit
43}; // end namespace multi_read_unit
44}; // end namespace execute_loop
45}; // end namespace multi_execute_loop
46}; // end namespace core
47
48}; // end namespace behavioural
49}; // end namespace morpheo             
50#endif
Note: See TracBrowser for help on using the repository browser.