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 | |
---|
11 | namespace morpheo { |
---|
12 | namespace behavioural { |
---|
13 | namespace core { |
---|
14 | namespace multi_front_end { |
---|
15 | namespace front_end { |
---|
16 | namespace ifetch_unit { |
---|
17 | namespace 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 |
---|