source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/src/Meta_Predictor_Glue_end_cycle.cpp @ 110

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

1) OOO_egine : add stat to depiste low perf source
2) Commit : add stat
3) LSU_Pointer : retire - always ack (else combinatory loop). insert - max nb_inst_memory
4) TopLevel? : add debug_idle_time to stop combinatory loop.
5) Issue_queue : add reexecute_queue, new implementation (routage after issue_queue)
6) Decod / Predictor : add "can_continue"

  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
2/*
3 * $Id: Meta_Predictor_Glue_end_cycle.cpp 110 2009-02-19 16:31:47Z rosiere $
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/include/Meta_Predictor_Glue.h"
10
11namespace morpheo {
12namespace behavioural {
13namespace core {
14namespace multi_front_end {
15namespace front_end {
16namespace prediction_unit {
17namespace direction {
18namespace meta_predictor {
19namespace meta_predictor_glue {
20
21
22#undef  FUNCTION
23#define FUNCTION "Meta_Predictor_Glue::end_cycle"
24void Meta_Predictor_Glue::end_cycle ()
25  {
26    log_begin(Meta_Predictor_Glue,FUNCTION);
27
28#ifdef STATISTICS
29    if (usage_is_set(_usage,USE_STATISTICS))
30      _stat->end_cycle();
31#endif   
32
33#ifdef VHDL_TESTBENCH
34    // Evaluation before read the ouput signal
35//  sc_start(0);
36    if (usage_is_set(_usage,USE_VHDL_TESTBENCH))
37      _interfaces->testbench();
38#endif
39
40    log_end(Meta_Predictor_Glue,FUNCTION);
41  };
42
43}; // end namespace meta_predictor_glue
44}; // end namespace meta_predictor
45}; // end namespace direction
46}; // end namespace prediction_unit
47}; // end namespace front_end
48}; // end namespace multi_front_end
49}; // end namespace core
50
51}; // end namespace behavioural
52}; // end namespace morpheo             
53#endif
Note: See TracBrowser for help on using the repository browser.