Changeset 123 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/src
- Timestamp:
- Jun 8, 2009, 10:43:30 PM (15 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/src/Decod_unit.cpp
r88 r123 39 39 usage_environment(_usage); 40 40 41 #if DEBUG_Decod_unit == true42 log_printf(INFO,Decod_unit,FUNCTION,_("<%s> Parameters"),_name.c_str());41 // #if DEBUG_Decod_unit == true 42 // log_printf(INFO,Decod_unit,FUNCTION,_("<%s> Parameters"),_name.c_str()); 43 43 44 std::cout << *param << std::endl;45 #endif44 // std::cout << *param << std::endl; 45 // #endif 46 46 47 47 log_printf(INFO,Decod_unit,FUNCTION,_("Allocation")); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/src/Decod_unit_allocation.cpp
r118 r123 91 91 ALLOC1_SIGNAL_OUT(out_DECOD_OPERATION ,"operation" ,Toperation_t ,_param->_size_operation ); 92 92 ALLOC1_SIGNAL_OUT(out_DECOD_NO_EXECUTE ,"no_execute" ,Tcontrol_t ,1 ); 93 // ALLOC1_SIGNAL_OUT(out_DECOD_HAVE_EVENT ,"have_event" ,Tcontrol_t ,1 ); 94 ALLOC1_SIGNAL_OUT(out_DECOD_LAST_EVENT ,"last_event" ,Tcontrol_t ,1 ); 93 95 ALLOC1_SIGNAL_OUT(out_DECOD_IS_DELAY_SLOT,"is_delay_slot",Tcontrol_t ,1 ); 94 96 #ifdef DEBUG … … 159 161 160 162 ALLOC1_SIGNAL_IN (in_CONTEXT_DECOD_ENABLE,"decod_enable",Tcontrol_t,1); 163 ALLOC1_SIGNAL_IN (in_CONTEXT_EVENT ,"event" ,Tcontrol_t,1); 161 164 ALLOC1_SIGNAL_IN (in_CONTEXT_DEPTH_VAL ,"depth_val" ,Tcontrol_t,1); 162 165 ALLOC1_SIGNAL_IN (in_CONTEXT_DEPTH ,"depth" ,Tdepth_t ,_param->_size_depth); … … 499 502 PORT_MAP(_component,src ,"out_DECOD_OUT_"+toString(i)+"_NO_EXECUTE" , 500 503 dest,"out_DECOD_" +toString(i)+"_NO_EXECUTE" ); 504 // PORT_MAP(_component,src ,"out_DECOD_OUT_"+toString(i)+"_HAVE_EVENT" , 505 // dest,"out_DECOD_" +toString(i)+"_HAVE_EVENT" ); 506 PORT_MAP(_component,src ,"out_DECOD_OUT_"+toString(i)+"_LAST_EVENT" , 507 dest,"out_DECOD_" +toString(i)+"_LAST_EVENT" ); 501 508 PORT_MAP(_component,src ,"out_DECOD_OUT_"+toString(i)+"_IS_DELAY_SLOT", 502 509 dest,"out_DECOD_" +toString(i)+"_IS_DELAY_SLOT"); … … 569 576 dest,"out_NB_INST_"+toString(i)+"_DECOD_ALL"); 570 577 } 578 579 580 581 for (uint32_t i=0; i<_param->_nb_context; i++) 582 { 583 dest = _name; 584 585 #ifdef POSITION 586 _component->interface_map (src ,"context_"+toString(i), 587 dest,"context_"+toString(i)); 588 #endif 589 590 PORT_MAP(_component,src , "in_CONTEXT_"+toString(i)+"_EVENT" , 591 dest, "in_CONTEXT_"+toString(i)+"_EVENT" ); 592 593 } 571 594 } 572 595 // ~~~~~[ Others ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/src/Decod_unit_deallocation.cpp
r112 r123 47 47 DELETE1_SIGNAL(out_DECOD_OPERATION ,_param->_nb_inst_decod,_param->_size_operation ); 48 48 DELETE1_SIGNAL(out_DECOD_NO_EXECUTE ,_param->_nb_inst_decod,1 ); 49 // DELETE1_SIGNAL(out_DECOD_HAVE_EVENT ,_param->_nb_inst_decod,1 ); 50 DELETE1_SIGNAL(out_DECOD_LAST_EVENT ,_param->_nb_inst_decod,1 ); 49 51 DELETE1_SIGNAL(out_DECOD_IS_DELAY_SLOT ,_param->_nb_inst_decod,1 ); 50 52 #ifdef DEBUG … … 87 89 88 90 DELETE1_SIGNAL(in_CONTEXT_DECOD_ENABLE ,_param->_nb_context,1); 91 DELETE1_SIGNAL(in_CONTEXT_EVENT ,_param->_nb_context,1); 89 92 DELETE1_SIGNAL(in_CONTEXT_DEPTH ,_param->_nb_context,_param->_size_depth); 90 93
Note: See TracChangeset
for help on using the changeset viewer.