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

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

1) Stat_list : fix retire old and new register bug
2) Stat_list : remove read_counter and valid flag, because validation of destination is in retire step (not in commit step)
3) Model : add class Model (cf Morpheo.sim)
4) Allocation : alloc_interface_begin and alloc_interface_end to delete temporary array.
5) Script : add distexe.sh
6) Add Comparator, Multiplier, Divider. But this component are not implemented
7) Software : add Dhrystone

  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1/*
2 * $Id: Ifetch_unit_Glue_deallocation.cpp 112 2009-03-18 22:36:26Z 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#include "Behavioural/include/Allocation.h"
10
11namespace morpheo                    {
12namespace behavioural {
13namespace core {
14namespace multi_front_end {
15namespace front_end {
16namespace ifetch_unit {
17namespace ifetch_unit_glue {
18
19
20#undef  FUNCTION
21#define FUNCTION "Ifetch_unit_Glue::deallocation"
22  void Ifetch_unit_Glue::deallocation (void)
23  {
24    log_printf(FUNC,Ifetch_unit_Glue,FUNCTION,"Begin");
25
26    if (usage_is_set(_usage,USE_SYSTEMC))
27      {
28        delete     in_CLOCK ;
29        delete     in_NRESET;
30
31        DELETE0_SIGNAL(out_ICACHE_REQ_VAL            ,1);
32        DELETE0_SIGNAL( in_ICACHE_REQ_ADDRESS_VAL    ,1);
33        DELETE0_SIGNAL(out_ICACHE_REQ_QUEUE_VAL      ,1);
34        DELETE0_SIGNAL( in_ICACHE_REQ_ACK            ,1);
35        DELETE0_SIGNAL(out_ICACHE_REQ_ADDRESS_ACK    ,1);
36        DELETE0_SIGNAL( in_ICACHE_REQ_QUEUE_ACK      ,1);
37        DELETE0_SIGNAL(out_ICACHE_REQ_TYPE           ,_param->_size_icache_type);
38        DELETE0_SIGNAL(out_ICACHE_REQ_ADDRESS        ,_param->_size_instruction_address);
39        DELETE0_SIGNAL( in_ICACHE_REQ_ADDRESS_ADDRESS,_param->_size_instruction_address);
40        DELETE0_SIGNAL(out_ICACHE_REQ_QUEUE_ADDRESS  ,_param->_size_instruction_address);
41       
42        DELETE0_SIGNAL( in_EVENT_VAL        ,1);
43        DELETE0_SIGNAL(out_EVENT_ADDRESS_VAL,1);
44        DELETE0_SIGNAL(out_EVENT_QUEUE_VAL  ,1);
45        DELETE0_SIGNAL(out_EVENT_ACK        ,1);
46        DELETE0_SIGNAL( in_EVENT_ADDRESS_ACK,1);
47        DELETE0_SIGNAL( in_EVENT_QUEUE_ACK  ,1);
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.