Changeset 97 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/src/Front_end_allocation.cpp
- Timestamp:
- Dec 19, 2008, 4:34:00 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/src/Front_end_allocation.cpp
r95 r97 140 140 ALLOC_SIGNAL_IN ( in_COMMIT_EVENT_ADDRESS_EPCR ,"ADDRESS_EPCR" ,Taddress_t ,_param->_size_instruction_address ); 141 141 ALLOC_SIGNAL_IN ( in_COMMIT_EVENT_ADDRESS_EEAR_VAL ,"ADDRESS_EEAR_VAL" ,Tcontrol_t ,1 ); 142 ALLOC_SIGNAL_IN ( in_COMMIT_EVENT_ADDRESS_EEAR ,"ADDRESS_EEAR" ,T address_t ,_param->_size_instruction_address);142 ALLOC_SIGNAL_IN ( in_COMMIT_EVENT_ADDRESS_EEAR ,"ADDRESS_EEAR" ,Tgeneral_data_t ,_param->_size_general_data ); 143 143 } 144 144 … … 580 580 COMPONENT_MAP(_component,src ,"out_BRANCH_EVENT_"+toString(i)+"_ADDRESS_DEST" , 581 581 dest, "in_BRANCH_EVENT_"+toString(i)+"_ADDRESS_DEST" ); 582 } 583 584 // ~~~~~[ Interface : "event" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 585 for (uint32_t i=0; i<_param->_nb_context; ++i) 586 { 587 dest = _name+"_glue"; 588 #ifdef POSITION 589 _component->interface_map (src ,"event_"+toString(i), 590 dest,"event_"+toString(i)); 591 #endif 592 COMPONENT_MAP(_component,src , "in_EVENT_"+toString(i)+ "_VAL" , 593 dest,"out_EVENT_"+toString(i)+"_PREDICTION_UNIT_VAL" ); 594 COMPONENT_MAP(_component,src ,"out_EVENT_"+toString(i)+ "_ACK" , 595 dest, "in_EVENT_"+toString(i)+"_PREDICTION_UNIT_ACK" ); 596 COMPONENT_MAP(_component,src , "in_EVENT_"+toString(i)+ "_TYPE" , 597 dest,"out_EVENT_"+toString(i)+"_PREDICTION_UNIT_TYPE" ); 598 if (_param->_have_port_depth) 599 COMPONENT_MAP(_component,src , "in_EVENT_"+toString(i)+ "_DEPTH", 600 dest,"out_EVENT_"+toString(i)+"_PREDICTION_UNIT_DEPTH"); 582 601 } 583 602 … … 967 986 COMPONENT_MAP(_component,src ,"out_EVENT_"+toString(i)+ "_IS_DS_TAKE" , 968 987 dest, "in_EVENT_"+toString(i)+"_CONTEXT_STATE_IS_DS_TAKE" ); 988 COMPONENT_MAP(_component,src ,"out_EVENT_"+toString(i)+ "_TYPE" , 989 dest, "in_EVENT_"+toString(i)+"_CONTEXT_STATE_TYPE" ); 990 if (_param->_have_port_depth) 991 COMPONENT_MAP(_component,src ,"out_EVENT_"+toString(i)+ "_DEPTH" , 992 dest, "in_EVENT_"+toString(i)+"_CONTEXT_STATE_DEPTH" ); 969 993 } 970 994 … … 1129 1153 // in_EVENT_IFETCH_UNIT_ACK - component_ifetch_unit 1130 1154 // out_EVENT_IFETCH_UNIT_ADDRESS - component_ifetch_unit 1131 // in_EVENT_IFETCH_UNIT_ADDRESS_NEXT - component_ifetch_unit1155 // out_EVENT_IFETCH_UNIT_ADDRESS_NEXT - component_ifetch_unit 1132 1156 // out_EVENT_IFETCH_UNIT_ADDRESS_NEXT_VAL - component_ifetch_unit 1133 1157 // in_EVENT_IFETCH_UNIT_IS_DS_TAKE - component_ifetch_unit 1158 // out_EVENT_PREDICTION_UNIT_VAL - component_prediction_unit 1159 // in_EVENT_PREDICTION_UNIT_ACK - component_prediction_unit 1160 // out_EVENT_PREDICTION_UNIT_TYPE - component_prediction_unit 1161 // out_EVENT_PREDICTION_UNIT_DEPTH - component_prediction_unit 1134 1162 // in_EVENT_CONTEXT_STATE_VAL - component_context_state 1135 1163 // out_EVENT_CONTEXT_STATE_ACK - component_context_state 1136 1164 // in_EVENT_CONTEXT_STATE_ADDRESS - component_context_state 1137 1165 // in_EVENT_CONTEXT_STATE_ADDRESS_NEXT - component_context_state 1138 // out_EVENT_CONTEXT_STATE_ADDRESS_NEXT_VAL - component_context_state1166 // in_EVENT_CONTEXT_STATE_ADDRESS_NEXT_VAL - component_context_state 1139 1167 // in_EVENT_CONTEXT_STATE_IS_DS_TAKE - component_context_state 1168 // in_EVENT_CONTEXT_STATE_TYPE - component_context_state 1169 // in_EVENT_CONTEXT_STATE_DEPTH - component_context_state 1140 1170 1141 1171 // ~~~~~[ Interface : "depth" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Note: See TracChangeset
for help on using the changeset viewer.