Changeset 122 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/src/Rename_unit_allocation.cpp
- Timestamp:
- Jun 3, 2009, 10:15:51 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/src/Rename_unit_allocation.cpp
r121 r122 111 111 ALLOC1_SIGNAL_OUT(out_INSERT_IMMEDIAT ,"immediat" ,Tgeneral_data_t ,_param->_size_general_data ); 112 112 ALLOC1_SIGNAL_OUT(out_INSERT_STORE_QUEUE_PTR_WRITE,"store_queue_ptr_write",Tlsq_ptr_t ,_param->_size_store_queue_ptr ); 113 ALLOC1_SIGNAL_OUT(out_INSERT_STORE_QUEUE_PTR_READ ,"store_queue_ptr_read" ,Tlsq_ptr_t ,_param->_size_store_queue_ptr ); 114 ALLOC1_SIGNAL_OUT(out_INSERT_STORE_QUEUE_EMPTY ,"store_queue_empty" ,Tcontrol_t ,1 ); 113 115 ALLOC1_SIGNAL_OUT(out_INSERT_LOAD_QUEUE_PTR_WRITE ,"load_queue_ptr_write" ,Tlsq_ptr_t ,_param->_size_load_queue_ptr ); 114 116 ALLOC1_SIGNAL_OUT(out_INSERT_EXCEPTION_USE ,"exception_use" ,Texception_t ,_param->_size_exception_use ); … … 180 182 _ALLOC2_VALACK_OUT(out_RETIRE_EVENT_ACK ,ACK,_param->_nb_front_end, _param->_nb_context[it1]); 181 183 _ALLOC2_SIGNAL_IN ( in_RETIRE_EVENT_STATE ,"state" ,Tevent_state_t ,_param->_size_event_state, _param->_nb_front_end, _param->_nb_context[it1]); 184 _ALLOC2_SIGNAL_IN ( in_RETIRE_EVENT_FLUSH ,"flush" ,Tcontrol_t ,1 , _param->_nb_front_end, _param->_nb_context[it1]); 185 _ALLOC2_SIGNAL_IN ( in_RETIRE_EVENT_STOP ,"stop" ,Tcontrol_t ,1 , _param->_nb_front_end, _param->_nb_context[it1]); 182 186 183 187 ALLOC2_INTERFACE_END(_param->_nb_front_end, _param->_nb_context[it1]); … … 452 456 dest,"retire_event_"+toString(i)+"_"+toString(j)); 453 457 #endif 454 PORT_MAP(_component,src , "in_RETIRE_EVENT_"+toString(i)+"_"+toString(j)+"_STATE", 455 dest, "in_RETIRE_EVENT_"+toString(i)+"_"+toString(j)+"_STATE"); 458 PORT_MAP(_component,src , "in_RETIRE_EVENT_"+toString(i)+"_"+toString(j)+"_FLUSH", 459 dest, "in_RETIRE_EVENT_"+toString(i)+"_"+toString(j)+"_FLUSH"); 460 PORT_MAP(_component,src , "in_RETIRE_EVENT_"+toString(i)+"_"+toString(j)+"_STOP", 461 dest, "in_RETIRE_EVENT_"+toString(i)+"_"+toString(j)+"_STOP"); 456 462 } 457 463 } … … 637 643 for (uint32_t j=0; j<_param->_nb_context[i]; j++) 638 644 { 639 dest = _name ;645 dest = _name+"_glue"; 640 646 641 647 #ifdef POSITION … … 643 649 dest,"retire_event_"+toString(i)+"_"+toString(j)); 644 650 #endif 645 PORT_MAP(_component,src , "in_RETIRE_EVENT_"+toString(i)+"_"+toString(j)+"_VAL" , 646 dest, "in_RETIRE_EVENT_"+toString(i)+"_"+toString(j)+"_VAL" ); 647 PORT_MAP(_component,src ,"out_RETIRE_EVENT_"+toString(i)+"_"+toString(j)+"_ACK" , 648 dest,"out_RETIRE_EVENT_"+toString(i)+"_"+toString(j)+"_ACK" ); 651 COMPONENT_MAP(_component,src , "in_RETIRE_EVENT_"+toString(i)+"_"+toString(j)+ "_VAL" , 652 dest,"out_RETIRE_EVENT_"+toString(i)+"_"+toString(j)+"_REGISTER_TRANSLATION_VAL" ); 653 COMPONENT_MAP(_component,src ,"out_RETIRE_EVENT_"+toString(i)+"_"+toString(j)+ "_ACK" , 654 dest, "in_RETIRE_EVENT_"+toString(i)+"_"+toString(j)+"_REGISTER_TRANSLATION_ACK" ); 655 656 dest = _name; 657 658 #ifdef POSITION 659 _component->interface_map (src ,"retire_event_"+toString(i)+"_"+toString(j), 660 dest,"retire_event_"+toString(i)+"_"+toString(j)); 661 #endif 649 662 PORT_MAP(_component,src , "in_RETIRE_EVENT_"+toString(i)+"_"+toString(j)+"_STATE", 650 663 dest, "in_RETIRE_EVENT_"+toString(i)+"_"+toString(j)+"_STATE"); … … 680 693 PORT_MAP(_component,src ,"out_INSERT_"+toString(i)+"_STORE_QUEUE_PTR_WRITE", 681 694 dest,"out_INSERT_"+toString(i)+"_STORE_QUEUE_PTR_WRITE"); 695 PORT_MAP(_component,src ,"out_INSERT_"+toString(i)+"_STORE_QUEUE_PTR_READ" , 696 dest,"out_INSERT_"+toString(i)+"_STORE_QUEUE_PTR_READ" ); 697 PORT_MAP(_component,src ,"out_INSERT_"+toString(i)+"_STORE_QUEUE_EMPTY" , 698 dest,"out_INSERT_"+toString(i)+"_STORE_QUEUE_EMPTY" ); 682 699 if (_param->_have_port_load_queue_ptr) 683 700 PORT_MAP(_component,src ,"out_INSERT_"+toString(i)+"_LOAD_QUEUE_PTR_WRITE" , … … 746 763 //// in_RETIRE_OPERATION - glue 747 764 } 765 766 for (uint32_t i=0; i<_param->_nb_front_end; i++) 767 for (uint32_t j=0; j<_param->_nb_context[i]; j++) 768 { 769 dest = _name+"_glue"; 770 771 #ifdef POSITION 772 _component->interface_map (src ,"retire_event_"+toString(i)+"_"+toString(j), 773 dest,"retire_event_"+toString(i)+"_"+toString(j)); 774 #endif 775 COMPONENT_MAP(_component,src , "in_RETIRE_EVENT_"+toString(i)+"_"+toString(j)+ "_VAL" , 776 dest,"out_RETIRE_EVENT_"+toString(i)+"_"+toString(j)+"_LOAD_STORE_QUEUE_POINTER_VAL" ); 777 COMPONENT_MAP(_component,src ,"out_RETIRE_EVENT_"+toString(i)+"_"+toString(j)+ "_ACK" , 778 dest, "in_RETIRE_EVENT_"+toString(i)+"_"+toString(j)+"_LOAD_STORE_QUEUE_POINTER_ACK" ); 779 780 dest = _name; 781 782 #ifdef POSITION 783 _component->interface_map (src ,"retire_event_"+toString(i)+"_"+toString(j), 784 dest,"retire_event_"+toString(i)+"_"+toString(j)); 785 #endif 786 PORT_MAP(_component,src , "in_RETIRE_EVENT_"+toString(i)+"_"+toString(j)+"_STATE", 787 dest, "in_RETIRE_EVENT_"+toString(i)+"_"+toString(j)+"_STATE"); 788 } 748 789 } 749 790 … … 844 885 845 886 for (uint32_t i=0; i<_param->_nb_front_end; i++) 887 for (uint32_t j=0; j<_param->_nb_context[i]; j++) 888 { 889 dest = _name; 890 891 #ifdef POSITION 892 _component->interface_map (src ,"retire_event_"+toString(i)+"_"+toString(j), 893 dest,"retire_event_"+toString(i)+"_"+toString(j)); 894 #endif 895 896 PORT_MAP(_component,src , "in_RETIRE_EVENT_"+toString(i)+"_"+toString(j)+"_VAL", 897 dest, "in_RETIRE_EVENT_"+toString(i)+"_"+toString(j)+"_VAL"); 898 PORT_MAP(_component,src ,"out_RETIRE_EVENT_"+toString(i)+"_"+toString(j)+"_ACK", 899 dest,"out_RETIRE_EVENT_"+toString(i)+"_"+toString(j)+"_ACK"); 900 901 // out_RETIRE_EVENT_LOAD_STORE_QUEUE_POINTER_VAL - load_store_pointer_unit 902 // in_RETIRE_EVENT_LOAD_STORE_QUEUE_POINTER_ACK - load_store_pointer_unit 903 // out_RETIRE_EVENT_REGISTER_TRANSLATION_VAL - register_translation_unit 904 // in_RETIRE_EVENT_REGISTER_TRANSLATION_ACK - register_translation_unit 905 } 906 907 908 for (uint32_t i=0; i<_param->_nb_front_end; i++) 846 909 for (uint32_t j=0; j<_param->_nb_context[i]; j++) 847 910 {
Note: See TracChangeset
for help on using the changeset viewer.