source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/src/Meta_Predictor_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.1 KB
Line 
1#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
2/*
3 * $Id: Meta_Predictor_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/include/Meta_Predictor.h"
10
11namespace morpheo {
12namespace behavioural {
13namespace core {
14namespace multi_front_end {
15namespace front_end {
16namespace prediction_unit {
17namespace direction {
18namespace meta_predictor {
19
20
21#undef  FUNCTION
22#define FUNCTION "Meta_Predictor::end_cycle"
23void Meta_Predictor::end_cycle ()
24  {
25    log_begin(Meta_Predictor,FUNCTION);
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
39    log_end(Meta_Predictor,FUNCTION);
40  };
41
42}; // end namespace meta_predictor
43}; // end namespace direction
44}; // end namespace prediction_unit
45}; // end namespace front_end
46}; // end namespace multi_front_end
47}; // end namespace core
48
49}; // end namespace behavioural
50}; // end namespace morpheo             
51#endif
Note: See TracBrowser for help on using the repository browser.