[78] | 1 | /* |
---|
| 2 | * $Id: Register_Address_Translation_unit_deallocation.cpp 88 2008-12-10 18:31:39Z rosiere $ |
---|
| 3 | * |
---|
| 4 | * [ Description ] |
---|
| 5 | * |
---|
| 6 | */ |
---|
| 7 | |
---|
| 8 | #include "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Register_Address_Translation_unit/include/Register_Address_Translation_unit.h" |
---|
| 9 | |
---|
| 10 | namespace morpheo { |
---|
| 11 | namespace behavioural { |
---|
| 12 | namespace core { |
---|
| 13 | namespace multi_ooo_engine { |
---|
| 14 | namespace ooo_engine { |
---|
| 15 | namespace rename_unit { |
---|
| 16 | namespace register_translation_unit { |
---|
| 17 | namespace register_address_translation_unit { |
---|
| 18 | |
---|
| 19 | |
---|
| 20 | #undef FUNCTION |
---|
| 21 | #define FUNCTION "Register_Address_Translation_unit::deallocation" |
---|
| 22 | void Register_Address_Translation_unit::deallocation (void) |
---|
| 23 | { |
---|
| 24 | log_printf(FUNC,Register_Address_Translation_unit,FUNCTION,"Begin"); |
---|
| 25 | |
---|
[88] | 26 | if (usage_is_set(_usage,USE_SYSTEMC)) |
---|
[78] | 27 | { |
---|
| 28 | delete in_CLOCK ; |
---|
| 29 | delete in_NRESET; |
---|
| 30 | |
---|
| 31 | delete [] in_RENAME_VAL ; |
---|
| 32 | delete [] out_RENAME_ACK ; |
---|
| 33 | if (_param->_have_port_front_end_id) |
---|
| 34 | delete [] in_RENAME_FRONT_END_ID ; |
---|
| 35 | if (_param->_have_port_context_id) |
---|
| 36 | delete [] in_RENAME_CONTEXT_ID ; |
---|
| 37 | delete [] in_RENAME_NUM_REG_RA_LOG ; |
---|
| 38 | delete [] in_RENAME_NUM_REG_RB_LOG ; |
---|
| 39 | delete [] in_RENAME_NUM_REG_RC_LOG ; |
---|
| 40 | delete [] in_RENAME_NUM_REG_RD_LOG ; |
---|
| 41 | delete [] in_RENAME_NUM_REG_RE_LOG ; |
---|
| 42 | delete [] out_RENAME_NUM_REG_RA_PHY ; |
---|
| 43 | delete [] out_RENAME_NUM_REG_RB_PHY ; |
---|
| 44 | delete [] out_RENAME_NUM_REG_RC_PHY ; |
---|
| 45 | delete [] out_RENAME_NUM_REG_RD_PHY_OLD; |
---|
| 46 | delete [] out_RENAME_NUM_REG_RE_PHY_OLD; |
---|
| 47 | |
---|
| 48 | delete [] in_INSERT_VAL ; |
---|
| 49 | delete [] out_INSERT_ACK ; |
---|
| 50 | // if (_param->_have_port_front_end_id) |
---|
| 51 | // delete [] in_INSERT_FRONT_END_ID ; |
---|
| 52 | // if (_param->_have_port_context_id) |
---|
| 53 | // delete [] in_INSERT_CONTEXT_ID ; |
---|
| 54 | delete [] in_INSERT_WRITE_RD ; |
---|
| 55 | delete [] in_INSERT_WRITE_RE ; |
---|
| 56 | delete [] in_INSERT_NUM_REG_RD_LOG ; |
---|
| 57 | delete [] in_INSERT_NUM_REG_RE_LOG ; |
---|
| 58 | delete [] in_INSERT_NUM_REG_RD_PHY ; |
---|
| 59 | delete [] in_INSERT_NUM_REG_RE_PHY ; |
---|
| 60 | |
---|
| 61 | delete [] in_RETIRE_VAL ; |
---|
| 62 | delete [] out_RETIRE_ACK ; |
---|
| 63 | if (_param->_have_port_front_end_id) |
---|
| 64 | delete [] in_RETIRE_FRONT_END_ID ; |
---|
| 65 | if (_param->_have_port_context_id) |
---|
| 66 | delete [] in_RETIRE_CONTEXT_ID ; |
---|
| 67 | delete [] in_RETIRE_EVENT_STATE ; |
---|
| 68 | delete [] in_RETIRE_WRITE_RD ; |
---|
| 69 | delete [] in_RETIRE_WRITE_RE ; |
---|
| 70 | delete [] in_RETIRE_NUM_REG_RD_LOG ; |
---|
| 71 | delete [] in_RETIRE_NUM_REG_RE_LOG ; |
---|
| 72 | delete [] in_RETIRE_NUM_REG_RD_PHY_OLD; |
---|
| 73 | delete [] in_RETIRE_NUM_REG_RE_PHY_OLD; |
---|
[88] | 74 | delete [] out_RETIRE_RESTORE_RD_PHY_OLD; |
---|
| 75 | delete [] out_RETIRE_RESTORE_RE_PHY_OLD; |
---|
| 76 | |
---|
| 77 | delete [] internal_RENAME_ACK; |
---|
| 78 | delete [] internal_INSERT_ACK; |
---|
| 79 | delete [] internal_RETIRE_ACK; |
---|
| 80 | |
---|
| 81 | delete [] rat_gpr ; |
---|
| 82 | delete [] rat_spr ; |
---|
| 83 | delete [] rat_gpr_update_table; |
---|
| 84 | delete [] rat_spr_update_table; |
---|
| 85 | delete [] internal_rat_gpr_update_table; |
---|
| 86 | delete [] internal_rat_spr_update_table; |
---|
[78] | 87 | } |
---|
[88] | 88 | |
---|
[78] | 89 | // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
| 90 | delete _component; |
---|
| 91 | |
---|
| 92 | log_printf(FUNC,Register_Address_Translation_unit,FUNCTION,"End"); |
---|
| 93 | }; |
---|
| 94 | |
---|
| 95 | }; // end namespace register_address_translation_unit |
---|
| 96 | }; // end namespace register_translation_unit |
---|
| 97 | }; // end namespace rename_unit |
---|
| 98 | }; // end namespace ooo_engine |
---|
| 99 | }; // end namespace multi_ooo_engine |
---|
| 100 | }; // end namespace core |
---|
| 101 | |
---|
| 102 | }; // end namespace behavioural |
---|
| 103 | }; // end namespace morpheo |
---|