source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/Ifetch_unit_Glue/src/Ifetch_unit_Glue_deallocation.cpp @ 88

Last change on this file since 88 was 88, checked in by rosiere, 15 years ago

Almost complete design
with Test and test platform

  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1/*
2 * $Id: Ifetch_unit_Glue_deallocation.cpp 88 2008-12-10 18:31:39Z rosiere $
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/Ifetch_unit_Glue/include/Ifetch_unit_Glue.h"
9
10namespace morpheo                    {
11namespace behavioural {
12namespace core {
13namespace multi_front_end {
14namespace front_end {
15namespace ifetch_unit {
16namespace ifetch_unit_glue {
17
18
19#undef  FUNCTION
20#define FUNCTION "Ifetch_unit_Glue::deallocation"
21  void Ifetch_unit_Glue::deallocation (void)
22  {
23    log_printf(FUNC,Ifetch_unit_Glue,FUNCTION,"Begin");
24
25    if (usage_is_set(_usage,USE_SYSTEMC))
26      {
27        delete     in_CLOCK ;
28        delete     in_NRESET;
29
30        delete    out_ICACHE_REQ_VAL         ;
31        delete     in_ICACHE_REQ_ADDRESS_VAL ;
32        delete    out_ICACHE_REQ_QUEUE_VAL   ;
33        delete     in_ICACHE_REQ_ACK         ;
34        delete    out_ICACHE_REQ_ADDRESS_ACK ;
35        delete     in_ICACHE_REQ_QUEUE_ACK   ;
36        delete    out_ICACHE_REQ_TYPE        ;
37        delete    out_ICACHE_REQ_ADDRESS         ;
38        delete     in_ICACHE_REQ_ADDRESS_ADDRESS ;
39        delete    out_ICACHE_REQ_QUEUE_ADDRESS   ;
40       
41        delete     in_EVENT_VAL              ;
42        delete    out_EVENT_ADDRESS_VAL      ;
43        delete    out_EVENT_QUEUE_VAL        ;
44        delete    out_EVENT_ACK              ;
45        delete     in_EVENT_ADDRESS_ACK      ;
46        delete     in_EVENT_QUEUE_ACK        ;
47      }
48
49    // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
50
51    delete _component;
52
53    log_printf(FUNC,Ifetch_unit_Glue,FUNCTION,"End");
54  };
55
56}; // end namespace ifetch_unit_glue
57}; // end namespace ifetch_unit
58}; // end namespace front_end
59}; // end namespace multi_front_end
60}; // end namespace core
61
62}; // end namespace behavioural
63}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.