source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Victim/Victim_Pseudo_LRU/src/Victim_Pseudo_LRU_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: 1.1 KB
Line 
1#ifdef SYSTEMC
2/*
3 * $Id$
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Generic/Victim/Victim_Pseudo_LRU/include/Victim_Pseudo_LRU.h"
10
11namespace morpheo                    {
12namespace behavioural {
13namespace generic {
14namespace victim {
15namespace victim_pseudo_lru {
16
17  void Victim_Pseudo_LRU::deallocation (void)
18  {
19    delete     in_CLOCK;
20    delete     in_NRESET;
21    // -----[ Interface access ]-------------------------------------------
22    delete []  in_ACCESS_VAL    ;
23    delete [] out_ACCESS_ACK    ;
24    if (_param->_size_address>1)
25    delete []  in_ACCESS_ADDRESS;
26    delete []  in_ACCESS_HIT    ;
27    delete []  in_ACCESS_ENTITY ;
28    delete [] out_ACCESS_VICTIM ;
29   
30    // -----[ Register ]---------------------------------------------------
31    delete [] reg_TABLE;
32
33    // -----[ Internal ]---------------------------------------------------
34    delete [] internal_ACCESS_ACK   ;
35    delete [] internal_ACCESS_VICTIM;
36
37    delete _component;
38  };
39
40}; // end namespace victim_pseudo_lru
41}; // end namespace victim
42}; // end namespace generic
43}; // end namespace behavioural
44}; // end namespace morpheo             
45#endif
Note: See TracBrowser for help on using the repository browser.