[78] | 1 | /* |
---|
| 2 | * $Id: Ifetch_unit_Glue_deallocation.cpp 81 2008-04-15 18:40:01Z 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 | |
---|
| 10 | namespace morpheo { |
---|
| 11 | namespace behavioural { |
---|
| 12 | namespace core { |
---|
| 13 | namespace multi_front_end { |
---|
| 14 | namespace front_end { |
---|
| 15 | namespace ifetch_unit { |
---|
| 16 | namespace 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 & 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 | |
---|
| 38 | delete in_EVENT_VAL ; |
---|
| 39 | delete out_EVENT_ADDRESS_VAL ; |
---|
| 40 | delete out_EVENT_QUEUE_VAL ; |
---|
| 41 | delete out_EVENT_ACK ; |
---|
| 42 | delete in_EVENT_ADDRESS_ACK ; |
---|
| 43 | delete in_EVENT_QUEUE_ACK ; |
---|
| 44 | } |
---|
| 45 | |
---|
| 46 | // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
| 47 | |
---|
| 48 | delete _component; |
---|
| 49 | |
---|
| 50 | log_printf(FUNC,Ifetch_unit_Glue,FUNCTION,"End"); |
---|
| 51 | }; |
---|
| 52 | |
---|
| 53 | }; // end namespace ifetch_unit_glue |
---|
| 54 | }; // end namespace ifetch_unit |
---|
| 55 | }; // end namespace front_end |
---|
| 56 | }; // end namespace multi_front_end |
---|
| 57 | }; // end namespace core |
---|
| 58 | |
---|
| 59 | }; // end namespace behavioural |
---|
| 60 | }; // end namespace morpheo |
---|