Changeset 110 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/src
- Timestamp:
- Feb 19, 2009, 5:31:47 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/src/Parameters.cpp
r109 r110 910 910 } 911 911 912 ALLOC3(_ooo_engine_translate_num_context_to_num_thread,uint32_t ,_nb_ooo_engine,_ooo_engine_nb_front_end[it1],_ooo_engine_nb_context[it1][it2]); 913 for (uint32_t i=0; i<_nb_ooo_engine; ++i) 914 for (uint32_t j=0; j<_ooo_engine_nb_front_end[i]; ++j) 915 { 916 uint32_t num_front_end = _translate_ooo_engine_num_front_end [i][j]; 917 for (uint32_t k=0; k<_ooo_engine_nb_context[i][j]; ++k) 918 { 919 uint32_t num_thread = _link_thread_with_context[num_front_end][k]; 920 921 _ooo_engine_translate_num_context_to_num_thread [i][j][k] = num_thread; 922 } 923 } 924 912 925 ALLOC2(_ooo_engine_nb_inst_execute ,uint32_t ,_nb_ooo_engine,_ooo_engine_nb_execute_loop[it1]); 913 926 … … 1146 1159 ALLOC3(_ooo_engine_size_store_queue ,uint32_t ,_nb_ooo_engine,_nb_rename_unit[it1],_ooo_engine_nb_load_store_unit[it1][it2]); 1147 1160 ALLOC3(_ooo_engine_size_load_queue ,uint32_t ,_nb_ooo_engine,_nb_rename_unit[it1],_ooo_engine_nb_load_store_unit[it1][it2]); 1161 ALLOC3(_ooo_engine_nb_inst_memory ,uint32_t ,_nb_ooo_engine,_nb_rename_unit[it1],_ooo_engine_nb_load_store_unit[it1][it2]); 1148 1162 ALLOC3(_ooo_engine_link_load_store_unit_with_context ,uint32_t ,_nb_ooo_engine,_ooo_engine_nb_front_end[it1],_ooo_engine_nb_context[it1][it2]); 1149 1163 … … 1157 1171 _ooo_engine_size_store_queue [i][j][k] = _size_store_queue[num_load_store_unit]; 1158 1172 _ooo_engine_size_load_queue [i][j][k] = _size_load_queue [num_load_store_unit]; 1173 _ooo_engine_nb_inst_memory [i][j][k] = _nb_inst_memory [num_load_store_unit]; 1159 1174 } 1160 1175 … … 1894 1909 _ooo_engine_size_store_queue [i], 1895 1910 _ooo_engine_size_load_queue [i], 1911 _ooo_engine_nb_inst_memory [i], 1896 1912 _ooo_engine_link_load_store_unit_with_context [i], 1897 _ooo_engine_implement_group [i] 1913 _ooo_engine_implement_group [i], 1914 _nb_thread , 1915 _ooo_engine_translate_num_context_to_num_thread[i] 1898 1916 ); 1899 1917
Note: See TracChangeset
for help on using the changeset viewer.