source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/src/Ifetch_unit_end_cycle.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: 903 bytes
Line 
1#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
2/*
3 * $Id$
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/include/Ifetch_unit.h"
10
11namespace morpheo {
12namespace behavioural {
13namespace core {
14namespace multi_front_end {
15namespace front_end {
16namespace ifetch_unit {
17
18
19#undef  FUNCTION
20#define FUNCTION "Ifetch_unit::end_cycle"
21void Ifetch_unit::end_cycle ()
22  {
23    log_printf(FUNC,Ifetch_unit,FUNCTION,"Begin");
24
25#ifdef STATISTICS
26    _stat->end_cycle();
27#endif   
28
29#ifdef VHDL_TESTBENCH
30    // Evaluation before read the ouput signal
31//  sc_start(0);
32    _interfaces->testbench();
33#endif
34
35    log_printf(FUNC,Ifetch_unit,FUNCTION,"End");
36  };
37
38}; // end namespace ifetch_unit
39}; // end namespace front_end
40}; // end namespace multi_front_end
41}; // end namespace core
42
43}; // end namespace behavioural
44}; // end namespace morpheo             
45#endif
Note: See TracBrowser for help on using the repository browser.