- Timestamp:
- Oct 20, 2009, 8:52:15 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/src/Core_allocation.cpp
r123 r136 730 730 COMPONENT_MAP(_component,src ,"out_ISSUE_" +toString(j)+"_OPERATION" , 731 731 dest, "in_ISSUE_OOO_ENGINE_"+toString(i)+"_"+toString(j)+"_OPERATION" ); 732 COMPONENT_MAP(_component,src ,"out_ISSUE_" +toString(j)+"_CANCEL" , 733 dest, "in_ISSUE_OOO_ENGINE_"+toString(i)+"_"+toString(j)+"_CANCEL" ); 732 734 COMPONENT_MAP(_component,src ,"out_ISSUE_" +toString(j)+"_STORE_QUEUE_PTR_WRITE", 733 735 dest, "in_ISSUE_OOO_ENGINE_"+toString(i)+"_"+toString(j)+"_STORE_QUEUE_PTR_WRITE"); … … 793 795 // COMPONENT_MAP(_component,src , "in_EXECUTE_LOOP_" +toString(j)+"_"+toString(k)+"_OPERATION" , 794 796 // dest,"out_EXECUTE_OOO_ENGINE_"+toString(i)+"_"+toString(j)+"_"+toString(k)+"_OPERATION" ); 797 COMPONENT_MAP(_component,src , "in_EXECUTE_LOOP_" +toString(j)+"_"+toString(k)+"_CANCEL" , 798 dest,"out_EXECUTE_OOO_ENGINE_"+toString(i)+"_"+toString(j)+"_"+toString(k)+"_CANCEL" ); 795 799 COMPONENT_MAP(_component,src , "in_EXECUTE_LOOP_" +toString(j)+"_"+toString(k)+"_FLAGS" , 796 800 dest,"out_EXECUTE_OOO_ENGINE_"+toString(i)+"_"+toString(j)+"_"+toString(k)+"_FLAGS" ); … … 806 810 } 807 811 808 // ~~~~~[ Interface "insert" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~809 for (uint32_t j=0; j<_param->_ooo_engine_nb_inst_insert_rob [i]; ++j)810 {811 dest = _name+"_glue";812 #ifdef POSITION813 _component->interface_map (src ,"insert_" +toString(j),814 dest,"insert_ooo_engine_"+toString(i)+"_"+toString(j));815 #endif812 // // ~~~~~[ Interface "insert" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 813 // for (uint32_t j=0; j<_param->_ooo_engine_nb_inst_insert_rob [i]; ++j) 814 // { 815 // dest = _name+"_glue"; 816 // #ifdef POSITION 817 // _component->interface_map (src ,"insert_" +toString(j), 818 // dest,"insert_ooo_engine_"+toString(i)+"_"+toString(j)); 819 // #endif 816 820 817 COMPONENT_MAP(_component,src ,"out_INSERT_" +toString(j)+"_VAL" ,818 dest, "in_INSERT_OOO_ENGINE_"+toString(i)+"_"+toString(j)+"_VAL" );819 COMPONENT_MAP(_component,src , "in_INSERT_" +toString(j)+"_ACK" ,820 dest,"out_INSERT_OOO_ENGINE_"+toString(i)+"_"+toString(j)+"_ACK" );821 COMPONENT_MAP(_component,src ,"out_INSERT_" +toString(j)+"_RD_USE" ,822 dest, "in_INSERT_OOO_ENGINE_"+toString(i)+"_"+toString(j)+"_RD_USE" );823 COMPONENT_MAP(_component,src ,"out_INSERT_" +toString(j)+"_RD_NUM_REG",824 dest, "in_INSERT_OOO_ENGINE_"+toString(i)+"_"+toString(j)+"_RD_NUM_REG");825 COMPONENT_MAP(_component,src ,"out_INSERT_" +toString(j)+"_RE_USE" ,826 dest, "in_INSERT_OOO_ENGINE_"+toString(i)+"_"+toString(j)+"_RE_USE" );827 COMPONENT_MAP(_component,src ,"out_INSERT_" +toString(j)+"_RE_NUM_REG",828 dest, "in_INSERT_OOO_ENGINE_"+toString(i)+"_"+toString(j)+"_RE_NUM_REG");829 }821 // COMPONENT_MAP(_component,src ,"out_INSERT_" +toString(j)+"_VAL" , 822 // dest, "in_INSERT_OOO_ENGINE_"+toString(i)+"_"+toString(j)+"_VAL" ); 823 // COMPONENT_MAP(_component,src , "in_INSERT_" +toString(j)+"_ACK" , 824 // dest,"out_INSERT_OOO_ENGINE_"+toString(i)+"_"+toString(j)+"_ACK" ); 825 // COMPONENT_MAP(_component,src ,"out_INSERT_" +toString(j)+"_RD_USE" , 826 // dest, "in_INSERT_OOO_ENGINE_"+toString(i)+"_"+toString(j)+"_RD_USE" ); 827 // COMPONENT_MAP(_component,src ,"out_INSERT_" +toString(j)+"_RD_NUM_REG", 828 // dest, "in_INSERT_OOO_ENGINE_"+toString(i)+"_"+toString(j)+"_RD_NUM_REG"); 829 // COMPONENT_MAP(_component,src ,"out_INSERT_" +toString(j)+"_RE_USE" , 830 // dest, "in_INSERT_OOO_ENGINE_"+toString(i)+"_"+toString(j)+"_RE_USE" ); 831 // COMPONENT_MAP(_component,src ,"out_INSERT_" +toString(j)+"_RE_NUM_REG", 832 // dest, "in_INSERT_OOO_ENGINE_"+toString(i)+"_"+toString(j)+"_RE_NUM_REG"); 833 // } 830 834 } 831 835 … … 878 882 COMPONENT_MAP(_component,src , "in_EXECUTE_LOOP_IN_" +toString(j)+"_TYPE" , 879 883 dest,"out_ISSUE_EXECUTE_LOOP_"+toString(i)+"_"+toString(j)+"_TYPE" ); 884 COMPONENT_MAP(_component,src , "in_EXECUTE_LOOP_IN_" +toString(j)+"_CANCEL" , 885 dest,"out_ISSUE_EXECUTE_LOOP_"+toString(i)+"_"+toString(j)+"_CANCEL" ); 880 886 COMPONENT_MAP(_component,src , "in_EXECUTE_LOOP_IN_" +toString(j)+"_STORE_QUEUE_PTR_WRITE", 881 887 dest,"out_ISSUE_EXECUTE_LOOP_"+toString(i)+"_"+toString(j)+"_STORE_QUEUE_PTR_WRITE"); … … 942 948 // COMPONENT_MAP(_component,src ,"out_EXECUTE_LOOP_OUT_" +toString(j)+"_TYPE" , 943 949 // dest, "in_EXECUTE_EXECUTE_LOOP_"+toString(i)+"_"+toString(j)+"_TYPE" ); 950 COMPONENT_MAP(_component,src ,"out_EXECUTE_LOOP_OUT_" +toString(j)+"_CANCEL" , 951 dest, "in_EXECUTE_EXECUTE_LOOP_"+toString(i)+"_"+toString(j)+"_CANCEL" ); 944 952 COMPONENT_MAP(_component,src ,"out_EXECUTE_LOOP_OUT_" +toString(j)+"_FLAGS" , 945 953 dest, "in_EXECUTE_EXECUTE_LOOP_"+toString(i)+"_"+toString(j)+"_FLAGS" ); … … 954 962 } 955 963 956 // ~~~~~[ Interface "insert_rob" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~957 for (uint32_t j=0; j<_param->_execute_loop_nb_ooo_engine[i]; ++j)958 for (uint32_t k=0; k<_param->_execute_loop_nb_inst_insert_rob[i][j]; ++k)959 {960 dest = _name+"_glue";961 #ifdef POSITION962 _component->interface_map (src ,"insert_rob_" +toString(j)+"_"+toString(k),963 dest,"insert_execute_loop_"+toString(i)+"_"+toString(j)+"_"+toString(k));964 #endif965 966 COMPONENT_MAP(_component,src , "in_INSERT_ROB_" +toString(j)+"_"+toString(k)+"_VAL" ,967 dest,"out_INSERT_EXECUTE_LOOP_"+toString(i)+"_"+toString(j)+"_"+toString(k)+"_VAL" );968 COMPONENT_MAP(_component,src ,"out_INSERT_ROB_" +toString(j)+"_"+toString(k)+"_ACK" ,969 dest, "in_INSERT_EXECUTE_LOOP_"+toString(i)+"_"+toString(j)+"_"+toString(k)+"_ACK" );970 COMPONENT_MAP(_component,src , "in_INSERT_ROB_" +toString(j)+"_"+toString(k)+"_RD_USE" ,971 dest,"out_INSERT_EXECUTE_LOOP_"+toString(i)+"_"+toString(j)+"_"+toString(k)+"_RD_USE" );972 COMPONENT_MAP(_component,src , "in_INSERT_ROB_" +toString(j)+"_"+toString(k)+"_RD_NUM_REG",973 dest,"out_INSERT_EXECUTE_LOOP_"+toString(i)+"_"+toString(j)+"_"+toString(k)+"_RD_NUM_REG");974 COMPONENT_MAP(_component,src , "in_INSERT_ROB_" +toString(j)+"_"+toString(k)+"_RE_USE" ,975 dest,"out_INSERT_EXECUTE_LOOP_"+toString(i)+"_"+toString(j)+"_"+toString(k)+"_RE_USE" );976 COMPONENT_MAP(_component,src , "in_INSERT_ROB_" +toString(j)+"_"+toString(k)+"_RE_NUM_REG",977 dest,"out_INSERT_EXECUTE_LOOP_"+toString(i)+"_"+toString(j)+"_"+toString(k)+"_RE_NUM_REG");978 }964 // // ~~~~~[ Interface "insert_rob" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 965 // for (uint32_t j=0; j<_param->_execute_loop_nb_ooo_engine[i]; ++j) 966 // for (uint32_t k=0; k<_param->_execute_loop_nb_inst_insert_rob[i][j]; ++k) 967 // { 968 // dest = _name+"_glue"; 969 // #ifdef POSITION 970 // _component->interface_map (src ,"insert_rob_" +toString(j)+"_"+toString(k), 971 // dest,"insert_execute_loop_"+toString(i)+"_"+toString(j)+"_"+toString(k)); 972 // #endif 973 974 // COMPONENT_MAP(_component,src , "in_INSERT_ROB_" +toString(j)+"_"+toString(k)+"_VAL" , 975 // dest,"out_INSERT_EXECUTE_LOOP_"+toString(i)+"_"+toString(j)+"_"+toString(k)+"_VAL" ); 976 // COMPONENT_MAP(_component,src ,"out_INSERT_ROB_" +toString(j)+"_"+toString(k)+"_ACK" , 977 // dest, "in_INSERT_EXECUTE_LOOP_"+toString(i)+"_"+toString(j)+"_"+toString(k)+"_ACK" ); 978 // COMPONENT_MAP(_component,src , "in_INSERT_ROB_" +toString(j)+"_"+toString(k)+"_RD_USE" , 979 // dest,"out_INSERT_EXECUTE_LOOP_"+toString(i)+"_"+toString(j)+"_"+toString(k)+"_RD_USE" ); 980 // COMPONENT_MAP(_component,src , "in_INSERT_ROB_" +toString(j)+"_"+toString(k)+"_RD_NUM_REG", 981 // dest,"out_INSERT_EXECUTE_LOOP_"+toString(i)+"_"+toString(j)+"_"+toString(k)+"_RD_NUM_REG"); 982 // COMPONENT_MAP(_component,src , "in_INSERT_ROB_" +toString(j)+"_"+toString(k)+"_RE_USE" , 983 // dest,"out_INSERT_EXECUTE_LOOP_"+toString(i)+"_"+toString(j)+"_"+toString(k)+"_RE_USE" ); 984 // COMPONENT_MAP(_component,src , "in_INSERT_ROB_" +toString(j)+"_"+toString(k)+"_RE_NUM_REG", 985 // dest,"out_INSERT_EXECUTE_LOOP_"+toString(i)+"_"+toString(j)+"_"+toString(k)+"_RE_NUM_REG"); 986 // } 979 987 980 988 // ~~~~~[ Interface "dcache_req" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Note: See TracChangeset
for help on using the changeset viewer.