Changeset 112 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/src
- Timestamp:
- Mar 18, 2009, 11:36:26 PM (15 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/src/Core_allocation.cpp
r108 r112 55 55 // ~~~~~[ Interface "icache_req" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 56 { 57 ALLOC1_INTERFACE ("icache_req",WEST,OUT,_("Request to instruction cache"),_param->_nb_icache_port);57 ALLOC1_INTERFACE_BEGIN("icache_req",WEST,OUT,_("Request to instruction cache"),_param->_nb_icache_port); 58 58 59 59 ALLOC1_VALACK_OUT(out_ICACHE_REQ_VAL ,VAL); … … 63 63 ALLOC1_SIGNAL_OUT(out_ICACHE_REQ_ADDRESS ,"address" ,Ticache_address_t ,_param->_size_icache_address ); 64 64 ALLOC1_SIGNAL_OUT(out_ICACHE_REQ_TYPE ,"type" ,Ticache_type_t ,_param->_size_icache_type ); 65 66 ALLOC1_INTERFACE_END(_param->_nb_icache_port); 65 67 } 66 68 67 69 // ~~~~~[ Interface "icache_rsp" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 70 { 69 ALLOC1_INTERFACE ("icache_rsp",WEST,IN ,_("Respons from instruction cache"),_param->_nb_icache_port);71 ALLOC1_INTERFACE_BEGIN("icache_rsp",WEST,IN ,_("Respons from instruction cache"),_param->_nb_icache_port); 70 72 71 73 ALLOC1_VALACK_IN ( in_ICACHE_RSP_VAL ,VAL); … … 74 76 ALLOC1_SIGNAL_IN ( in_ICACHE_RSP_PACKET_ID ,"packet_id" ,Tpacket_t ,_param->_size_icache_packet_id); 75 77 ALLOC1_SIGNAL_IN ( in_ICACHE_RSP_ERROR ,"error" ,Ticache_error_t ,_param->_size_icache_error); 78 79 ALLOC1_INTERFACE_END(_param->_nb_icache_port); 76 80 } 77 81 { 78 ALLOC2_INTERFACE ("icache_rsp",WEST,IN ,_("Respons from instruction cache"),_param->_nb_icache_port,_param->_icache_nb_instruction[it1]);82 ALLOC2_INTERFACE_BEGIN("icache_rsp",WEST,IN ,_("Respons from instruction cache"),_param->_nb_icache_port,_param->_icache_nb_instruction[it1]); 79 83 80 84 _ALLOC2_SIGNAL_IN ( in_ICACHE_RSP_INSTRUCTION ,"instruction",Ticache_instruction_t,_param->_size_instruction,_param->_nb_icache_port,_param->_icache_nb_instruction[it1]); 85 86 ALLOC2_INTERFACE_END(_param->_nb_icache_port,_param->_icache_nb_instruction[it1]); 81 87 } 82 88 83 89 // ~~~~~[ Interface "dcache_req" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 84 90 { 85 ALLOC1_INTERFACE ("dcache_req", OUT, NORTH, _("Request to data cache"),_param->_nb_dcache_port);91 ALLOC1_INTERFACE_BEGIN("dcache_req", OUT, NORTH, _("Request to data cache"),_param->_nb_dcache_port); 86 92 87 93 ALLOC1_VALACK_OUT(out_DCACHE_REQ_VAL ,VAL); … … 92 98 ALLOC1_SIGNAL_OUT(out_DCACHE_REQ_WDATA ,"wdata" ,Tdcache_data_t ,_param->_size_dcache_data); 93 99 ALLOC1_SIGNAL_OUT(out_DCACHE_REQ_TYPE ,"type" ,Tdcache_type_t ,_param->_size_dcache_type); 100 101 ALLOC1_INTERFACE_END(_param->_nb_dcache_port); 94 102 } 95 103 96 104 // ~~~~~[ Interface "dcache_rsp" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 97 105 { 98 ALLOC1_INTERFACE ("dcache_rsp", IN , NORTH, _("Respons from data cache"),_param->_nb_dcache_port);106 ALLOC1_INTERFACE_BEGIN("dcache_rsp", IN , NORTH, _("Respons from data cache"),_param->_nb_dcache_port); 99 107 100 108 ALLOC1_VALACK_IN ( in_DCACHE_RSP_VAL ,VAL); … … 104 112 ALLOC1_SIGNAL_IN ( in_DCACHE_RSP_RDATA ,"rdata" ,Tdcache_data_t ,_param->_size_dcache_data); 105 113 ALLOC1_SIGNAL_IN ( in_DCACHE_RSP_ERROR ,"error" ,Tdcache_error_t ,_param->_size_dcache_error); 114 115 ALLOC1_INTERFACE_END(_param->_nb_dcache_port); 106 116 } 107 117 108 118 // ~~~~~[ Interface : "interrupt" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 109 119 { 110 ALLOC1_INTERFACE ("interrupt", IN , NORTH, _("Interruption line"),_param->_nb_thread);120 ALLOC1_INTERFACE_BEGIN("interrupt", IN , NORTH, _("Interruption line"),_param->_nb_thread); 111 121 112 122 ALLOC1_SIGNAL_IN ( in_INTERRUPT_ENABLE ,"enable",Tcontrol_t ,1); 123 124 ALLOC1_INTERFACE_END(_param->_nb_thread); 113 125 } 114 126 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/src/Core_deallocation.cpp
r88 r112 59 59 // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 60 60 61 DELETE0(_component_glue); 62 DELETE0(_component_dcache_access); 63 DELETE0(_component_icache_access); 64 DELETE1(_component_execute_loop, _param->_nb_execute_loop); 65 DELETE1(_component_ooo_engine , _param->_nb_ooo_engine); 66 DELETE1(_component_front_end , _param->_nb_front_end); 67 61 68 delete _component; 62 69 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/src/Parameters.cpp
r111 r112 107 107 uint32_t * nb_reg_free ,//[nb_rename_bloc] 108 108 uint32_t * nb_rename_unit_bank ,//[nb_rename_bloc] 109 uint32_t * size_read_counter ,//[nb_rename_bloc]109 // uint32_t * size_read_counter ,//[nb_rename_bloc] 110 110 111 111 // Read bloc … … 262 262 _nb_reg_free = nb_reg_free ; 263 263 _nb_rename_unit_bank = nb_rename_unit_bank ; 264 _size_read_counter = size_read_counter ;264 // _size_read_counter = size_read_counter ; 265 265 266 266 _nb_read_bloc = nb_read_bloc ; … … 974 974 ALLOC2(_ooo_engine_nb_reg_free ,uint32_t ,_nb_ooo_engine,_nb_rename_unit[it1]); 975 975 ALLOC2(_ooo_engine_nb_rename_unit_bank ,uint32_t ,_nb_ooo_engine,_nb_rename_unit[it1]); 976 ALLOC2(_ooo_engine_size_read_counter ,uint32_t ,_nb_ooo_engine,_nb_rename_unit[it1]);976 // ALLOC2(_ooo_engine_size_read_counter ,uint32_t ,_nb_ooo_engine,_nb_rename_unit[it1]); 977 977 978 978 for (uint32_t i=0; i<_nb_ooo_engine; ++i) … … 997 997 _ooo_engine_nb_reg_free [i][j] = _nb_reg_free [num_rename_bloc]; 998 998 _ooo_engine_nb_rename_unit_bank [i][j] = _nb_rename_unit_bank [num_rename_bloc]; 999 _ooo_engine_size_read_counter [i][j] = _size_read_counter [num_rename_bloc];999 // _ooo_engine_size_read_counter [i][j] = _size_read_counter [num_rename_bloc]; 1000 1000 } 1001 1001 } … … 1918 1918 _ooo_engine_nb_reg_free [i], 1919 1919 _ooo_engine_nb_rename_unit_bank [i], 1920 _ooo_engine_size_read_counter [i],1920 // _ooo_engine_size_read_counter [i], 1921 1921 _ooo_engine_nb_load_store_unit [i], 1922 1922 _ooo_engine_size_store_queue [i], … … 2134 2134 DELETE4(_ooo_engine_implement_group ,_nb_ooo_engine,_ooo_engine_nb_front_end[it1],_ooo_engine_nb_context[it1][it2],NB_GROUP); 2135 2135 DELETE3(_ooo_engine_link_load_store_unit_with_context ,_nb_ooo_engine,_ooo_engine_nb_front_end[it1],_ooo_engine_nb_context[it1][it2]); 2136 DELETE3(_ooo_engine_nb_inst_memory ,_nb_ooo_engine,_nb_rename_unit[it1],_ooo_engine_nb_load_store_unit[it1][it2]); 2136 2137 DELETE3(_ooo_engine_size_load_queue ,_nb_ooo_engine,_nb_rename_unit[it1],_ooo_engine_nb_load_store_unit[it1][it2]); 2137 2138 DELETE3(_ooo_engine_size_store_queue ,_nb_ooo_engine,_nb_rename_unit[it1],_ooo_engine_nb_load_store_unit[it1][it2]); … … 2142 2143 DELETE3(_ooo_engine_table_routing ,_nb_ooo_engine,_nb_rename_unit[it1],_nb_inst_issue[it1]); 2143 2144 DELETE4(_network_table_dispatch ,_nb_ooo_engine,_nb_inst_issue[it1],_nb_execute_loop,_nb_read_unit[it3]); 2144 DELETE2(_ooo_engine_size_read_counter ,_nb_ooo_engine,_nb_rename_unit[it1]);2145 // DELETE2(_ooo_engine_size_read_counter ,_nb_ooo_engine,_nb_rename_unit[it1]); 2145 2146 DELETE2(_ooo_engine_nb_rename_unit_bank ,_nb_ooo_engine,_nb_rename_unit[it1]); 2146 2147 DELETE2(_ooo_engine_nb_reg_free ,_nb_ooo_engine,_nb_rename_unit[it1]); … … 2151 2152 DELETE2(_ooo_engine_rename_select_priority ,_nb_ooo_engine,_nb_rename_unit[it1]); 2152 2153 DELETE2(_ooo_engine_nb_inst_retire ,_nb_ooo_engine,_nb_rename_unit[it1]); 2154 DELETE1(_ooo_engine_nb_inst_insert_rob ,_nb_ooo_engine); 2153 2155 DELETE2(_ooo_engine_nb_inst_insert ,_nb_ooo_engine,_nb_rename_unit[it1]); 2154 2156 DELETE2(_ooo_engine_link_rename_unit_with_front_end ,_nb_ooo_engine,_ooo_engine_nb_front_end[it1]); 2155 2157 DELETE3(_ooo_engine_nb_branch_speculated ,_nb_ooo_engine,_ooo_engine_nb_front_end[it1],_ooo_engine_nb_context[it1][it2]); 2156 2158 DELETE2(_ooo_engine_nb_inst_execute ,_nb_ooo_engine,_ooo_engine_nb_execute_loop[it1]); 2159 DELETE3(_ooo_engine_translate_num_context_to_num_thread ,_nb_ooo_engine,_ooo_engine_nb_front_end[it1],_ooo_engine_nb_context[it1][it2]); 2157 2160 DELETE2(_ooo_engine_nb_inst_decod ,_nb_ooo_engine,_ooo_engine_nb_front_end[it1]); 2158 2161 DELETE2(_ooo_engine_nb_context ,_nb_ooo_engine,_ooo_engine_nb_front_end[it1]); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/src/Parameters_print.cpp
r111 r112 81 81 str+= toString(MSG_INFORMATION)+" * nb_reg_free : "+toString<uint32_t >(_nb_reg_free [i])+"\n"; 82 82 str+= toString(MSG_INFORMATION)+" * nb_rename_unit_bank : "+toString<uint32_t >(_nb_rename_unit_bank [i])+"\n"; 83 str+= toString(MSG_INFORMATION)+" * size_read_counter : "+toString<uint32_t >(_size_read_counter [i])+"\n";83 // str+= toString(MSG_INFORMATION)+" * size_read_counter : "+toString<uint32_t >(_size_read_counter [i])+"\n"; 84 84 } 85 85
Note: See TracChangeset
for help on using the changeset viewer.