Changeset 78 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Network/Execution_unit_to_Write_unit/src
- Timestamp:
- Mar 27, 2008, 11:04:49 AM (16 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Network/Execution_unit_to_Write_unit/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Network/Execution_unit_to_Write_unit/src/Execution_unit_to_Write_unit_allocation.cpp
r77 r78 60 60 ALLOC1_INTERFACE("execute_unit_out", IN, EAST, "Output of execution_unit", _param->_nb_execute_unit); 61 61 62 ALLOC1_VAL _IN ( in_EXECUTE_UNIT_OUT_VAL);63 ALLOC1_ ACK_OUT (out_EXECUTE_UNIT_OUT_ACK);62 ALLOC1_VALACK_IN ( in_EXECUTE_UNIT_OUT_VAL,VAL); 63 ALLOC1_VALACK_OUT(out_EXECUTE_UNIT_OUT_ACK,ACK); 64 64 ALLOC1_SIGNAL_IN ( in_EXECUTE_UNIT_OUT_CONTEXT_ID ,"context_id" ,Tcontext_t ,_param->_size_context_id ); 65 65 ALLOC1_SIGNAL_IN ( in_EXECUTE_UNIT_OUT_FRONT_END_ID ,"front_end_id" ,Tcontext_t ,_param->_size_front_end_id ); … … 67 67 ALLOC1_SIGNAL_IN ( in_EXECUTE_UNIT_OUT_PACKET_ID ,"packet_id" ,Tpacket_t ,_param->_size_packet_id ); 68 68 //ALLOC1_SIGNAL_IN ( in_EXECUTE_UNIT_OUT_OPERATION ,"operation" ,Toperation_t ,_param->_size_operation ); 69 //ALLOC1_SIGNAL_IN ( in_EXECUTE_UNIT_OUT_TYPE ,"type" ,Ttype_t ,_param->_size_type );69 ALLOC1_SIGNAL_IN ( in_EXECUTE_UNIT_OUT_TYPE ,"type" ,Ttype_t ,_param->_size_type ); 70 70 ALLOC1_SIGNAL_IN ( in_EXECUTE_UNIT_OUT_WRITE_RD ,"write_rd" ,Tcontrol_t ,1 ); 71 71 ALLOC1_SIGNAL_IN ( in_EXECUTE_UNIT_OUT_NUM_REG_RD ,"num_reg_rd" ,Tgeneral_address_t,_param->_size_general_register); … … 82 82 ALLOC1_INTERFACE("write_unit_in", OUT, WEST, "Input of write_unit", _param->_nb_write_unit); 83 83 84 ALLOC1_VAL _OUT(out_WRITE_UNIT_IN_VAL);85 ALLOC1_ ACK_IN ( in_WRITE_UNIT_IN_ACK);84 ALLOC1_VALACK_OUT(out_WRITE_UNIT_IN_VAL,VAL); 85 ALLOC1_VALACK_IN ( in_WRITE_UNIT_IN_ACK,ACK); 86 86 ALLOC1_SIGNAL_OUT(out_WRITE_UNIT_IN_CONTEXT_ID ,"context_id" ,Tcontext_t ,_param->_size_context_id ); 87 87 ALLOC1_SIGNAL_OUT(out_WRITE_UNIT_IN_FRONT_END_ID ,"front_end_id" ,Tcontext_t ,_param->_size_front_end_id ); … … 89 89 ALLOC1_SIGNAL_OUT(out_WRITE_UNIT_IN_PACKET_ID ,"packet_id" ,Tpacket_t ,_param->_size_packet_id ); 90 90 //ALLOC1_SIGNAL_OUT(out_WRITE_UNIT_IN_OPERATION ,"operation" ,Toperation_t ,_param->_size_operation ); 91 //ALLOC1_SIGNAL_OUT(out_WRITE_UNIT_IN_TYPE ,"type" ,Ttype_t ,_param->_size_type );91 ALLOC1_SIGNAL_OUT(out_WRITE_UNIT_IN_TYPE ,"type" ,Ttype_t ,_param->_size_type ); 92 92 ALLOC1_SIGNAL_OUT(out_WRITE_UNIT_IN_WRITE_RD ,"write_rd" ,Tcontrol_t ,1 ); 93 93 ALLOC1_SIGNAL_OUT(out_WRITE_UNIT_IN_NUM_REG_RD ,"num_reg_rd" ,Tgeneral_address_t,_param->_size_general_register); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Network/Execution_unit_to_Write_unit/src/Execution_unit_to_Write_unit_deallocation.cpp
r77 r78 39 39 delete [] in_EXECUTE_UNIT_OUT_PACKET_ID ; 40 40 //delete [] in_EXECUTE_UNIT_OUT_OPERATION ; 41 //delete [] in_EXECUTE_UNIT_OUT_TYPE ;41 delete [] in_EXECUTE_UNIT_OUT_TYPE ; 42 42 delete [] in_EXECUTE_UNIT_OUT_WRITE_RD ; 43 43 delete [] in_EXECUTE_UNIT_OUT_NUM_REG_RD ; … … 61 61 delete [] out_WRITE_UNIT_IN_PACKET_ID ; 62 62 //delete [] out_WRITE_UNIT_IN_OPERATION ; 63 //delete [] out_WRITE_UNIT_IN_TYPE ;63 delete [] out_WRITE_UNIT_IN_TYPE ; 64 64 delete [] out_WRITE_UNIT_IN_WRITE_RD ; 65 65 delete [] out_WRITE_UNIT_IN_NUM_REG_RD ; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Network/Execution_unit_to_Write_unit/src/Execution_unit_to_Write_unit_genMealy.cpp
r77 r78 75 75 PORT_WRITE(out_WRITE_UNIT_IN_PACKET_ID [dest], PORT_READ(in_EXECUTE_UNIT_OUT_PACKET_ID [i])); 76 76 //PORT_WRITE(out_WRITE_UNIT_IN_OPERATION [dest], PORT_READ(in_EXECUTE_UNIT_OUT_OPERATION [i])); 77 //PORT_WRITE(out_WRITE_UNIT_IN_TYPE [dest], PORT_READ(in_EXECUTE_UNIT_OUT_TYPE [i]));77 PORT_WRITE(out_WRITE_UNIT_IN_TYPE [dest], PORT_READ(in_EXECUTE_UNIT_OUT_TYPE [i])); 78 78 PORT_WRITE(out_WRITE_UNIT_IN_WRITE_RD [dest], PORT_READ(in_EXECUTE_UNIT_OUT_WRITE_RD [i])); 79 79 PORT_WRITE(out_WRITE_UNIT_IN_NUM_REG_RD [dest], PORT_READ(in_EXECUTE_UNIT_OUT_NUM_REG_RD [i])); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Network/Execution_unit_to_Write_unit/src/Parameters_msg_error.cpp
r77 r78 21 21 #undef FUNCTION 22 22 #define FUNCTION "Execution_unit_to_Write_unit::msg_error" 23 std::stringParameters::msg_error(void)23 Parameters_test Parameters::msg_error(void) 24 24 { 25 25 log_printf(FUNC,Execution_unit_to_Write_unit,FUNCTION,"Begin"); 26 26 27 std::string msg = "";27 Parameters_test test("Execution_unit_to_Write_unit"); 28 28 29 29 for (uint32_t i=0; i<_nb_execute_unit; i++) … … 35 35 36 36 if (j == _nb_write_unit) 37 msg += " - The execute_unit ["+toString(i)+"] is link with none write_unit.\n";37 test.error("The execute_unit ["+toString(i)+"] is link with none write_unit."); 38 38 } 39 39 … … 46 46 47 47 if (j == _nb_thread) 48 msg += " - The write_unit ["+toString(i)+"] have none source's thread.\n";48 test.error("The write_unit ["+toString(i)+"] have none source's thread."); 49 49 } 50 50 51 return msg; 51 if ( (_priority != PRIORITY_STATIC ) and 52 (_priority != PRIORITY_ROUND_ROBIN)) 53 test.error("Unsupported priority scheme. It must be Static or Round Robin."); 52 54 53 55 log_printf(FUNC,Execution_unit_to_Write_unit,FUNCTION,"End"); 56 57 return test; 54 58 }; 55 59
Note: See TracChangeset
for help on using the changeset viewer.