Changeset 108 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/src/Front_end_allocation.cpp
- Timestamp:
- Feb 12, 2009, 12:55:06 PM (15 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
r105 r108 97 97 ALLOC1_SIGNAL_OUT (out_DECOD_NO_EXECUTE ,"NO_EXECUTE" ,Tcontrol_t ,1 ); 98 98 ALLOC1_SIGNAL_OUT (out_DECOD_IS_DELAY_SLOT ,"IS_DELAY_SLOT" ,Tcontrol_t ,1 ); 99 #ifdef DEBUG 100 ALLOC1_SIGNAL_OUT (out_DECOD_ADDRESS ,"ADDRESS" ,Tgeneral_data_t ,_param->_size_instruction_address ); 101 #endif 99 102 ALLOC1_SIGNAL_OUT (out_DECOD_ADDRESS_NEXT ,"ADDRESS_NEXT" ,Tgeneral_data_t ,_param->_size_instruction_address ); 100 103 ALLOC1_SIGNAL_OUT (out_DECOD_HAS_IMMEDIAT ,"HAS_IMMEDIAT" ,Tcontrol_t ,1 ); … … 175 178 ALLOC1_SIGNAL_IN ( in_NB_INST_COMMIT_ALL ,"COMMIT_ALL" ,Tcounter_t ,_param->_size_nb_inst_commit); 176 179 ALLOC1_SIGNAL_IN ( in_NB_INST_COMMIT_MEM ,"COMMIT_MEM" ,Tcounter_t ,_param->_size_nb_inst_commit); 180 ALLOC1_SIGNAL_OUT (out_NB_INST_DECOD_ALL ,"DECOD_ALL" ,Tcounter_t ,_param->_size_nb_inst_decod ); 177 181 } 178 182 … … 699 703 PORT_MAP(_component,src ,"out_DECOD_"+toString(j)+"_IS_DELAY_SLOT", 700 704 dest,"out_DECOD_"+toString(x)+"_IS_DELAY_SLOT"); 705 #ifdef DEBUG 706 PORT_MAP(_component,src ,"out_DECOD_"+toString(j)+"_ADDRESS" , 707 dest,"out_DECOD_"+toString(x)+"_ADDRESS" ); 708 #endif 701 709 PORT_MAP(_component,src ,"out_DECOD_"+toString(j)+"_ADDRESS_NEXT" , 702 710 dest,"out_DECOD_"+toString(x)+"_ADDRESS_NEXT" ); … … 809 817 uint32_t y=(_param->_translate_context_id_from_decod_unit[i])[j]; 810 818 811 dest = _name+"_ context_state";819 dest = _name+"_glue"; 812 820 #ifdef POSITION 813 821 _component->interface_map (src ,"nb_inst_"+toString(j), … … 815 823 #endif 816 824 817 COMPONENT_MAP(_component,src ,"out_NB_INST_"+toString(j)+ "_DECOD_ALL",818 dest, "in_NB_INST_"+toString(y)+"_DECOD_ ALL");825 COMPONENT_MAP(_component,src ,"out_NB_INST_"+toString(j)+ "_DECOD_ALL", 826 dest, "in_NB_INST_"+toString(y)+"_DECOD_UNIT_DECOD_ALL"); 819 827 } 820 828 … … 965 973 966 974 // ~~~~~[ Interface : "nb_inst" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 967 // in_NB_INST_DECOD_ALL - component_decod_unit968 969 975 for (uint32_t i=0; i<_param->_nb_context; ++i) 970 976 { 971 977 dest = _name; 972 978 #ifdef POSITION 973 _component->interface_map (src ,"nb_inst ",974 dest,"nb_inst ");979 _component->interface_map (src ,"nb_inst_"+toString(i), 980 dest,"nb_inst_"+toString(i)); 975 981 #endif 976 982 … … 979 985 PORT_MAP(_component,src , "in_NB_INST_"+toString(i)+"_COMMIT_MEM", 980 986 dest, "in_NB_INST_"+toString(i)+"_COMMIT_MEM"); 987 988 dest = _name+"_glue"; 989 #ifdef POSITION 990 _component->interface_map (src ,"nb_inst_"+toString(i), 991 dest,"nb_inst_"+toString(i)); 992 #endif 993 994 COMPONENT_MAP(_component,src , "in_NB_INST_"+toString(i)+ "_DECOD_ALL", 995 dest,"out_NB_INST_"+toString(i)+"_CONTEXT_STATE_DECOD_ALL"); 981 996 } 982 997 … … 1218 1233 // out_CONTEXT_DECOD_UNIT_DEPTH_VAL - component_decod_unit 1219 1234 // out_CONTEXT_DECOD_UNIT_DEPTH - component_decod_unit 1235 1236 // ~~~~~[ Interface : "nb_inst" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1237 for (uint32_t i=0; i<_param->_nb_context; ++i) 1238 { 1239 dest = _name; 1240 #ifdef POSITION 1241 _component->interface_map (src ,"nb_inst_"+toString(i), 1242 dest,"nb_inst_"+toString(i)); 1243 #endif 1244 1245 PORT_MAP(_component,src ,"out_NB_INST_"+toString(i)+"_DECOD_ALL", 1246 dest,"out_NB_INST_"+toString(i)+"_DECOD_ALL"); 1247 1248 // in_NB_INST_DECOD_UNIT_DECOD_ALL - component_decod_unit 1249 // out_NB_INST_CONTEXT_STATE_DECOD_ALL - component_context_state 1250 } 1220 1251 } 1221 1252
Note: See TracChangeset
for help on using the changeset viewer.