[78] | 1 | /* |
---|
| 2 | * $Id: Dependency_checking_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/Dependency_checking_unit/include/Dependency_checking_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 dependency_checking_unit { |
---|
| 18 | |
---|
| 19 | |
---|
| 20 | #undef FUNCTION |
---|
| 21 | #define FUNCTION "Dependency_checking_unit::deallocation" |
---|
| 22 | void Dependency_checking_unit::deallocation (void) |
---|
| 23 | { |
---|
| 24 | log_printf(FUNC,Dependency_checking_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_IN_VAL ; |
---|
| 32 | // delete [] out_RENAME_IN_ACK ; |
---|
| 33 | if (_param->_have_port_front_end_id) |
---|
| 34 | delete [] in_RENAME_IN_FRONT_END_ID ; |
---|
| 35 | if (_param->_have_port_context_id) |
---|
| 36 | delete [] in_RENAME_IN_CONTEXT_ID ; |
---|
| 37 | delete [] in_RENAME_IN_READ_RA ; |
---|
| 38 | delete [] in_RENAME_IN_NUM_REG_RA_LOG ; |
---|
| 39 | delete [] in_RENAME_IN_NUM_REG_RA_PHY ; |
---|
| 40 | delete [] in_RENAME_IN_READ_RB ; |
---|
| 41 | delete [] in_RENAME_IN_NUM_REG_RB_LOG ; |
---|
| 42 | delete [] in_RENAME_IN_NUM_REG_RB_PHY ; |
---|
| 43 | delete [] in_RENAME_IN_READ_RC ; |
---|
| 44 | delete [] in_RENAME_IN_NUM_REG_RC_LOG ; |
---|
| 45 | delete [] in_RENAME_IN_NUM_REG_RC_PHY ; |
---|
| 46 | delete [] in_RENAME_IN_WRITE_RD ; |
---|
| 47 | delete [] in_RENAME_IN_NUM_REG_RD_LOG ; |
---|
| 48 | delete [] in_RENAME_IN_NUM_REG_RD_PHY_OLD ; |
---|
| 49 | delete [] in_RENAME_IN_NUM_REG_RD_PHY_NEW ; |
---|
| 50 | delete [] in_RENAME_IN_WRITE_RE ; |
---|
| 51 | delete [] in_RENAME_IN_NUM_REG_RE_LOG ; |
---|
| 52 | delete [] in_RENAME_IN_NUM_REG_RE_PHY_OLD ; |
---|
| 53 | delete [] in_RENAME_IN_NUM_REG_RE_PHY_NEW ; |
---|
| 54 | |
---|
| 55 | // delete [] out_RENAME_OUT_VAL ; |
---|
| 56 | // delete [] in_RENAME_OUT_ACK ; |
---|
| 57 | if (_param->_have_port_front_end_id) |
---|
| 58 | delete [] out_RENAME_OUT_FRONT_END_ID ; |
---|
| 59 | if (_param->_have_port_context_id) |
---|
| 60 | delete [] out_RENAME_OUT_CONTEXT_ID ; |
---|
| 61 | delete [] out_RENAME_OUT_READ_RA ; |
---|
| 62 | delete [] out_RENAME_OUT_NUM_REG_RA_LOG ; |
---|
| 63 | delete [] out_RENAME_OUT_NUM_REG_RA_PHY ; |
---|
| 64 | delete [] out_RENAME_OUT_READ_RB ; |
---|
| 65 | delete [] out_RENAME_OUT_NUM_REG_RB_LOG ; |
---|
| 66 | delete [] out_RENAME_OUT_NUM_REG_RB_PHY ; |
---|
| 67 | delete [] out_RENAME_OUT_READ_RC ; |
---|
| 68 | delete [] out_RENAME_OUT_NUM_REG_RC_LOG ; |
---|
| 69 | delete [] out_RENAME_OUT_NUM_REG_RC_PHY ; |
---|
| 70 | delete [] out_RENAME_OUT_WRITE_RD ; |
---|
| 71 | delete [] out_RENAME_OUT_NUM_REG_RD_LOG ; |
---|
| 72 | delete [] out_RENAME_OUT_NUM_REG_RD_PHY_OLD; |
---|
| 73 | delete [] out_RENAME_OUT_NUM_REG_RD_PHY_NEW; |
---|
| 74 | delete [] out_RENAME_OUT_WRITE_RE ; |
---|
| 75 | delete [] out_RENAME_OUT_NUM_REG_RE_LOG ; |
---|
| 76 | delete [] out_RENAME_OUT_NUM_REG_RE_PHY_OLD; |
---|
| 77 | delete [] out_RENAME_OUT_NUM_REG_RE_PHY_NEW; |
---|
| 78 | } |
---|
| 79 | // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
| 80 | |
---|
| 81 | delete _component; |
---|
| 82 | |
---|
| 83 | log_printf(FUNC,Dependency_checking_unit,FUNCTION,"End"); |
---|
| 84 | }; |
---|
| 85 | |
---|
| 86 | }; // end namespace dependency_checking_unit |
---|
| 87 | }; // end namespace register_translation_unit |
---|
| 88 | }; // end namespace rename_unit |
---|
| 89 | }; // end namespace ooo_engine |
---|
| 90 | }; // end namespace multi_ooo_engine |
---|
| 91 | }; // end namespace core |
---|
| 92 | |
---|
| 93 | }; // end namespace behavioural |
---|
| 94 | }; // end namespace morpheo |
---|