source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Branch_Target_Buffer/Branch_Target_Buffer_Glue/src/Branch_Target_Buffer_Glue_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.2 KB
Line 
1#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
2/*
3 * $Id: Branch_Target_Buffer_Glue_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/Branch_Target_Buffer/Branch_Target_Buffer_Glue/include/Branch_Target_Buffer_Glue.h"
10
11namespace morpheo {
12namespace behavioural {
13namespace core {
14namespace multi_front_end {
15namespace front_end {
16namespace prediction_unit {
17namespace branch_target_buffer {
18namespace branch_target_buffer_glue {
19
20
21#undef  FUNCTION
22#define FUNCTION "Branch_Target_Buffer_Glue::end_cycle"
23void Branch_Target_Buffer_Glue::end_cycle ()
24  {
25    log_printf(FUNC,Branch_Target_Buffer_Glue,FUNCTION,"Begin");
26
27#ifdef STATISTICS
28    _stat->end_cycle();
29#endif   
30
31#ifdef VHDL_TESTBENCH
32    // Evaluation before read the ouput signal
33//  sc_start(0);
34    _interfaces->testbench();
35#endif
36
37    log_printf(FUNC,Branch_Target_Buffer_Glue,FUNCTION,"End");
38  };
39
40}; // end namespace branch_target_buffer_glue
41}; // end namespace branch_target_buffer
42}; // end namespace prediction_unit
43}; // end namespace front_end
44}; // end namespace multi_front_end
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.