source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Branch_Target_Buffer/src/Branch_Target_Buffer_transition.cpp @ 78

Last change on this file since 78 was 78, checked in by rosiere, 16 years ago

Add :

  • Execute_loop (must be test systemC)
  • Prediction
    • Direction : predifined scheme
    • Branch Target Buffer
  • iFetch_unit
    • ifetch_queue
    • pc management
  • Decod_unit
    • coming soon : support for custom operation
  • Rename_unit
    • RAT
    • Free_list
    • Dependence RAW check
    • Load store unit pointer
  • New Environnement (hierarchy_memory will remove in a next version)


Modif :

  • Manage Custom Operation
  • All component in execute_loop to use the new statistics management

Not Finish :

  • Return Address Stack
  • Environnement
File size: 1005 bytes
Line 
1# if defined(STATISTICS) or defined(VHDL_TESTBENCH)
2#ifdef SYSTEMC
3/*
4 * $Id$
5 *
6 * [ Description ]
7 *
8 */
9
10#include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Branch_Target_Buffer/include/Branch_Target_Buffer.h"
11
12namespace morpheo                    {
13namespace behavioural {
14namespace core {
15namespace multi_front_end {
16namespace front_end {
17namespace prediction_unit {
18namespace branch_target_buffer {
19
20
21#undef  FUNCTION
22#define FUNCTION "Branch_Target_Buffer::transition"
23  void Branch_Target_Buffer::transition (void)
24  {
25    log_printf(FUNC,Branch_Target_Buffer,FUNCTION,"Begin");
26
27#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
28    end_cycle ();
29#endif
30
31    log_printf(FUNC,Branch_Target_Buffer,FUNCTION,"End");
32  };
33
34}; // end namespace branch_target_buffer
35}; // end namespace prediction_unit
36}; // end namespace front_end
37}; // end namespace multi_front_end
38}; // end namespace core
39
40}; // end namespace behavioural
41}; // end namespace morpheo             
42# endif
43#endif
Note: See TracBrowser for help on using the repository browser.