Changeset 97 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/src
- Timestamp:
- Dec 19, 2008, 4:34:00 PM (16 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/src/Commit_unit_allocation.cpp
r88 r97 71 71 _ALLOC2_SIGNAL_IN ( in_INSERT_NO_EXECUTE ,"no_execute" ,Tcontrol_t ,1 ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); 72 72 _ALLOC2_SIGNAL_IN ( in_INSERT_IS_DELAY_SLOT ,"is_delay_slot" ,Tcontrol_t ,1 ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); 73 _ALLOC2_SIGNAL_IN ( in_INSERT_ADDRESS ,"address" ,T general_data_t,_param->_size_instruction_address ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]);73 _ALLOC2_SIGNAL_IN ( in_INSERT_ADDRESS ,"address" ,Taddress_t ,_param->_size_instruction_address ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); 74 74 _ALLOC2_SIGNAL_IN ( in_INSERT_EXCEPTION ,"exception" ,Texception_t ,_param->_size_exception ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); 75 75 _ALLOC2_SIGNAL_IN ( in_INSERT_EXCEPTION_USE ,"exception_use" ,Texception_t ,_param->_size_exception ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); … … 138 138 ALLOC1_SIGNAL_IN ( in_COMMIT_EXCEPTION ,"exception" ,Texception_t ,_param->_size_exception ); 139 139 ALLOC1_SIGNAL_IN ( in_COMMIT_NO_SEQUENCE ,"no_sequence",Tcontrol_t ,1 ); 140 ALLOC1_SIGNAL_IN ( in_COMMIT_ADDRESS ,"address" ,T general_data_t,_param->_size_instruction_address);140 ALLOC1_SIGNAL_IN ( in_COMMIT_ADDRESS ,"address" ,Taddress_t ,_param->_size_instruction_address); 141 141 // ALLOC1_SIGNAL_OUT(out_COMMIT_NUM_REG_RD ,"num_reg_rd" ,Tgeneral_address_t,_param->_size_general_register+_param->_size_rename_unit_id); 142 142 ALLOC1_SIGNAL_OUT(out_COMMIT_NUM_REG_RD ,"num_reg_rd" ,Tgeneral_address_t,_param->_size_general_register); … … 185 185 ALLOC_SIGNAL_OUT(out_UPDATE_ADDRESS_EPCR ,"address_epcr" ,Taddress_t ,_param->_size_instruction_address); 186 186 ALLOC_SIGNAL_OUT(out_UPDATE_ADDRESS_EEAR_VAL ,"address_eear_val",Tcontrol_t ,1); 187 ALLOC_SIGNAL_OUT(out_UPDATE_ADDRESS_EEAR ,"address_eear" ,T address_t ,_param->_size_instruction_address);187 ALLOC_SIGNAL_OUT(out_UPDATE_ADDRESS_EEAR ,"address_eear" ,Tgeneral_data_t ,_param->_size_general_data); 188 188 } 189 189 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/src/Commit_unit_transition.cpp
r88 r97 75 75 log_printf(TRACE,Commit_unit,FUNCTION," * front_end_id : %d",front_end_id); 76 76 log_printf(TRACE,Commit_unit,FUNCTION," * context_id : %d",context_id); 77 log_printf(TRACE,Commit_unit,FUNCTION," * type : %s",toString _type(type).c_str());77 log_printf(TRACE,Commit_unit,FUNCTION," * type : %s",toString(type).c_str()); 78 78 log_printf(TRACE,Commit_unit,FUNCTION," * operation : %d",operation ); 79 79 log_printf(TRACE,Commit_unit,FUNCTION," * exception : %d",exception ); … … 478 478 it++) 479 479 { 480 log_printf(TRACE,Commit_unit,FUNCTION," [% d] %.8x (%.8x) %s - ptr :%d",480 log_printf(TRACE,Commit_unit,FUNCTION," [%.4d] %.4d %.4d %.4d %.4d, %.3d %.3d, %.8x %.1d, %.1d %.4d, %.1d %.4d, %s - %d", 481 481 x, 482 (*it)->address, 483 (*it)->address<<2, 484 toString((*it)->state).c_str(), 485 (*it)->ptr); 482 (*it)->front_end_id , 483 (*it)->context_id , 484 (*it)->rename_unit_id , 485 (*it)->depth , 486 (*it)->type , 487 (*it)->operation , 488 (*it)->address , 489 (*it)->is_delay_slot , 490 (*it)->use_store_queue , 491 (*it)->store_queue_ptr_write , 492 (*it)->use_load_queue , 493 (*it)->load_queue_ptr_write , 494 toString((*it)->state).c_str() , 495 (*it)->ptr ); 496 log_printf(TRACE,Commit_unit,FUNCTION," %.1d %.5d %.6d, %.1d %.5d %.6d, %.1d %.5d %.6d, %.1d %.1d %.6d %.6d, %.1d %.1d %.6d %.6d ", 497 (*it)->read_ra , 498 (*it)->num_reg_ra_log , 499 (*it)->num_reg_ra_phy , 500 (*it)->read_rb , 501 (*it)->num_reg_rb_log , 502 (*it)->num_reg_rb_phy , 503 (*it)->read_rc , 504 (*it)->num_reg_rc_log , 505 (*it)->num_reg_rc_phy , 506 (*it)->write_rd , 507 (*it)->num_reg_rd_log , 508 (*it)->num_reg_rd_phy_old , 509 (*it)->num_reg_rd_phy_new , 510 (*it)->write_re , 511 (*it)->num_reg_re_log , 512 (*it)->num_reg_re_phy_old , 513 (*it)->num_reg_re_phy_new ); 514 515 log_printf(TRACE,Commit_unit,FUNCTION," %.2d %.2d %.1d %.1d %.8x %s", 516 (*it)->exception , 517 (*it)->exception_use , 518 (*it)->flags , 519 (*it)->no_sequence , 520 (*it)->data_commit , 521 toString((*it)->event_state).c_str() 522 ); 523 486 524 x++; 487 525 }
Note: See TracChangeset
for help on using the changeset viewer.