source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/src/Prediction_unit_deallocation.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: 924 bytes
Line 
1/*
2 * $Id$
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/include/Prediction_unit.h"
9
10namespace morpheo                    {
11namespace behavioural {
12namespace core {
13namespace multi_front_end {
14namespace front_end {
15namespace prediction_unit {
16
17
18#undef  FUNCTION
19#define FUNCTION "Prediction_unit::deallocation"
20  void Prediction_unit::deallocation (void)
21  {
22    log_printf(FUNC,Prediction_unit,FUNCTION,"Begin");
23
24    if (_usage & USE_SYSTEMC)
25      {
26        delete    in_CLOCK ;
27        delete    in_NRESET;
28      }
29    // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
30
31    delete _component;
32
33    log_printf(FUNC,Prediction_unit,FUNCTION,"End");
34  };
35
36}; // end namespace prediction_unit
37}; // end namespace front_end
38}; // end namespace multi_front_end
39}; // end namespace core
40
41}; // end namespace behavioural
42}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.