Changeset 137 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/src/Front_end_allocation.cpp
- Timestamp:
- Feb 16, 2010, 1:35:48 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/src/Front_end_allocation.cpp
r136 r137 98 98 ALLOC1_SIGNAL_OUT (out_DECOD_CONTEXT_ID ,"CONTEXT_ID" ,Tcontext_t ,_param->_size_context_id ); 99 99 ALLOC1_SIGNAL_OUT (out_DECOD_DEPTH ,"DEPTH" ,Tdepth_t ,_param->_size_depth ); 100 #ifdef STATISTICS 101 ALLOC1_SIGNAL_OUT (out_DECOD_INSTRUCTION ,"INSTRUCTION" ,uint32_t ,32); 102 #endif 100 103 ALLOC1_SIGNAL_OUT (out_DECOD_TYPE ,"TYPE" ,Ttype_t ,_param->_size_type ); 101 104 ALLOC1_SIGNAL_OUT (out_DECOD_OPERATION ,"OPERATION" ,Toperation_t ,_param->_size_operation ); … … 700 703 701 704 for (uint32_t j=0; j<_param->_decod_unit_nb_context[i]; ++j) 702 { 703 dest = _name+"_glue"; 704 #ifdef POSITION 705 _component->interface_map (src ,"ifetch_"+toString(j), 706 dest,"ifetch_"+toString(i)+"_"+toString(j)); 707 #endif 708 709 if (_param->_have_port_context_id) 710 COMPONENT_MAP(_component,src , "in_IFETCH_"+toString(j) +"_CONTEXT_ID", 711 dest,"out_IFETCH_"+toString(i)+"_"+toString(j)+"_DECOD_UNIT_CONTEXT_ID"); 712 } 705 for (uint32_t k=0; k<_param->_nb_inst_fetch [j];++k) 706 { 707 dest = _name+"_glue"; 708 #ifdef POSITION 709 _component->interface_map (src ,"ifetch_"+toString(j)+"_"+toString(k), 710 dest,"ifetch_"+toString(i)+"_"+toString(j)); 711 #endif 712 713 if (_param->_have_port_context_id) 714 COMPONENT_MAP(_component,src , "in_IFETCH_"+toString(j)+"_"+toString(k)+"_CONTEXT_ID", 715 dest,"out_IFETCH_"+toString(i)+"_"+toString(j)+"_DECOD_UNIT_CONTEXT_ID"); 716 } 713 717 714 718 // ~~~~~[ Interface : "decod" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ … … 729 733 PORT_MAP(_component,src ,"out_DECOD_"+toString(j)+"_DEPTH" , 730 734 dest,"out_DECOD_"+toString(x)+"_DEPTH" ); 735 #ifdef STATISTICS 736 PORT_MAP(_component,src ,"out_DECOD_"+toString(j)+"_INSTRUCTION" , 737 dest,"out_DECOD_"+toString(x)+"_INSTRUCTION" ); 738 #endif 731 739 PORT_MAP(_component,src ,"out_DECOD_"+toString(j)+"_TYPE" , 732 740 dest,"out_DECOD_"+toString(x)+"_TYPE" );
Note: See TracChangeset
for help on using the changeset viewer.