Changeset 112 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Issue_queue/src
- Timestamp:
- Mar 18, 2009, 11:36:26 PM (15 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Issue_queue/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Issue_queue/src/Issue_queue_allocation.cpp
r111 r112 59 59 // ~~~~~[ Interface : "issue_in" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 60 60 { 61 ALLOC2_INTERFACE ("issue_in", IN, WEST, _("Rename_out / Insert Rob interface"),_param->_nb_rename_unit, _param->_nb_inst_rename[it1]);61 ALLOC2_INTERFACE_BEGIN("issue_in", IN, WEST, _("Rename_out / Insert Rob interface"),_param->_nb_rename_unit, _param->_nb_inst_rename[it1]); 62 62 63 63 _ALLOC2_VALACK_IN ( in_ISSUE_IN_VAL ,VAL,_param->_nb_rename_unit, _param->_nb_inst_rename[it1]); … … 82 82 _ALLOC2_SIGNAL_IN ( in_ISSUE_IN_WRITE_RE ,"write_re" ,Tcontrol_t ,1 ,_param->_nb_rename_unit, _param->_nb_inst_rename[it1]); 83 83 _ALLOC2_SIGNAL_IN ( in_ISSUE_IN_NUM_REG_RE ,"num_reg_re" ,Tspecial_address_t,_param->_size_special_register,_param->_nb_rename_unit, _param->_nb_inst_rename[it1]); 84 85 ALLOC2_INTERFACE_END(_param->_nb_rename_unit, _param->_nb_inst_rename[it1]); 84 86 } 85 87 86 88 // ~~~~~[ Interface : "reexecute" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 87 89 { 88 ALLOC1_INTERFACE ("reexecute", IN, NORTH, _("Instruction reexecute (store head/ spr access)"),_param->_nb_inst_reexecute);90 ALLOC1_INTERFACE_BEGIN("reexecute", IN, NORTH, _("Instruction reexecute (store head/ spr access)"),_param->_nb_inst_reexecute); 89 91 90 92 ALLOC1_VALACK_IN ( in_REEXECUTE_VAL ,VAL); … … 109 111 ALLOC1_SIGNAL_IN ( in_REEXECUTE_WRITE_RE ,"write_re" ,Tcontrol_t ,1 ); 110 112 ALLOC1_SIGNAL_IN ( in_REEXECUTE_NUM_REG_RE ,"num_reg_re" ,Tspecial_address_t,_param->_size_special_register); 113 114 ALLOC1_INTERFACE_END(_param->_nb_inst_reexecute); 111 115 } 112 116 113 117 // ~~~~~[ Interface : "issue_out" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 114 118 { 115 ALLOC1_INTERFACE ("issue_out",OUT, EAST, _("Go to issue network"),_param->_nb_inst_issue);119 ALLOC1_INTERFACE_BEGIN("issue_out",OUT, EAST, _("Go to issue network"),_param->_nb_inst_issue); 116 120 117 121 ALLOC1_VALACK_OUT(out_ISSUE_OUT_VAL ,VAL); … … 136 140 ALLOC1_SIGNAL_OUT(out_ISSUE_OUT_WRITE_RE ,"write_re" ,Tcontrol_t ,1 ); 137 141 ALLOC1_SIGNAL_OUT(out_ISSUE_OUT_NUM_REG_RE ,"num_reg_re" ,Tspecial_address_t,_param->_size_special_register); 142 143 ALLOC1_INTERFACE_END(_param->_nb_inst_issue); 138 144 } 139 145 … … 141 147 { 142 148 // ~~~~~[ Registers ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 143 _issue_queue = new std::list<entry_t*> [_param->_nb_bank];149 ALLOC1(_issue_queue ,std::list<entry_t*>,_param->_nb_bank); 144 150 145 151 // ~~~~~[ Internal ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Issue_queue/src/Issue_queue_deallocation.cpp
r111 r112 95 95 96 96 // ~~~~~[ Registers ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 97 delete [] _issue_queue;97 DELETE1(_issue_queue ,_param->_nb_bank); 98 98 99 99 // ~~~~~[ Internal ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Note: See TracChangeset
for help on using the changeset viewer.