source: trunk/IPs/systemC/processor/Morpheo/TopLevel/src/Morpheo_transition.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: 664 bytes
Line 
1# if defined(STATISTICS) or defined(VHDL_TESTBENCH)
2#ifdef SYSTEMC
3/*
4 * $Id: Morpheo_transition.cpp 110 2009-02-19 16:31:47Z rosiere $
5 *
6 * [ Description ]
7 *
8 */
9
10#include "TopLevel/include/Morpheo.h"
11#include "Behavioural/include/Simulation.h"
12
13namespace morpheo {
14
15  using namespace behavioural;
16
17#undef  FUNCTION
18#define FUNCTION "Morpheo::transition"
19  void Morpheo::transition (void)
20  {
21    log_begin(Morpheo,FUNCTION);
22   
23    // Re init the alarm
24    alarm(debug_idle_time);
25
26#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
27    end_cycle ();
28#endif
29
30    // Test stop condition
31    if (simulation_test_end())
32      sc_stop();
33
34    log_end(Morpheo,FUNCTION);
35  };
36
37}; // end namespace morpheo
38# endif
39#endif
Note: See TracBrowser for help on using the repository browser.