Changeset 112 for trunk/IPs/systemC/processor/Morpheo/TopLevel
- Timestamp:
- Mar 18, 2009, 11:36:26 PM (16 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/TopLevel/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/TopLevel/src/Morpheo_allocation.cpp
r88 r112 52 52 // ~~~~~[ Interface "icache_req" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 53 53 { 54 ALLOC1_INTERFACE ("icache_req",WEST,OUT,_("Request to instruction cache"),_nb_icache_port);54 ALLOC1_INTERFACE_BEGIN("icache_req",WEST,OUT,_("Request to instruction cache"),_nb_icache_port); 55 55 56 56 ALLOC1_VALACK_OUT(out_ICACHE_REQ_VAL ,behavioural::VAL); … … 60 60 ALLOC1_SIGNAL_OUT(out_ICACHE_REQ_ADDRESS ,"address" ,Ticache_address_t ,_size_icache_address ); 61 61 ALLOC1_SIGNAL_OUT(out_ICACHE_REQ_TYPE ,"type" ,Ticache_type_t ,_size_icache_type ); 62 63 ALLOC1_INTERFACE_END(_nb_icache_port); 62 64 } 63 65 64 66 // ~~~~~[ Interface "icache_rsp" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 65 67 { 66 ALLOC1_INTERFACE ("icache_rsp",WEST,IN ,_("Respons from instruction cache"),_nb_icache_port);68 ALLOC1_INTERFACE_BEGIN("icache_rsp",WEST,IN ,_("Respons from instruction cache"),_nb_icache_port); 67 69 68 70 ALLOC1_VALACK_IN ( in_ICACHE_RSP_VAL ,behavioural::VAL); … … 71 73 ALLOC1_SIGNAL_IN ( in_ICACHE_RSP_PACKET_ID ,"packet_id" ,Ticache_packet_t ,_size_icache_packet_id); 72 74 ALLOC1_SIGNAL_IN ( in_ICACHE_RSP_ERROR ,"error" ,Ticache_error_t ,_size_icache_error); 73 } 74 { 75 ALLOC2_INTERFACE("icache_rsp",WEST,IN ,_("Respons from instruction cache"),_nb_icache_port,_icache_nb_instruction[it1]); 75 76 ALLOC1_INTERFACE_END(_nb_icache_port); 77 } 78 { 79 ALLOC2_INTERFACE_BEGIN("icache_rsp",WEST,IN ,_("Respons from instruction cache"),_nb_icache_port,_icache_nb_instruction[it1]); 76 80 77 81 _ALLOC2_SIGNAL_IN ( in_ICACHE_RSP_INSTRUCTION ,"instruction",Ticache_instruction_t,_size_icache_instruction,_nb_icache_port,_icache_nb_instruction[it1]); 82 83 ALLOC2_INTERFACE_END(_nb_icache_port,_icache_nb_instruction[it1]); 78 84 } 79 85 80 86 // ~~~~~[ Interface "dcache_req" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 81 87 { 82 ALLOC1_INTERFACE ("dcache_req", OUT, NORTH, _("Request to data cache"),_nb_dcache_port);88 ALLOC1_INTERFACE_BEGIN("dcache_req", OUT, NORTH, _("Request to data cache"),_nb_dcache_port); 83 89 84 90 ALLOC1_VALACK_OUT(out_DCACHE_REQ_VAL ,behavioural::VAL); … … 89 95 ALLOC1_SIGNAL_OUT(out_DCACHE_REQ_WDATA ,"wdata" ,Tdcache_data_t ,_size_dcache_data); 90 96 ALLOC1_SIGNAL_OUT(out_DCACHE_REQ_TYPE ,"type" ,Tdcache_type_t ,_size_dcache_type); 97 98 ALLOC1_INTERFACE_END(_nb_dcache_port); 91 99 } 92 100 93 101 // ~~~~~[ Interface "dcache_rsp" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 94 102 { 95 ALLOC1_INTERFACE ("dcache_rsp", IN , NORTH, _("Respons from data cache"),_nb_dcache_port);103 ALLOC1_INTERFACE_BEGIN("dcache_rsp", IN , NORTH, _("Respons from data cache"),_nb_dcache_port); 96 104 97 105 ALLOC1_VALACK_IN ( in_DCACHE_RSP_VAL ,behavioural::VAL); … … 101 109 ALLOC1_SIGNAL_IN ( in_DCACHE_RSP_RDATA ,"rdata" ,Tdcache_data_t ,_size_dcache_data); 102 110 ALLOC1_SIGNAL_IN ( in_DCACHE_RSP_ERROR ,"error" ,Tdcache_error_t ,_size_dcache_error); 111 112 ALLOC1_INTERFACE_END(_nb_dcache_port); 103 113 } 104 114 105 115 // ~~~~~[ Interface : "interrupt" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 106 116 { 107 ALLOC1_INTERFACE ("interrupt", IN , NORTH, _("Interruption line"),_nb_thread);117 ALLOC1_INTERFACE_BEGIN("interrupt", IN , NORTH, _("Interruption line"),_nb_thread); 108 118 109 119 ALLOC1_SIGNAL_IN ( in_INTERRUPT_ENABLE ,"enable",Tcontrol_t ,1); 120 121 ALLOC1_INTERFACE_END(_nb_thread); 110 122 } 111 123 -
trunk/IPs/systemC/processor/Morpheo/TopLevel/src/Morpheo_configuration.cpp
r111 r112 72 72 param->_nb_reg_free , 73 73 param->_nb_rename_unit_bank , 74 param->_size_read_counter ,74 // param->_size_read_counter , 75 75 76 76 param->_nb_read_bloc ,
Note: See TracChangeset
for help on using the changeset viewer.