[78] | 1 | /* |
---|
| 2 | * $Id: Stat_List_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/Stat_List_unit/include/Stat_List_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 stat_list_unit { |
---|
| 18 | |
---|
| 19 | |
---|
| 20 | #undef FUNCTION |
---|
| 21 | #define FUNCTION "Stat_List_unit::deallocation" |
---|
| 22 | void Stat_List_unit::deallocation (void) |
---|
| 23 | { |
---|
| 24 | log_printf(FUNC,Stat_List_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_INSERT_VAL ; |
---|
| 32 | delete [] out_INSERT_ACK ; |
---|
| 33 | delete [] in_INSERT_READ_RA ; |
---|
| 34 | delete [] in_INSERT_NUM_REG_RA_PHY ; |
---|
| 35 | delete [] in_INSERT_READ_RB ; |
---|
| 36 | delete [] in_INSERT_NUM_REG_RB_PHY ; |
---|
| 37 | delete [] in_INSERT_READ_RC ; |
---|
| 38 | delete [] in_INSERT_NUM_REG_RC_PHY ; |
---|
| 39 | delete [] in_INSERT_WRITE_RD ; |
---|
| 40 | delete [] in_INSERT_NUM_REG_RD_PHY_NEW; |
---|
| 41 | delete [] in_INSERT_WRITE_RE ; |
---|
| 42 | delete [] in_INSERT_NUM_REG_RE_PHY_NEW; |
---|
| 43 | |
---|
| 44 | delete [] in_RETIRE_VAL ; |
---|
| 45 | delete [] out_RETIRE_ACK ; |
---|
| 46 | delete [] in_RETIRE_READ_RA ; |
---|
| 47 | delete [] in_RETIRE_NUM_REG_RA_PHY ; |
---|
| 48 | delete [] in_RETIRE_READ_RB ; |
---|
| 49 | delete [] in_RETIRE_NUM_REG_RB_PHY ; |
---|
| 50 | delete [] in_RETIRE_READ_RC ; |
---|
| 51 | delete [] in_RETIRE_NUM_REG_RC_PHY ; |
---|
| 52 | delete [] in_RETIRE_WRITE_RD ; |
---|
[88] | 53 | delete [] in_RETIRE_RESTORE_RD_PHY_OLD; |
---|
[78] | 54 | delete [] in_RETIRE_NUM_REG_RD_PHY_OLD; |
---|
| 55 | delete [] in_RETIRE_NUM_REG_RD_PHY_NEW; |
---|
| 56 | delete [] in_RETIRE_WRITE_RE ; |
---|
[88] | 57 | delete [] in_RETIRE_RESTORE_RE_PHY_OLD; |
---|
[78] | 58 | delete [] in_RETIRE_NUM_REG_RE_PHY_OLD; |
---|
| 59 | delete [] in_RETIRE_NUM_REG_RE_PHY_NEW; |
---|
| 60 | |
---|
| 61 | delete [] out_PUSH_GPR_VAL ; |
---|
| 62 | delete [] in_PUSH_GPR_ACK ; |
---|
| 63 | |
---|
| 64 | delete [] out_PUSH_GPR_NUM_REG ; |
---|
| 65 | delete [] out_PUSH_SPR_VAL ; |
---|
| 66 | delete [] in_PUSH_SPR_ACK ; |
---|
| 67 | delete [] out_PUSH_SPR_NUM_REG ; |
---|
[88] | 68 | |
---|
| 69 | // ~~~~~[ Internal ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
| 70 | |
---|
| 71 | delete [] gpr_stat_list; |
---|
| 72 | delete [] spr_stat_list; |
---|
| 73 | |
---|
| 74 | delete [] internal_INSERT_ACK ; |
---|
| 75 | delete [] internal_RETIRE_ACK ; |
---|
| 76 | delete [] internal_PUSH_GPR_VAL ; |
---|
| 77 | delete [] internal_PUSH_GPR_NUM_BANK; |
---|
| 78 | delete [] internal_PUSH_SPR_VAL ; |
---|
| 79 | delete [] internal_PUSH_SPR_NUM_BANK; |
---|
[78] | 80 | } |
---|
[88] | 81 | |
---|
| 82 | |
---|
[78] | 83 | // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
| 84 | |
---|
| 85 | delete _component; |
---|
| 86 | |
---|
| 87 | log_printf(FUNC,Stat_List_unit,FUNCTION,"End"); |
---|
| 88 | }; |
---|
| 89 | |
---|
| 90 | }; // end namespace stat_list_unit |
---|
| 91 | }; // end namespace register_translation_unit |
---|
| 92 | }; // end namespace rename_unit |
---|
| 93 | }; // end namespace ooo_engine |
---|
| 94 | }; // end namespace multi_ooo_engine |
---|
| 95 | }; // end namespace core |
---|
| 96 | |
---|
| 97 | }; // end namespace behavioural |
---|
| 98 | }; // end namespace morpheo |
---|