- Timestamp:
- Mar 18, 2009, 11:36:26 PM (15 years ago)
- File:
-
- 1 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
Note: See TracChangeset
for help on using the changeset viewer.