source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Return_Address_Stack/src/Return_Address_Stack_end_cycle.cpp @ 81

Last change on this file since 81 was 81, checked in by rosiere, 16 years ago
  • Finish Environment (and test)
  • Continue predictor_unit
  • Add external tools
  • svn keyword "Id" set
  • Property svn:keywords set to Id
File size: 1.0 KB
Line 
1#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
2/*
3 * $Id: Return_Address_Stack_end_cycle.cpp 81 2008-04-15 18:40:01Z rosiere $
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Return_Address_Stack/include/Return_Address_Stack.h"
10
11namespace morpheo {
12namespace behavioural {
13namespace core {
14namespace multi_front_end {
15namespace front_end {
16namespace prediction_unit {
17namespace return_address_stack {
18
19
20#undef  FUNCTION
21#define FUNCTION "Return_Address_Stack::end_cycle"
22void Return_Address_Stack::end_cycle ()
23  {
24    log_printf(FUNC,Return_Address_Stack,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,Return_Address_Stack,FUNCTION,"End");
37  };
38
39}; // end namespace return_address_stack
40}; // end namespace prediction_unit
41}; // end namespace front_end
42}; // end namespace multi_front_end
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.