Changeset 121 for trunk/IPs/systemC/processor/Morpheo
- Timestamp:
- May 27, 2009, 12:13:56 PM (16 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo
- Files:
-
- 33 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/SelfTest/src/test.cpp
r112 r121 107 107 ALLOC2_SC_SIGNAL(out_RETIRE_STORE_QUEUE_PTR_WRITE ,"out_RETIRE_STORE_QUEUE_PTR_WRITE ",Tlsq_ptr_t ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); 108 108 ALLOC2_SC_SIGNAL(out_RETIRE_LOAD_QUEUE_PTR_WRITE ,"out_RETIRE_LOAD_QUEUE_PTR_WRITE ",Tlsq_ptr_t ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); 109 ALLOC2_SC_SIGNAL(out_RETIRE_READ_RA ,"out_RETIRE_READ_RA ",Tcontrol_t ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]);110 ALLOC2_SC_SIGNAL(out_RETIRE_NUM_REG_RA_PHY ,"out_RETIRE_NUM_REG_RA_PHY ",Tgeneral_address_t,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]);111 ALLOC2_SC_SIGNAL(out_RETIRE_READ_RB ,"out_RETIRE_READ_RB ",Tcontrol_t ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]);112 ALLOC2_SC_SIGNAL(out_RETIRE_NUM_REG_RB_PHY ,"out_RETIRE_NUM_REG_RB_PHY ",Tgeneral_address_t,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]);113 ALLOC2_SC_SIGNAL(out_RETIRE_READ_RC ,"out_RETIRE_READ_RC ",Tcontrol_t ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]);114 ALLOC2_SC_SIGNAL(out_RETIRE_NUM_REG_RC_PHY ,"out_RETIRE_NUM_REG_RC_PHY ",Tspecial_address_t,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]);109 // ALLOC2_SC_SIGNAL(out_RETIRE_READ_RA ,"out_RETIRE_READ_RA ",Tcontrol_t ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); 110 // ALLOC2_SC_SIGNAL(out_RETIRE_NUM_REG_RA_PHY ,"out_RETIRE_NUM_REG_RA_PHY ",Tgeneral_address_t,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); 111 // ALLOC2_SC_SIGNAL(out_RETIRE_READ_RB ,"out_RETIRE_READ_RB ",Tcontrol_t ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); 112 // ALLOC2_SC_SIGNAL(out_RETIRE_NUM_REG_RB_PHY ,"out_RETIRE_NUM_REG_RB_PHY ",Tgeneral_address_t,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); 113 // ALLOC2_SC_SIGNAL(out_RETIRE_READ_RC ,"out_RETIRE_READ_RC ",Tcontrol_t ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); 114 // ALLOC2_SC_SIGNAL(out_RETIRE_NUM_REG_RC_PHY ,"out_RETIRE_NUM_REG_RC_PHY ",Tspecial_address_t,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); 115 115 ALLOC2_SC_SIGNAL(out_RETIRE_WRITE_RD ,"out_RETIRE_WRITE_RD ",Tcontrol_t ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); 116 116 ALLOC2_SC_SIGNAL(out_RETIRE_NUM_REG_RD_LOG ,"out_RETIRE_NUM_REG_RD_LOG ",Tgeneral_address_t,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); … … 224 224 if (_param->_have_port_load_queue_ptr) 225 225 INSTANCE2_SC_SIGNAL(_Commit_unit, in_INSERT_LOAD_QUEUE_PTR_WRITE ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); 226 #ifdef DEBUG 226 227 INSTANCE2_SC_SIGNAL(_Commit_unit, in_INSERT_READ_RA ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); 227 228 INSTANCE2_SC_SIGNAL(_Commit_unit, in_INSERT_NUM_REG_RA_LOG ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); … … 233 234 INSTANCE2_SC_SIGNAL(_Commit_unit, in_INSERT_NUM_REG_RC_LOG ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); 234 235 INSTANCE2_SC_SIGNAL(_Commit_unit, in_INSERT_NUM_REG_RC_PHY ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); 236 #endif 235 237 INSTANCE2_SC_SIGNAL(_Commit_unit, in_INSERT_WRITE_RD ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); 236 238 INSTANCE2_SC_SIGNAL(_Commit_unit, in_INSERT_NUM_REG_RD_LOG ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); … … 253 255 if (_param->_have_port_load_queue_ptr) 254 256 INSTANCE2_SC_SIGNAL(_Commit_unit,out_RETIRE_LOAD_QUEUE_PTR_WRITE ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); 255 INSTANCE2_SC_SIGNAL(_Commit_unit,out_RETIRE_READ_RA ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]);256 INSTANCE2_SC_SIGNAL(_Commit_unit,out_RETIRE_NUM_REG_RA_PHY ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]);257 INSTANCE2_SC_SIGNAL(_Commit_unit,out_RETIRE_READ_RB ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]);258 INSTANCE2_SC_SIGNAL(_Commit_unit,out_RETIRE_NUM_REG_RB_PHY ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]);259 INSTANCE2_SC_SIGNAL(_Commit_unit,out_RETIRE_READ_RC ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]);260 INSTANCE2_SC_SIGNAL(_Commit_unit,out_RETIRE_NUM_REG_RC_PHY ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]);257 // INSTANCE2_SC_SIGNAL(_Commit_unit,out_RETIRE_READ_RA ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); 258 // INSTANCE2_SC_SIGNAL(_Commit_unit,out_RETIRE_NUM_REG_RA_PHY ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); 259 // INSTANCE2_SC_SIGNAL(_Commit_unit,out_RETIRE_READ_RB ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); 260 // INSTANCE2_SC_SIGNAL(_Commit_unit,out_RETIRE_NUM_REG_RB_PHY ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); 261 // INSTANCE2_SC_SIGNAL(_Commit_unit,out_RETIRE_READ_RC ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); 262 // INSTANCE2_SC_SIGNAL(_Commit_unit,out_RETIRE_NUM_REG_RC_PHY ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); 261 263 INSTANCE2_SC_SIGNAL(_Commit_unit,out_RETIRE_WRITE_RD ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); 262 264 INSTANCE2_SC_SIGNAL(_Commit_unit,out_RETIRE_NUM_REG_RD_LOG ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); … … 664 666 DELETE2_SC_SIGNAL(out_RETIRE_STORE_QUEUE_PTR_WRITE ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); 665 667 DELETE2_SC_SIGNAL(out_RETIRE_LOAD_QUEUE_PTR_WRITE ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); 666 DELETE2_SC_SIGNAL(out_RETIRE_READ_RA ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]);667 DELETE2_SC_SIGNAL(out_RETIRE_NUM_REG_RA_PHY ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]);668 DELETE2_SC_SIGNAL(out_RETIRE_READ_RB ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]);669 DELETE2_SC_SIGNAL(out_RETIRE_NUM_REG_RB_PHY ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]);670 DELETE2_SC_SIGNAL(out_RETIRE_READ_RC ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]);671 DELETE2_SC_SIGNAL(out_RETIRE_NUM_REG_RC_PHY ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]);668 // DELETE2_SC_SIGNAL(out_RETIRE_READ_RA ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); 669 // DELETE2_SC_SIGNAL(out_RETIRE_NUM_REG_RA_PHY ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); 670 // DELETE2_SC_SIGNAL(out_RETIRE_READ_RB ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); 671 // DELETE2_SC_SIGNAL(out_RETIRE_NUM_REG_RB_PHY ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); 672 // DELETE2_SC_SIGNAL(out_RETIRE_READ_RC ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); 673 // DELETE2_SC_SIGNAL(out_RETIRE_NUM_REG_RC_PHY ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); 672 674 DELETE2_SC_SIGNAL(out_RETIRE_WRITE_RD ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); 673 675 DELETE2_SC_SIGNAL(out_RETIRE_NUM_REG_RD_LOG ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/include/Commit_unit.h
r112 r121 94 94 public : SC_IN (Tlsq_ptr_t ) *** in_INSERT_STORE_QUEUE_PTR_WRITE ;//[nb_rename_unit][nb_inst_insert] 95 95 public : SC_IN (Tlsq_ptr_t ) *** in_INSERT_LOAD_QUEUE_PTR_WRITE ;//[nb_rename_unit][nb_inst_insert] 96 #ifdef DEBUG 96 97 public : SC_IN (Tcontrol_t ) *** in_INSERT_READ_RA ;//[nb_rename_unit][nb_inst_insert] 97 98 public : SC_IN (Tgeneral_address_t ) *** in_INSERT_NUM_REG_RA_LOG ;//[nb_rename_unit][nb_inst_insert] … … 103 104 public : SC_IN (Tspecial_address_t ) *** in_INSERT_NUM_REG_RC_LOG ;//[nb_rename_unit][nb_inst_insert] 104 105 public : SC_IN (Tspecial_address_t ) *** in_INSERT_NUM_REG_RC_PHY ;//[nb_rename_unit][nb_inst_insert] 106 #endif 105 107 public : SC_IN (Tcontrol_t ) *** in_INSERT_WRITE_RD ;//[nb_rename_unit][nb_inst_insert] 106 108 public : SC_IN (Tgeneral_address_t ) *** in_INSERT_NUM_REG_RD_LOG ;//[nb_rename_unit][nb_inst_insert] … … 122 124 public : SC_OUT(Tlsq_ptr_t ) *** out_RETIRE_STORE_QUEUE_PTR_WRITE ;//[nb_rename_unit][nb_inst_retire] 123 125 public : SC_OUT(Tlsq_ptr_t ) *** out_RETIRE_LOAD_QUEUE_PTR_WRITE ;//[nb_rename_unit][nb_inst_retire] 124 125 126 127 128 129 126 //public : SC_OUT(Tcontrol_t ) *** out_RETIRE_READ_RA ;//[nb_rename_unit][nb_inst_retire] 127 //public : SC_OUT(Tgeneral_address_t ) *** out_RETIRE_NUM_REG_RA_PHY ;//[nb_rename_unit][nb_inst_retire] 128 //public : SC_OUT(Tcontrol_t ) *** out_RETIRE_READ_RB ;//[nb_rename_unit][nb_inst_retire] 129 //public : SC_OUT(Tgeneral_address_t ) *** out_RETIRE_NUM_REG_RB_PHY ;//[nb_rename_unit][nb_inst_retire] 130 //public : SC_OUT(Tcontrol_t ) *** out_RETIRE_READ_RC ;//[nb_rename_unit][nb_inst_retire] 131 //public : SC_OUT(Tspecial_address_t ) *** out_RETIRE_NUM_REG_RC_PHY ;//[nb_rename_unit][nb_inst_retire] 130 132 public : SC_OUT(Tcontrol_t ) *** out_RETIRE_WRITE_RD ;//[nb_rename_unit][nb_inst_retire] 131 133 public : SC_OUT(Tgeneral_address_t ) *** out_RETIRE_NUM_REG_RD_LOG ;//[nb_rename_unit][nb_inst_retire] -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/include/Types.h
r112 r121 70 70 public : Tlsq_ptr_t store_queue_ptr_write ; 71 71 public : Tlsq_ptr_t load_queue_ptr_write ; 72 #ifdef DEBUG 72 73 public : Tcontrol_t read_ra ; 73 74 public : Tgeneral_address_t num_reg_ra_log ; … … 79 80 public : Tspecial_address_t num_reg_rc_log ; 80 81 public : Tspecial_address_t num_reg_rc_phy ; 82 #endif 81 83 public : Tcontrol_t write_rd ; 82 84 public : Tgeneral_address_t num_reg_rd_log ; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/src/Commit_unit.cpp
r112 r121 161 161 if (_param->_have_port_load_queue_ptr) 162 162 (*(out_RETIRE_LOAD_QUEUE_PTR_WRITE [i][j])) (*(in_RETIRE_ACK [x][y])); 163 (*(out_RETIRE_READ_RA [i][j])) (*(in_RETIRE_ACK [x][y]));164 (*(out_RETIRE_NUM_REG_RA_PHY [i][j])) (*(in_RETIRE_ACK [x][y]));165 (*(out_RETIRE_READ_RB [i][j])) (*(in_RETIRE_ACK [x][y]));166 (*(out_RETIRE_NUM_REG_RB_PHY [i][j])) (*(in_RETIRE_ACK [x][y]));167 (*(out_RETIRE_READ_RC [i][j])) (*(in_RETIRE_ACK [x][y]));168 (*(out_RETIRE_NUM_REG_RC_PHY [i][j])) (*(in_RETIRE_ACK [x][y]));163 // (*(out_RETIRE_READ_RA [i][j])) (*(in_RETIRE_ACK [x][y])); 164 // (*(out_RETIRE_NUM_REG_RA_PHY [i][j])) (*(in_RETIRE_ACK [x][y])); 165 // (*(out_RETIRE_READ_RB [i][j])) (*(in_RETIRE_ACK [x][y])); 166 // (*(out_RETIRE_NUM_REG_RB_PHY [i][j])) (*(in_RETIRE_ACK [x][y])); 167 // (*(out_RETIRE_READ_RC [i][j])) (*(in_RETIRE_ACK [x][y])); 168 // (*(out_RETIRE_NUM_REG_RC_PHY [i][j])) (*(in_RETIRE_ACK [x][y])); 169 169 (*(out_RETIRE_WRITE_RD [i][j])) (*(in_RETIRE_ACK [x][y])); 170 170 (*(out_RETIRE_NUM_REG_RD_LOG [i][j])) (*(in_RETIRE_ACK [x][y])); … … 191 191 if (_param->_have_port_load_queue_ptr) 192 192 (*(out_RETIRE_LOAD_QUEUE_PTR_WRITE [i][j])) (*(in_SPR_WRITE_ACK [x][y])); 193 (*(out_RETIRE_READ_RA [i][j])) (*(in_SPR_WRITE_ACK [x][y]));194 (*(out_RETIRE_NUM_REG_RA_PHY [i][j])) (*(in_SPR_WRITE_ACK [x][y]));195 (*(out_RETIRE_READ_RB [i][j])) (*(in_SPR_WRITE_ACK [x][y]));196 (*(out_RETIRE_NUM_REG_RB_PHY [i][j])) (*(in_SPR_WRITE_ACK [x][y]));197 (*(out_RETIRE_READ_RC [i][j])) (*(in_SPR_WRITE_ACK [x][y]));198 (*(out_RETIRE_NUM_REG_RC_PHY [i][j])) (*(in_SPR_WRITE_ACK [x][y]));193 // (*(out_RETIRE_READ_RA [i][j])) (*(in_SPR_WRITE_ACK [x][y])); 194 // (*(out_RETIRE_NUM_REG_RA_PHY [i][j])) (*(in_SPR_WRITE_ACK [x][y])); 195 // (*(out_RETIRE_READ_RB [i][j])) (*(in_SPR_WRITE_ACK [x][y])); 196 // (*(out_RETIRE_NUM_REG_RB_PHY [i][j])) (*(in_SPR_WRITE_ACK [x][y])); 197 // (*(out_RETIRE_READ_RC [i][j])) (*(in_SPR_WRITE_ACK [x][y])); 198 // (*(out_RETIRE_NUM_REG_RC_PHY [i][j])) (*(in_SPR_WRITE_ACK [x][y])); 199 199 (*(out_RETIRE_WRITE_RD [i][j])) (*(in_SPR_WRITE_ACK [x][y])); 200 200 (*(out_RETIRE_NUM_REG_RD_LOG [i][j])) (*(in_SPR_WRITE_ACK [x][y])); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/src/Commit_unit_allocation.cpp
r120 r121 80 80 _ALLOC2_SIGNAL_IN ( in_INSERT_STORE_QUEUE_PTR_WRITE ,"store_queue_ptr_write",Tlsq_ptr_t ,_param->_size_store_queue_ptr ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); 81 81 _ALLOC2_SIGNAL_IN ( in_INSERT_LOAD_QUEUE_PTR_WRITE ,"load_queue_ptr_write" ,Tlsq_ptr_t ,_param->_size_load_queue_ptr ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); 82 #ifdef DEBUG 82 83 _ALLOC2_SIGNAL_IN ( in_INSERT_READ_RA ,"read_ra" ,Tcontrol_t ,1 ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); 83 84 _ALLOC2_SIGNAL_IN ( in_INSERT_NUM_REG_RA_LOG ,"num_reg_ra_log" ,Tgeneral_address_t,_param->_size_general_register_logic,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); … … 89 90 _ALLOC2_SIGNAL_IN ( in_INSERT_NUM_REG_RC_LOG ,"num_reg_rc_log" ,Tspecial_address_t,_param->_size_special_register_logic,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); 90 91 _ALLOC2_SIGNAL_IN ( in_INSERT_NUM_REG_RC_PHY ,"num_reg_rc_phy" ,Tspecial_address_t,_param->_size_special_register ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); 92 #endif 91 93 _ALLOC2_SIGNAL_IN ( in_INSERT_WRITE_RD ,"write_rd" ,Tcontrol_t ,1 ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); 92 94 _ALLOC2_SIGNAL_IN ( in_INSERT_NUM_REG_RD_LOG ,"num_reg_rd_log" ,Tgeneral_address_t,_param->_size_general_register_logic,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); … … 114 116 _ALLOC2_SIGNAL_OUT(out_RETIRE_STORE_QUEUE_PTR_WRITE ,"store_queue_ptr_write",Tlsq_ptr_t ,_param->_size_store_queue_ptr ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); 115 117 _ALLOC2_SIGNAL_OUT(out_RETIRE_LOAD_QUEUE_PTR_WRITE ,"load_queue_ptr_write" ,Tlsq_ptr_t ,_param->_size_load_queue_ptr ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); 116 _ALLOC2_SIGNAL_OUT(out_RETIRE_READ_RA ,"read_ra" ,Tcontrol_t ,1 ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]);117 _ALLOC2_SIGNAL_OUT(out_RETIRE_NUM_REG_RA_PHY ,"num_reg_ra_phy" ,Tgeneral_address_t,_param->_size_general_register ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]);118 _ALLOC2_SIGNAL_OUT(out_RETIRE_READ_RB ,"read_rb" ,Tcontrol_t ,1 ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]);119 _ALLOC2_SIGNAL_OUT(out_RETIRE_NUM_REG_RB_PHY ,"num_reg_rb_phy" ,Tgeneral_address_t,_param->_size_general_register ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]);120 _ALLOC2_SIGNAL_OUT(out_RETIRE_READ_RC ,"read_rc" ,Tcontrol_t ,1 ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]);121 _ALLOC2_SIGNAL_OUT(out_RETIRE_NUM_REG_RC_PHY ,"num_reg_rc_phy" ,Tspecial_address_t,_param->_size_special_register ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]);118 // _ALLOC2_SIGNAL_OUT(out_RETIRE_READ_RA ,"read_ra" ,Tcontrol_t ,1 ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); 119 // _ALLOC2_SIGNAL_OUT(out_RETIRE_NUM_REG_RA_PHY ,"num_reg_ra_phy" ,Tgeneral_address_t,_param->_size_general_register ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); 120 // _ALLOC2_SIGNAL_OUT(out_RETIRE_READ_RB ,"read_rb" ,Tcontrol_t ,1 ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); 121 // _ALLOC2_SIGNAL_OUT(out_RETIRE_NUM_REG_RB_PHY ,"num_reg_rb_phy" ,Tgeneral_address_t,_param->_size_general_register ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); 122 // _ALLOC2_SIGNAL_OUT(out_RETIRE_READ_RC ,"read_rc" ,Tcontrol_t ,1 ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); 123 // _ALLOC2_SIGNAL_OUT(out_RETIRE_NUM_REG_RC_PHY ,"num_reg_rc_phy" ,Tspecial_address_t,_param->_size_special_register ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); 122 124 _ALLOC2_SIGNAL_OUT(out_RETIRE_WRITE_RD ,"write_rd" ,Tcontrol_t ,1 ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); 123 125 _ALLOC2_SIGNAL_OUT(out_RETIRE_NUM_REG_RD_LOG ,"num_reg_rd_log" ,Tgeneral_address_t,_param->_size_general_register_logic,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/src/Commit_unit_deallocation.cpp
r115 r121 47 47 DELETE2_SIGNAL( in_INSERT_STORE_QUEUE_PTR_WRITE ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1],_param->_size_store_queue_ptr ); 48 48 DELETE2_SIGNAL( in_INSERT_LOAD_QUEUE_PTR_WRITE ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1],_param->_size_load_queue_ptr ); 49 #ifdef DEBUG 49 50 DELETE2_SIGNAL( in_INSERT_READ_RA ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1],1 ); 50 51 DELETE2_SIGNAL( in_INSERT_NUM_REG_RA_LOG ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1],_param->_size_general_register_logic); … … 56 57 DELETE2_SIGNAL( in_INSERT_NUM_REG_RC_LOG ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1],_param->_size_special_register_logic); 57 58 DELETE2_SIGNAL( in_INSERT_NUM_REG_RC_PHY ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1],_param->_size_special_register ); 59 #endif 58 60 DELETE2_SIGNAL( in_INSERT_WRITE_RD ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1],1 ); 59 61 DELETE2_SIGNAL( in_INSERT_NUM_REG_RD_LOG ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1],_param->_size_general_register_logic); … … 74 76 DELETE2_SIGNAL(out_RETIRE_STORE_QUEUE_PTR_WRITE ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1],_param->_size_store_queue_ptr ); 75 77 DELETE2_SIGNAL(out_RETIRE_LOAD_QUEUE_PTR_WRITE ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1],_param->_size_load_queue_ptr ); 76 DELETE2_SIGNAL(out_RETIRE_READ_RA ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1],1 );77 DELETE2_SIGNAL(out_RETIRE_NUM_REG_RA_PHY ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1],_param->_size_general_register );78 DELETE2_SIGNAL(out_RETIRE_READ_RB ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1],1 );79 DELETE2_SIGNAL(out_RETIRE_NUM_REG_RB_PHY ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1],_param->_size_general_register );80 DELETE2_SIGNAL(out_RETIRE_READ_RC ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1],1 );81 DELETE2_SIGNAL(out_RETIRE_NUM_REG_RC_PHY ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1],_param->_size_special_register );78 // DELETE2_SIGNAL(out_RETIRE_READ_RA ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1],1 ); 79 // DELETE2_SIGNAL(out_RETIRE_NUM_REG_RA_PHY ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1],_param->_size_general_register ); 80 // DELETE2_SIGNAL(out_RETIRE_READ_RB ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1],1 ); 81 // DELETE2_SIGNAL(out_RETIRE_NUM_REG_RB_PHY ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1],_param->_size_general_register ); 82 // DELETE2_SIGNAL(out_RETIRE_READ_RC ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1],1 ); 83 // DELETE2_SIGNAL(out_RETIRE_NUM_REG_RC_PHY ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1],_param->_size_special_register ); 82 84 DELETE2_SIGNAL(out_RETIRE_WRITE_RD ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1],1 ); 83 85 DELETE2_SIGNAL(out_RETIRE_NUM_REG_RD_LOG ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1],_param->_size_general_register_logic); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/src/Commit_unit_genMealy_retire.cpp
r112 r121 153 153 if (_param->_have_port_load_queue_ptr) 154 154 PORT_WRITE(out_RETIRE_LOAD_QUEUE_PTR_WRITE [x][y], entry->load_queue_ptr_write ); 155 PORT_WRITE(out_RETIRE_READ_RA [x][y], entry->read_ra );156 PORT_WRITE(out_RETIRE_NUM_REG_RA_PHY [x][y], entry->num_reg_ra_phy );157 PORT_WRITE(out_RETIRE_READ_RB [x][y], entry->read_rb );158 PORT_WRITE(out_RETIRE_NUM_REG_RB_PHY [x][y], entry->num_reg_rb_phy );159 PORT_WRITE(out_RETIRE_READ_RC [x][y], entry->read_rc );160 PORT_WRITE(out_RETIRE_NUM_REG_RC_PHY [x][y], entry->num_reg_rc_phy );155 // PORT_WRITE(out_RETIRE_READ_RA [x][y], entry->read_ra ); 156 // PORT_WRITE(out_RETIRE_NUM_REG_RA_PHY [x][y], entry->num_reg_ra_phy ); 157 // PORT_WRITE(out_RETIRE_READ_RB [x][y], entry->read_rb ); 158 // PORT_WRITE(out_RETIRE_NUM_REG_RB_PHY [x][y], entry->num_reg_rb_phy ); 159 // PORT_WRITE(out_RETIRE_READ_RC [x][y], entry->read_rc ); 160 // PORT_WRITE(out_RETIRE_NUM_REG_RC_PHY [x][y], entry->num_reg_rc_phy ); 161 161 PORT_WRITE(out_RETIRE_WRITE_RD [x][y], entry->write_rd ); 162 162 PORT_WRITE(out_RETIRE_NUM_REG_RD_LOG [x][y], entry->num_reg_rd_log ); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/src/Commit_unit_transition.cpp
r117 r121 156 156 entry->store_queue_ptr_write = PORT_READ(in_INSERT_STORE_QUEUE_PTR_WRITE [x][y]); 157 157 entry->load_queue_ptr_write = (_param->_have_port_load_queue_ptr)?PORT_READ(in_INSERT_LOAD_QUEUE_PTR_WRITE [x][y]):0; 158 #ifdef DEBUG 158 159 entry->read_ra = PORT_READ(in_INSERT_READ_RA [x][y]); 159 160 entry->num_reg_ra_log = PORT_READ(in_INSERT_NUM_REG_RA_LOG [x][y]); … … 165 166 entry->num_reg_rc_log = PORT_READ(in_INSERT_NUM_REG_RC_LOG [x][y]); 166 167 entry->num_reg_rc_phy = PORT_READ(in_INSERT_NUM_REG_RC_PHY [x][y]); 168 #endif 167 169 entry->write_rd = PORT_READ(in_INSERT_WRITE_RD [x][y]); 168 170 entry->num_reg_rd_log = PORT_READ(in_INSERT_NUM_REG_RD_LOG [x][y]); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/OOO_Engine_Glue/SelfTest/src/test.cpp
r110 r121 227 227 if (_param->_have_port_load_queue_ptr) 228 228 INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_COMMIT_UNIT_LOAD_QUEUE_PTR_WRITE ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); 229 #ifdef DEBUG 229 230 INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_COMMIT_UNIT_READ_RA ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); 230 231 INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_COMMIT_UNIT_NUM_REG_RA_PHY ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); … … 233 234 INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_COMMIT_UNIT_READ_RC ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); 234 235 INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_COMMIT_UNIT_NUM_REG_RC_PHY ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); 236 #endif 235 237 INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_COMMIT_UNIT_WRITE_RD ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); 236 238 INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_COMMIT_UNIT_NUM_REG_RD_PHY_OLD ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/OOO_Engine_Glue/include/OOO_Engine_Glue.h
r110 r121 114 114 public : SC_OUT(Tlsq_ptr_t ) *** out_INSERT_COMMIT_UNIT_STORE_QUEUE_PTR_WRITE ;//[nb_rename_unit][nb_inst_insert] 115 115 public : SC_OUT(Tlsq_ptr_t ) *** out_INSERT_COMMIT_UNIT_LOAD_QUEUE_PTR_WRITE ;//[nb_rename_unit][nb_inst_insert] 116 #ifdef DEBUG 116 117 public : SC_OUT(Tcontrol_t ) *** out_INSERT_COMMIT_UNIT_READ_RA ;//[nb_rename_unit][nb_inst_insert] 117 118 public : SC_OUT(Tgeneral_address_t ) *** out_INSERT_COMMIT_UNIT_NUM_REG_RA_PHY ;//[nb_rename_unit][nb_inst_insert] … … 120 121 public : SC_OUT(Tcontrol_t ) *** out_INSERT_COMMIT_UNIT_READ_RC ;//[nb_rename_unit][nb_inst_insert] 121 122 public : SC_OUT(Tspecial_address_t ) *** out_INSERT_COMMIT_UNIT_NUM_REG_RC_PHY ;//[nb_rename_unit][nb_inst_insert] 123 #endif 122 124 public : SC_OUT(Tcontrol_t ) *** out_INSERT_COMMIT_UNIT_WRITE_RD ;//[nb_rename_unit][nb_inst_insert] 123 125 public : SC_OUT(Tgeneral_address_t ) *** out_INSERT_COMMIT_UNIT_NUM_REG_RD_PHY_OLD ;//[nb_rename_unit][nb_inst_insert] -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/OOO_Engine_Glue/src/OOO_Engine_Glue_allocation.cpp
r112 r121 117 117 _ALLOC2_SIGNAL_OUT(out_INSERT_COMMIT_UNIT_STORE_QUEUE_PTR_WRITE ,"COMMIT_UNIT_STORE_QUEUE_PTR_WRITE" ,Tlsq_ptr_t ,_param->_size_store_queue_ptr ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); 118 118 _ALLOC2_SIGNAL_OUT(out_INSERT_COMMIT_UNIT_LOAD_QUEUE_PTR_WRITE ,"COMMIT_UNIT_LOAD_QUEUE_PTR_WRITE" ,Tlsq_ptr_t ,_param->_size_load_queue_ptr ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); 119 #ifdef DEBUG 119 120 _ALLOC2_SIGNAL_OUT(out_INSERT_COMMIT_UNIT_READ_RA ,"COMMIT_UNIT_READ_RA" ,Tcontrol_t ,1 ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); 120 121 _ALLOC2_SIGNAL_OUT(out_INSERT_COMMIT_UNIT_NUM_REG_RA_PHY ,"COMMIT_UNIT_NUM_REG_RA_PHY" ,Tgeneral_address_t ,_param->_size_general_register,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); … … 123 124 _ALLOC2_SIGNAL_OUT(out_INSERT_COMMIT_UNIT_READ_RC ,"COMMIT_UNIT_READ_RC" ,Tcontrol_t ,1 ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); 124 125 _ALLOC2_SIGNAL_OUT(out_INSERT_COMMIT_UNIT_NUM_REG_RC_PHY ,"COMMIT_UNIT_NUM_REG_RC_PHY" ,Tspecial_address_t ,_param->_size_special_register,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); 126 #endif 125 127 _ALLOC2_SIGNAL_OUT(out_INSERT_COMMIT_UNIT_WRITE_RD ,"COMMIT_UNIT_WRITE_RD" ,Tcontrol_t ,1 ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); 126 128 _ALLOC2_SIGNAL_OUT(out_INSERT_COMMIT_UNIT_NUM_REG_RD_PHY_OLD ,"COMMIT_UNIT_NUM_REG_RD_PHY_OLD" ,Tgeneral_address_t ,_param->_size_general_register,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/OOO_Engine_Glue/src/OOO_Engine_Glue_deallocation.cpp
r88 r121 71 71 DELETE2_SIGNAL(out_INSERT_COMMIT_UNIT_STORE_QUEUE_PTR_WRITE ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1],_param->_size_store_queue_ptr ); 72 72 DELETE2_SIGNAL(out_INSERT_COMMIT_UNIT_LOAD_QUEUE_PTR_WRITE ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1],_param->_size_load_queue_ptr ); 73 #ifdef DEBUG 73 74 DELETE2_SIGNAL(out_INSERT_COMMIT_UNIT_READ_RA ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1],1 ); 74 75 DELETE2_SIGNAL(out_INSERT_COMMIT_UNIT_NUM_REG_RA_PHY ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1],_param->_size_general_register); … … 77 78 DELETE2_SIGNAL(out_INSERT_COMMIT_UNIT_READ_RC ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1],1 ); 78 79 DELETE2_SIGNAL(out_INSERT_COMMIT_UNIT_NUM_REG_RC_PHY ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1],_param->_size_special_register); 80 #endif 79 81 DELETE2_SIGNAL(out_INSERT_COMMIT_UNIT_WRITE_RD ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1],1 ); 80 82 DELETE2_SIGNAL(out_INSERT_COMMIT_UNIT_NUM_REG_RD_PHY_OLD ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1],_param->_size_general_register); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/OOO_Engine_Glue/src/OOO_Engine_Glue_genMealy_insert.cpp
r88 r121 69 69 if (_param->_have_port_load_queue_ptr) 70 70 PORT_WRITE(out_INSERT_COMMIT_UNIT_LOAD_QUEUE_PTR_WRITE [i][j],LOAD_QUEUE_PTR_WRITE ); 71 #ifdef DEBUG 71 72 PORT_WRITE(out_INSERT_COMMIT_UNIT_READ_RA [i][j],READ_RA ); 72 73 PORT_WRITE(out_INSERT_COMMIT_UNIT_NUM_REG_RA_PHY [i][j],NUM_REG_RA_PHY ); … … 75 76 PORT_WRITE(out_INSERT_COMMIT_UNIT_READ_RC [i][j],READ_RC ); 76 77 PORT_WRITE(out_INSERT_COMMIT_UNIT_NUM_REG_RC_PHY [i][j],NUM_REG_RC_PHY ); 78 #endif 77 79 PORT_WRITE(out_INSERT_COMMIT_UNIT_WRITE_RD [i][j],WRITE_RD ); 78 80 PORT_WRITE(out_INSERT_COMMIT_UNIT_NUM_REG_RD_PHY_OLD [i][j],NUM_REG_RD_PHY_OLD ); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Dependency_checking_unit/SelfTest/src/test.cpp
r88 r121 135 135 INSTANCE1_SC_SIGNAL(_Dependency_checking_unit,out_RENAME_OUT_CONTEXT_ID ,_param->_nb_inst_insert); 136 136 INSTANCE1_SC_SIGNAL(_Dependency_checking_unit,out_RENAME_OUT_READ_RA ,_param->_nb_inst_insert); 137 #ifdef DEBUG 137 138 INSTANCE1_SC_SIGNAL(_Dependency_checking_unit,out_RENAME_OUT_NUM_REG_RA_LOG ,_param->_nb_inst_insert); 139 #endif 138 140 INSTANCE1_SC_SIGNAL(_Dependency_checking_unit,out_RENAME_OUT_NUM_REG_RA_PHY ,_param->_nb_inst_insert); 139 141 INSTANCE1_SC_SIGNAL(_Dependency_checking_unit,out_RENAME_OUT_READ_RB ,_param->_nb_inst_insert); 142 #ifdef DEBUG 140 143 INSTANCE1_SC_SIGNAL(_Dependency_checking_unit,out_RENAME_OUT_NUM_REG_RB_LOG ,_param->_nb_inst_insert); 144 #endif 141 145 INSTANCE1_SC_SIGNAL(_Dependency_checking_unit,out_RENAME_OUT_NUM_REG_RB_PHY ,_param->_nb_inst_insert); 142 146 INSTANCE1_SC_SIGNAL(_Dependency_checking_unit,out_RENAME_OUT_READ_RC ,_param->_nb_inst_insert); 147 #ifdef DEBUG 143 148 INSTANCE1_SC_SIGNAL(_Dependency_checking_unit,out_RENAME_OUT_NUM_REG_RC_LOG ,_param->_nb_inst_insert); 149 #endif 144 150 INSTANCE1_SC_SIGNAL(_Dependency_checking_unit,out_RENAME_OUT_NUM_REG_RC_PHY ,_param->_nb_inst_insert); 145 151 INSTANCE1_SC_SIGNAL(_Dependency_checking_unit,out_RENAME_OUT_WRITE_RD ,_param->_nb_inst_insert); … … 324 330 325 331 TEST(Tcontrol_t ,out_RENAME_OUT_READ_RA [i]->read(), read_ra ); 332 #ifdef DEBUG 326 333 TEST(Tgeneral_address_t,out_RENAME_OUT_NUM_REG_RA_LOG [i]->read(), num_reg_ra_log ); 334 #endif 327 335 if (read_ra) 328 336 TEST(Tgeneral_address_t,out_RENAME_OUT_NUM_REG_RA_PHY [i]->read(), rat_gpr[front_end_id][context_id][num_reg_ra_log]); 329 337 TEST(Tcontrol_t ,out_RENAME_OUT_READ_RB [i]->read(), read_rb ); 338 #ifdef DEBUG 330 339 TEST(Tgeneral_address_t,out_RENAME_OUT_NUM_REG_RB_LOG [i]->read(), num_reg_rb_log ); 340 #endif 331 341 if (read_rb) 332 342 TEST(Tgeneral_address_t,out_RENAME_OUT_NUM_REG_RB_PHY [i]->read(), rat_gpr[front_end_id][context_id][num_reg_rb_log]); 333 343 TEST(Tcontrol_t ,out_RENAME_OUT_READ_RC [i]->read(), read_rc ); 344 #ifdef DEBUG 334 345 TEST(Tspecial_address_t,out_RENAME_OUT_NUM_REG_RC_LOG [i]->read(), num_reg_rc_log ); 346 #endif 335 347 if (read_rc) 336 348 TEST(Tspecial_address_t,out_RENAME_OUT_NUM_REG_RC_PHY [i]->read(), rat_spr[front_end_id][context_id][num_reg_rc_log]); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Dependency_checking_unit/include/Dependency_checking_unit.h
r82 r121 92 92 public : SC_OUT(Tcontext_t ) ** out_RENAME_OUT_CONTEXT_ID ;//[nb_inst_insert] 93 93 public : SC_OUT(Tcontrol_t ) ** out_RENAME_OUT_READ_RA ;//[nb_inst_insert] 94 #ifdef DEBUG 94 95 public : SC_OUT(Tgeneral_address_t) ** out_RENAME_OUT_NUM_REG_RA_LOG ;//[nb_inst_insert] 96 #endif 95 97 public : SC_OUT(Tgeneral_address_t) ** out_RENAME_OUT_NUM_REG_RA_PHY ;//[nb_inst_insert] 96 98 public : SC_OUT(Tcontrol_t ) ** out_RENAME_OUT_READ_RB ;//[nb_inst_insert] 99 #ifdef DEBUG 97 100 public : SC_OUT(Tgeneral_address_t) ** out_RENAME_OUT_NUM_REG_RB_LOG ;//[nb_inst_insert] 101 #endif 98 102 public : SC_OUT(Tgeneral_address_t) ** out_RENAME_OUT_NUM_REG_RB_PHY ;//[nb_inst_insert] 99 103 public : SC_OUT(Tcontrol_t ) ** out_RENAME_OUT_READ_RC ;//[nb_inst_insert] 104 #ifdef DEBUG 100 105 public : SC_OUT(Tspecial_address_t) ** out_RENAME_OUT_NUM_REG_RC_LOG ;//[nb_inst_insert] 106 #endif 101 107 public : SC_OUT(Tspecial_address_t) ** out_RENAME_OUT_NUM_REG_RC_PHY ;//[nb_inst_insert] 102 108 public : SC_OUT(Tcontrol_t ) ** out_RENAME_OUT_WRITE_RD ;//[nb_inst_insert] -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Dependency_checking_unit/src/Dependency_checking_unit.cpp
r88 r121 131 131 (*(out_RENAME_OUT_CONTEXT_ID [i])) (*(in_RENAME_IN_CONTEXT_ID [i])); 132 132 (*(out_RENAME_OUT_READ_RA [i])) (*(in_RENAME_IN_READ_RA [i])); 133 #ifdef DEBUG 133 134 (*(out_RENAME_OUT_NUM_REG_RA_LOG [i])) (*(in_RENAME_IN_NUM_REG_RA_LOG [i])); 135 #endif 134 136 (*(out_RENAME_OUT_READ_RB [i])) (*(in_RENAME_IN_READ_RB [i])); 137 #ifdef DEBUG 135 138 (*(out_RENAME_OUT_NUM_REG_RB_LOG [i])) (*(in_RENAME_IN_NUM_REG_RB_LOG [i])); 139 #endif 136 140 (*(out_RENAME_OUT_READ_RC [i])) (*(in_RENAME_IN_READ_RC [i])); 141 #ifdef DEBUG 137 142 (*(out_RENAME_OUT_NUM_REG_RC_LOG [i])) (*(in_RENAME_IN_NUM_REG_RC_LOG [i])); 143 #endif 138 144 (*(out_RENAME_OUT_WRITE_RD [i])) (*(in_RENAME_IN_WRITE_RD [i])); 139 145 (*(out_RENAME_OUT_NUM_REG_RD_LOG [i])) (*(in_RENAME_IN_NUM_REG_RD_LOG [i])); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Dependency_checking_unit/src/Dependency_checking_unit_allocation.cpp
r112 r121 94 94 ALLOC1_SIGNAL_OUT(out_RENAME_OUT_CONTEXT_ID ,"context_id" ,Tcontext_t ,_param->_size_context_id ); 95 95 ALLOC1_SIGNAL_OUT(out_RENAME_OUT_READ_RA ,"read_ra" ,Tcontrol_t ,1 ); 96 #ifdef DEBUG 96 97 ALLOC1_SIGNAL_OUT(out_RENAME_OUT_NUM_REG_RA_LOG ,"num_reg_ra_log" ,Tgeneral_address_t,_param->_size_general_register_logic); 98 #endif 97 99 ALLOC1_SIGNAL_OUT(out_RENAME_OUT_NUM_REG_RA_PHY ,"num_reg_ra_phy" ,Tgeneral_address_t,_param->_size_general_register ); 98 100 ALLOC1_SIGNAL_OUT(out_RENAME_OUT_READ_RB ,"read_rb" ,Tcontrol_t ,1 ); 101 #ifdef DEBUG 99 102 ALLOC1_SIGNAL_OUT(out_RENAME_OUT_NUM_REG_RB_LOG ,"num_reg_rb_log" ,Tgeneral_address_t,_param->_size_general_register_logic); 103 #endif 100 104 ALLOC1_SIGNAL_OUT(out_RENAME_OUT_NUM_REG_RB_PHY ,"num_reg_rb_phy" ,Tgeneral_address_t,_param->_size_general_register ); 101 105 ALLOC1_SIGNAL_OUT(out_RENAME_OUT_READ_RC ,"read_rc" ,Tcontrol_t ,1 ); 106 #ifdef DEBUG 102 107 ALLOC1_SIGNAL_OUT(out_RENAME_OUT_NUM_REG_RC_LOG ,"num_reg_rc_log" ,Tspecial_address_t,_param->_size_special_register_logic); 108 #endif 103 109 ALLOC1_SIGNAL_OUT(out_RENAME_OUT_NUM_REG_RC_PHY ,"num_reg_rc_phy" ,Tspecial_address_t,_param->_size_special_register ); 104 110 ALLOC1_SIGNAL_OUT(out_RENAME_OUT_WRITE_RD ,"write_rd" ,Tcontrol_t ,1 ); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Dependency_checking_unit/src/Dependency_checking_unit_deallocation.cpp
r112 r121 57 57 DELETE1_SIGNAL(out_RENAME_OUT_CONTEXT_ID ,_param->_nb_inst_insert,_param->_size_context_id ); 58 58 DELETE1_SIGNAL(out_RENAME_OUT_READ_RA ,_param->_nb_inst_insert,1 ); 59 #ifdef DEBUG 59 60 DELETE1_SIGNAL(out_RENAME_OUT_NUM_REG_RA_LOG ,_param->_nb_inst_insert,_param->_size_general_register_logic); 61 #endif 60 62 DELETE1_SIGNAL(out_RENAME_OUT_NUM_REG_RA_PHY ,_param->_nb_inst_insert,_param->_size_general_register ); 61 63 DELETE1_SIGNAL(out_RENAME_OUT_READ_RB ,_param->_nb_inst_insert,1 ); 64 #ifdef DEBUG 62 65 DELETE1_SIGNAL(out_RENAME_OUT_NUM_REG_RB_LOG ,_param->_nb_inst_insert,_param->_size_general_register_logic); 66 #endif 63 67 DELETE1_SIGNAL(out_RENAME_OUT_NUM_REG_RB_PHY ,_param->_nb_inst_insert,_param->_size_general_register ); 64 68 DELETE1_SIGNAL(out_RENAME_OUT_READ_RC ,_param->_nb_inst_insert,1 ); 69 #ifdef DEBUG 65 70 DELETE1_SIGNAL(out_RENAME_OUT_NUM_REG_RC_LOG ,_param->_nb_inst_insert,_param->_size_special_register_logic); 71 #endif 66 72 DELETE1_SIGNAL(out_RENAME_OUT_NUM_REG_RC_PHY ,_param->_nb_inst_insert,_param->_size_special_register ); 67 73 DELETE1_SIGNAL(out_RENAME_OUT_WRITE_RD ,_param->_nb_inst_insert,1 ); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Dependency_checking_unit/src/Dependency_checking_unit_genMealy.cpp
r88 r121 200 200 PORT_WRITE(out_RENAME_OUT_CONTEXT_ID [i], context_id [i]); 201 201 PORT_WRITE(out_RENAME_OUT_READ_RA [i], read_ra [i]); 202 #ifdef DEBUG 202 203 PORT_WRITE(out_RENAME_OUT_NUM_REG_RA_LOG [i], num_reg_ra_log [i]); 204 #endif 203 205 PORT_WRITE(out_RENAME_OUT_NUM_REG_RA_PHY [i], num_reg_ra_phy [i]); 204 206 PORT_WRITE(out_RENAME_OUT_READ_RB [i], read_rb [i]); 207 #ifdef DEBUG 205 208 PORT_WRITE(out_RENAME_OUT_NUM_REG_RB_LOG [i], num_reg_rb_log [i]); 209 #endif 206 210 PORT_WRITE(out_RENAME_OUT_NUM_REG_RB_PHY [i], num_reg_rb_phy [i]); 207 211 PORT_WRITE(out_RENAME_OUT_READ_RC [i], read_rc [i]); 212 #ifdef DEBUG 208 213 PORT_WRITE(out_RENAME_OUT_NUM_REG_RC_LOG [i], num_reg_rc_log [i]); 214 #endif 209 215 PORT_WRITE(out_RENAME_OUT_NUM_REG_RC_PHY [i], num_reg_rc_phy [i]); 210 216 PORT_WRITE(out_RENAME_OUT_WRITE_RD [i], write_rd [i]); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/SelfTest/src/test.cpp
r104 r121 91 91 ALLOC1_SC_SIGNAL( in_RETIRE_FRONT_END_ID ," in_RETIRE_FRONT_END_ID ",Tcontext_t ,_param->_nb_inst_retire); 92 92 ALLOC1_SC_SIGNAL( in_RETIRE_CONTEXT_ID ," in_RETIRE_CONTEXT_ID ",Tcontext_t ,_param->_nb_inst_retire); 93 ALLOC1_SC_SIGNAL( in_RETIRE_READ_RA ," in_RETIRE_READ_RA ",Tcontrol_t ,_param->_nb_inst_retire);94 ALLOC1_SC_SIGNAL( in_RETIRE_NUM_REG_RA_PHY ," in_RETIRE_NUM_REG_RA_PHY ",Tgeneral_address_t,_param->_nb_inst_retire);95 ALLOC1_SC_SIGNAL( in_RETIRE_READ_RB ," in_RETIRE_READ_RB ",Tcontrol_t ,_param->_nb_inst_retire);96 ALLOC1_SC_SIGNAL( in_RETIRE_NUM_REG_RB_PHY ," in_RETIRE_NUM_REG_RB_PHY ",Tgeneral_address_t,_param->_nb_inst_retire);97 ALLOC1_SC_SIGNAL( in_RETIRE_READ_RC ," in_RETIRE_READ_RC ",Tcontrol_t ,_param->_nb_inst_retire);98 ALLOC1_SC_SIGNAL( in_RETIRE_NUM_REG_RC_PHY ," in_RETIRE_NUM_REG_RC_PHY ",Tspecial_address_t,_param->_nb_inst_retire);93 // ALLOC1_SC_SIGNAL( in_RETIRE_READ_RA ," in_RETIRE_READ_RA ",Tcontrol_t ,_param->_nb_inst_retire); 94 // ALLOC1_SC_SIGNAL( in_RETIRE_NUM_REG_RA_PHY ," in_RETIRE_NUM_REG_RA_PHY ",Tgeneral_address_t,_param->_nb_inst_retire); 95 // ALLOC1_SC_SIGNAL( in_RETIRE_READ_RB ," in_RETIRE_READ_RB ",Tcontrol_t ,_param->_nb_inst_retire); 96 // ALLOC1_SC_SIGNAL( in_RETIRE_NUM_REG_RB_PHY ," in_RETIRE_NUM_REG_RB_PHY ",Tgeneral_address_t,_param->_nb_inst_retire); 97 // ALLOC1_SC_SIGNAL( in_RETIRE_READ_RC ," in_RETIRE_READ_RC ",Tcontrol_t ,_param->_nb_inst_retire); 98 // ALLOC1_SC_SIGNAL( in_RETIRE_NUM_REG_RC_PHY ," in_RETIRE_NUM_REG_RC_PHY ",Tspecial_address_t,_param->_nb_inst_retire); 99 99 ALLOC1_SC_SIGNAL( in_RETIRE_WRITE_RD ," in_RETIRE_WRITE_RD ",Tcontrol_t ,_param->_nb_inst_retire); 100 100 ALLOC1_SC_SIGNAL( in_RETIRE_NUM_REG_RD_LOG ," in_RETIRE_NUM_REG_RD_LOG ",Tgeneral_address_t,_param->_nb_inst_retire); … … 143 143 INSTANCE1_SC_SIGNAL(_Register_translation_unit,out_INSERT_CONTEXT_ID ,_param->_nb_inst_insert); 144 144 INSTANCE1_SC_SIGNAL(_Register_translation_unit,out_INSERT_READ_RA ,_param->_nb_inst_insert); 145 #ifdef DEBUG 145 146 INSTANCE1_SC_SIGNAL(_Register_translation_unit,out_INSERT_NUM_REG_RA_LOG ,_param->_nb_inst_insert); 147 #endif 146 148 INSTANCE1_SC_SIGNAL(_Register_translation_unit,out_INSERT_NUM_REG_RA_PHY ,_param->_nb_inst_insert); 147 149 INSTANCE1_SC_SIGNAL(_Register_translation_unit,out_INSERT_READ_RB ,_param->_nb_inst_insert); 150 #ifdef DEBUG 148 151 INSTANCE1_SC_SIGNAL(_Register_translation_unit,out_INSERT_NUM_REG_RB_LOG ,_param->_nb_inst_insert); 152 #endif 149 153 INSTANCE1_SC_SIGNAL(_Register_translation_unit,out_INSERT_NUM_REG_RB_PHY ,_param->_nb_inst_insert); 150 154 INSTANCE1_SC_SIGNAL(_Register_translation_unit,out_INSERT_READ_RC ,_param->_nb_inst_insert); 155 #ifdef DEBUG 151 156 INSTANCE1_SC_SIGNAL(_Register_translation_unit,out_INSERT_NUM_REG_RC_LOG ,_param->_nb_inst_insert); 157 #enif 152 158 INSTANCE1_SC_SIGNAL(_Register_translation_unit,out_INSERT_NUM_REG_RC_PHY ,_param->_nb_inst_insert); 153 159 INSTANCE1_SC_SIGNAL(_Register_translation_unit,out_INSERT_WRITE_RD ,_param->_nb_inst_insert); … … 166 172 if (_param->_have_port_context_id) 167 173 INSTANCE1_SC_SIGNAL(_Register_translation_unit, in_RETIRE_CONTEXT_ID ,_param->_nb_inst_retire); 168 INSTANCE1_SC_SIGNAL(_Register_translation_unit, in_RETIRE_READ_RA ,_param->_nb_inst_retire);169 INSTANCE1_SC_SIGNAL(_Register_translation_unit, in_RETIRE_NUM_REG_RA_PHY ,_param->_nb_inst_retire);170 INSTANCE1_SC_SIGNAL(_Register_translation_unit, in_RETIRE_READ_RB ,_param->_nb_inst_retire);171 INSTANCE1_SC_SIGNAL(_Register_translation_unit, in_RETIRE_NUM_REG_RB_PHY ,_param->_nb_inst_retire);172 INSTANCE1_SC_SIGNAL(_Register_translation_unit, in_RETIRE_READ_RC ,_param->_nb_inst_retire);173 INSTANCE1_SC_SIGNAL(_Register_translation_unit, in_RETIRE_NUM_REG_RC_PHY ,_param->_nb_inst_retire);174 // INSTANCE1_SC_SIGNAL(_Register_translation_unit, in_RETIRE_READ_RA ,_param->_nb_inst_retire); 175 // INSTANCE1_SC_SIGNAL(_Register_translation_unit, in_RETIRE_NUM_REG_RA_PHY ,_param->_nb_inst_retire); 176 // INSTANCE1_SC_SIGNAL(_Register_translation_unit, in_RETIRE_READ_RB ,_param->_nb_inst_retire); 177 // INSTANCE1_SC_SIGNAL(_Register_translation_unit, in_RETIRE_NUM_REG_RB_PHY ,_param->_nb_inst_retire); 178 // INSTANCE1_SC_SIGNAL(_Register_translation_unit, in_RETIRE_READ_RC ,_param->_nb_inst_retire); 179 // INSTANCE1_SC_SIGNAL(_Register_translation_unit, in_RETIRE_NUM_REG_RC_PHY ,_param->_nb_inst_retire); 174 180 INSTANCE1_SC_SIGNAL(_Register_translation_unit, in_RETIRE_WRITE_RD ,_param->_nb_inst_retire); 175 181 INSTANCE1_SC_SIGNAL(_Register_translation_unit, in_RETIRE_NUM_REG_RD_LOG ,_param->_nb_inst_retire); … … 249 255 delete [] out_INSERT_CONTEXT_ID ; 250 256 delete [] out_INSERT_READ_RA ; 257 #ifdef DEBUG 251 258 delete [] out_INSERT_NUM_REG_RA_LOG ; 259 #endif 252 260 delete [] out_INSERT_NUM_REG_RA_PHY ; 253 261 delete [] out_INSERT_READ_RB ; 262 #ifdef DEBUG 254 263 delete [] out_INSERT_NUM_REG_RB_LOG ; 264 #endif 255 265 delete [] out_INSERT_NUM_REG_RB_PHY ; 256 266 delete [] out_INSERT_READ_RC ; 267 #ifdef DEBUG 257 268 delete [] out_INSERT_NUM_REG_RC_LOG ; 269 #endif 258 270 delete [] out_INSERT_NUM_REG_RC_PHY ; 259 271 delete [] out_INSERT_WRITE_RD ; … … 270 282 delete [] in_RETIRE_FRONT_END_ID ; 271 283 delete [] in_RETIRE_CONTEXT_ID ; 272 delete [] in_RETIRE_READ_RA ;273 delete [] in_RETIRE_NUM_REG_RA_PHY ;274 delete [] in_RETIRE_READ_RB ;275 delete [] in_RETIRE_NUM_REG_RB_PHY ;276 delete [] in_RETIRE_READ_RC ;277 delete [] in_RETIRE_NUM_REG_RC_PHY ;284 // delete [] in_RETIRE_READ_RA ; 285 // delete [] in_RETIRE_NUM_REG_RA_PHY ; 286 // delete [] in_RETIRE_READ_RB ; 287 // delete [] in_RETIRE_NUM_REG_RB_PHY ; 288 // delete [] in_RETIRE_READ_RC ; 289 // delete [] in_RETIRE_NUM_REG_RC_PHY ; 278 290 delete [] in_RETIRE_WRITE_RD ; 279 291 delete [] in_RETIRE_NUM_REG_RD_LOG ; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Stat_List_unit/include/Stat_List_unit.h
r118 r121 82 82 public : SC_OUT(Tcontrol_t ) ** out_RETIRE_ACK ;//[nb_inst_retire] 83 83 public : SC_IN (Tcontrol_t ) ** in_RETIRE_RESTORE ;//[nb_inst_retire] 84 public : SC_IN (Tcontrol_t ) ** in_RETIRE_READ_RA ;//[nb_inst_retire]85 public : SC_IN (Tgeneral_address_t) ** in_RETIRE_NUM_REG_RA_PHY ;//[nb_inst_retire]86 public : SC_IN (Tcontrol_t ) ** in_RETIRE_READ_RB ;//[nb_inst_retire]87 public : SC_IN (Tgeneral_address_t) ** in_RETIRE_NUM_REG_RB_PHY ;//[nb_inst_retire]88 public : SC_IN (Tcontrol_t ) ** in_RETIRE_READ_RC ;//[nb_inst_retire]89 public : SC_IN (Tspecial_address_t) ** in_RETIRE_NUM_REG_RC_PHY ;//[nb_inst_retire]84 // public : SC_IN (Tcontrol_t ) ** in_RETIRE_READ_RA ;//[nb_inst_retire] 85 // public : SC_IN (Tgeneral_address_t) ** in_RETIRE_NUM_REG_RA_PHY ;//[nb_inst_retire] 86 // public : SC_IN (Tcontrol_t ) ** in_RETIRE_READ_RB ;//[nb_inst_retire] 87 // public : SC_IN (Tgeneral_address_t) ** in_RETIRE_NUM_REG_RB_PHY ;//[nb_inst_retire] 88 // public : SC_IN (Tcontrol_t ) ** in_RETIRE_READ_RC ;//[nb_inst_retire] 89 // public : SC_IN (Tspecial_address_t) ** in_RETIRE_NUM_REG_RC_PHY ;//[nb_inst_retire] 90 90 public : SC_IN (Tcontrol_t ) ** in_RETIRE_WRITE_RD ;//[nb_inst_retire] 91 91 public : SC_IN (Tcontrol_t ) ** in_RETIRE_RESTORE_RD_PHY_OLD;//[nb_inst_retire] -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Stat_List_unit/src/Stat_List_unit_allocation.cpp
r118 r121 85 85 ALLOC1_VALACK_OUT(out_RETIRE_ACK ,ACK); 86 86 ALLOC1_SIGNAL_IN ( in_RETIRE_RESTORE ,"restore" ,Tcontrol_t ,1 ); 87 ALLOC1_SIGNAL_IN ( in_RETIRE_READ_RA ,"read_ra" ,Tcontrol_t ,1 );88 ALLOC1_SIGNAL_IN ( in_RETIRE_NUM_REG_RA_PHY ,"num_reg_ra_phy" ,Tgeneral_address_t,_param->_size_general_register);89 ALLOC1_SIGNAL_IN ( in_RETIRE_READ_RB ,"read_rb" ,Tcontrol_t ,1 );90 ALLOC1_SIGNAL_IN ( in_RETIRE_NUM_REG_RB_PHY ,"num_reg_rb_phy" ,Tgeneral_address_t,_param->_size_general_register);91 ALLOC1_SIGNAL_IN ( in_RETIRE_READ_RC ,"read_rc" ,Tcontrol_t ,1 );92 ALLOC1_SIGNAL_IN ( in_RETIRE_NUM_REG_RC_PHY ,"num_reg_rc_phy" ,Tspecial_address_t,_param->_size_special_register);87 // ALLOC1_SIGNAL_IN ( in_RETIRE_READ_RA ,"read_ra" ,Tcontrol_t ,1 ); 88 // ALLOC1_SIGNAL_IN ( in_RETIRE_NUM_REG_RA_PHY ,"num_reg_ra_phy" ,Tgeneral_address_t,_param->_size_general_register); 89 // ALLOC1_SIGNAL_IN ( in_RETIRE_READ_RB ,"read_rb" ,Tcontrol_t ,1 ); 90 // ALLOC1_SIGNAL_IN ( in_RETIRE_NUM_REG_RB_PHY ,"num_reg_rb_phy" ,Tgeneral_address_t,_param->_size_general_register); 91 // ALLOC1_SIGNAL_IN ( in_RETIRE_READ_RC ,"read_rc" ,Tcontrol_t ,1 ); 92 // ALLOC1_SIGNAL_IN ( in_RETIRE_NUM_REG_RC_PHY ,"num_reg_rc_phy" ,Tspecial_address_t,_param->_size_special_register); 93 93 ALLOC1_SIGNAL_IN ( in_RETIRE_WRITE_RD ,"write_rd" ,Tcontrol_t ,1 ); 94 94 ALLOC1_SIGNAL_IN ( in_RETIRE_RESTORE_RD_PHY_OLD,"restore_rd_phy_old",Tcontrol_t ,1 ); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Stat_List_unit/src/Stat_List_unit_deallocation.cpp
r118 r121 48 48 DELETE1_SIGNAL(out_RETIRE_ACK ,_param->_nb_inst_retire,1); 49 49 DELETE1_SIGNAL( in_RETIRE_RESTORE ,_param->_nb_inst_retire,1 ); 50 DELETE1_SIGNAL( in_RETIRE_READ_RA ,_param->_nb_inst_retire,1 );51 DELETE1_SIGNAL( in_RETIRE_NUM_REG_RA_PHY ,_param->_nb_inst_retire,_param->_size_general_register);52 DELETE1_SIGNAL( in_RETIRE_READ_RB ,_param->_nb_inst_retire,1 );53 DELETE1_SIGNAL( in_RETIRE_NUM_REG_RB_PHY ,_param->_nb_inst_retire,_param->_size_general_register);54 DELETE1_SIGNAL( in_RETIRE_READ_RC ,_param->_nb_inst_retire,1 );55 DELETE1_SIGNAL( in_RETIRE_NUM_REG_RC_PHY ,_param->_nb_inst_retire,_param->_size_special_register);50 // DELETE1_SIGNAL( in_RETIRE_READ_RA ,_param->_nb_inst_retire,1 ); 51 // DELETE1_SIGNAL( in_RETIRE_NUM_REG_RA_PHY ,_param->_nb_inst_retire,_param->_size_general_register); 52 // DELETE1_SIGNAL( in_RETIRE_READ_RB ,_param->_nb_inst_retire,1 ); 53 // DELETE1_SIGNAL( in_RETIRE_NUM_REG_RB_PHY ,_param->_nb_inst_retire,_param->_size_general_register); 54 // DELETE1_SIGNAL( in_RETIRE_READ_RC ,_param->_nb_inst_retire,1 ); 55 // DELETE1_SIGNAL( in_RETIRE_NUM_REG_RC_PHY ,_param->_nb_inst_retire,_param->_size_special_register); 56 56 DELETE1_SIGNAL( in_RETIRE_WRITE_RD ,_param->_nb_inst_retire,1 ); 57 57 DELETE1_SIGNAL( in_RETIRE_RESTORE_RD_PHY_OLD,_param->_nb_inst_retire,1 ); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/include/Register_translation_unit.h
r104 r121 89 89 public : SC_OUT(Tcontext_t ) ** out_INSERT_CONTEXT_ID ;//[nb_inst_insert] 90 90 public : SC_OUT(Tcontrol_t ) ** out_INSERT_READ_RA ;//[nb_inst_insert] 91 #ifdef DEBUG 91 92 public : SC_OUT(Tgeneral_address_t) ** out_INSERT_NUM_REG_RA_LOG ;//[nb_inst_insert] 93 #endif 92 94 public : SC_OUT(Tgeneral_address_t) ** out_INSERT_NUM_REG_RA_PHY ;//[nb_inst_insert] 93 95 public : SC_OUT(Tcontrol_t ) ** out_INSERT_READ_RB ;//[nb_inst_insert] 96 #ifdef DEBUG 94 97 public : SC_OUT(Tgeneral_address_t) ** out_INSERT_NUM_REG_RB_LOG ;//[nb_inst_insert] 98 #endif 95 99 public : SC_OUT(Tgeneral_address_t) ** out_INSERT_NUM_REG_RB_PHY ;//[nb_inst_insert] 96 100 public : SC_OUT(Tcontrol_t ) ** out_INSERT_READ_RC ;//[nb_inst_insert] 101 #ifdef DEBUG 97 102 public : SC_OUT(Tspecial_address_t) ** out_INSERT_NUM_REG_RC_LOG ;//[nb_inst_insert] 103 #endif 98 104 public : SC_OUT(Tspecial_address_t) ** out_INSERT_NUM_REG_RC_PHY ;//[nb_inst_insert] 99 105 public : SC_OUT(Tcontrol_t ) ** out_INSERT_WRITE_RD ;//[nb_inst_insert] … … 111 117 public : SC_IN (Tcontext_t ) ** in_RETIRE_FRONT_END_ID ;//[nb_inst_retire] 112 118 public : SC_IN (Tcontext_t ) ** in_RETIRE_CONTEXT_ID ;//[nb_inst_retire] 113 public : SC_IN (Tcontrol_t ) ** in_RETIRE_READ_RA ;//[nb_inst_retire]114 public : SC_IN (Tgeneral_address_t) ** in_RETIRE_NUM_REG_RA_PHY ;//[nb_inst_retire]115 public : SC_IN (Tcontrol_t ) ** in_RETIRE_READ_RB ;//[nb_inst_retire]116 public : SC_IN (Tgeneral_address_t) ** in_RETIRE_NUM_REG_RB_PHY ;//[nb_inst_retire]117 public : SC_IN (Tcontrol_t ) ** in_RETIRE_READ_RC ;//[nb_inst_retire]118 public : SC_IN (Tspecial_address_t) ** in_RETIRE_NUM_REG_RC_PHY ;//[nb_inst_retire]119 // public : SC_IN (Tcontrol_t ) ** in_RETIRE_READ_RA ;//[nb_inst_retire] 120 // public : SC_IN (Tgeneral_address_t) ** in_RETIRE_NUM_REG_RA_PHY ;//[nb_inst_retire] 121 // public : SC_IN (Tcontrol_t ) ** in_RETIRE_READ_RB ;//[nb_inst_retire] 122 // public : SC_IN (Tgeneral_address_t) ** in_RETIRE_NUM_REG_RB_PHY ;//[nb_inst_retire] 123 // public : SC_IN (Tcontrol_t ) ** in_RETIRE_READ_RC ;//[nb_inst_retire] 124 // public : SC_IN (Tspecial_address_t) ** in_RETIRE_NUM_REG_RC_PHY ;//[nb_inst_retire] 119 125 public : SC_IN (Tcontrol_t ) ** in_RETIRE_WRITE_RD ;//[nb_inst_retire] 120 126 public : SC_IN (Tgeneral_address_t) ** in_RETIRE_NUM_REG_RD_LOG ;//[nb_inst_retire] -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/src/Register_translation_unit_allocation.cpp
r117 r121 87 87 ALLOC1_SIGNAL_OUT(out_INSERT_CONTEXT_ID ,"context_id" ,Tcontext_t ,_param->_size_context_id ); 88 88 ALLOC1_SIGNAL_OUT(out_INSERT_READ_RA ,"read_ra" ,Tcontrol_t ,1 ); 89 #ifdef DEBUG 89 90 ALLOC1_SIGNAL_OUT(out_INSERT_NUM_REG_RA_LOG ,"num_reg_ra_log" ,Tgeneral_address_t,_param->_size_general_register_logic); 91 #endif 90 92 ALLOC1_SIGNAL_OUT(out_INSERT_NUM_REG_RA_PHY ,"num_reg_ra_phy" ,Tgeneral_address_t,_param->_size_general_register ); 91 93 ALLOC1_SIGNAL_OUT(out_INSERT_READ_RB ,"read_rb" ,Tcontrol_t ,1 ); 94 #ifdef DEBUG 92 95 ALLOC1_SIGNAL_OUT(out_INSERT_NUM_REG_RB_LOG ,"num_reg_rb_log" ,Tgeneral_address_t,_param->_size_general_register_logic); 96 #endif 93 97 ALLOC1_SIGNAL_OUT(out_INSERT_NUM_REG_RB_PHY ,"num_reg_rb_phy" ,Tgeneral_address_t,_param->_size_general_register ); 94 98 ALLOC1_SIGNAL_OUT(out_INSERT_READ_RC ,"read_rc" ,Tcontrol_t ,1 ); 99 #ifdef DEBUG 95 100 ALLOC1_SIGNAL_OUT(out_INSERT_NUM_REG_RC_LOG ,"num_reg_rc_log" ,Tspecial_address_t,_param->_size_special_register_logic); 101 #endif 96 102 ALLOC1_SIGNAL_OUT(out_INSERT_NUM_REG_RC_PHY ,"num_reg_rc_phy" ,Tspecial_address_t,_param->_size_special_register ); 97 103 ALLOC1_SIGNAL_OUT(out_INSERT_WRITE_RD ,"write_rd" ,Tcontrol_t ,1 ); … … 115 121 ALLOC1_SIGNAL_IN ( in_RETIRE_FRONT_END_ID ,"front_end_id" ,Tcontext_t ,_param->_size_front_end_id ); 116 122 ALLOC1_SIGNAL_IN ( in_RETIRE_CONTEXT_ID ,"context_id" ,Tcontext_t ,_param->_size_context_id ); 117 ALLOC1_SIGNAL_IN ( in_RETIRE_READ_RA ,"read_ra" ,Tcontrol_t ,1 );118 ALLOC1_SIGNAL_IN ( in_RETIRE_NUM_REG_RA_PHY ,"num_reg_ra_phy" ,Tgeneral_address_t,_param->_size_general_register );119 ALLOC1_SIGNAL_IN ( in_RETIRE_READ_RB ,"read_rb" ,Tcontrol_t ,1 );120 ALLOC1_SIGNAL_IN ( in_RETIRE_NUM_REG_RB_PHY ,"num_reg_rb_phy" ,Tgeneral_address_t,_param->_size_general_register );121 ALLOC1_SIGNAL_IN ( in_RETIRE_READ_RC ,"read_rc" ,Tcontrol_t ,1 );122 ALLOC1_SIGNAL_IN ( in_RETIRE_NUM_REG_RC_PHY ,"num_reg_rc_phy" ,Tspecial_address_t,_param->_size_special_register );123 // ALLOC1_SIGNAL_IN ( in_RETIRE_READ_RA ,"read_ra" ,Tcontrol_t ,1 ); 124 // ALLOC1_SIGNAL_IN ( in_RETIRE_NUM_REG_RA_PHY ,"num_reg_ra_phy" ,Tgeneral_address_t,_param->_size_general_register ); 125 // ALLOC1_SIGNAL_IN ( in_RETIRE_READ_RB ,"read_rb" ,Tcontrol_t ,1 ); 126 // ALLOC1_SIGNAL_IN ( in_RETIRE_NUM_REG_RB_PHY ,"num_reg_rb_phy" ,Tgeneral_address_t,_param->_size_general_register ); 127 // ALLOC1_SIGNAL_IN ( in_RETIRE_READ_RC ,"read_rc" ,Tcontrol_t ,1 ); 128 // ALLOC1_SIGNAL_IN ( in_RETIRE_NUM_REG_RC_PHY ,"num_reg_rc_phy" ,Tspecial_address_t,_param->_size_special_register ); 123 129 ALLOC1_SIGNAL_IN ( in_RETIRE_WRITE_RD ,"write_rd" ,Tcontrol_t ,1 ); 124 130 ALLOC1_SIGNAL_IN ( in_RETIRE_NUM_REG_RD_LOG ,"num_reg_rd_log" ,Tgeneral_address_t,_param->_size_general_register_logic); … … 549 555 PORT_MAP(_component,src ,"out_RENAME_OUT_"+toString(i)+"_CONTEXT_ID" , 550 556 dest,"out_INSERT_"+toString(i)+"_CONTEXT_ID" ); 557 #ifdef DEBUG 551 558 PORT_MAP(_component,src ,"out_RENAME_OUT_"+toString(i)+"_NUM_REG_RA_LOG" , 552 559 dest,"out_INSERT_"+toString(i)+"_NUM_REG_RA_LOG" ); … … 555 562 PORT_MAP(_component,src ,"out_RENAME_OUT_"+toString(i)+"_NUM_REG_RC_LOG" , 556 563 dest,"out_INSERT_"+toString(i)+"_NUM_REG_RC_LOG" ); 564 #endif 557 565 558 566 // PORT_MAP(_component,src ,"out_RENAME_OUT_"+toString(i)+"_VAL" , … … 659 667 #endif 660 668 661 PORT_MAP(_component,src , "in_RETIRE_"+toString(i)+"_READ_RA" ,662 dest, "in_RETIRE_"+toString(i)+"_READ_RA" );663 PORT_MAP(_component,src , "in_RETIRE_"+toString(i)+"_NUM_REG_RA_PHY" ,664 dest, "in_RETIRE_"+toString(i)+"_NUM_REG_RA_PHY" );665 PORT_MAP(_component,src , "in_RETIRE_"+toString(i)+"_READ_RB" ,666 dest, "in_RETIRE_"+toString(i)+"_READ_RB" );667 PORT_MAP(_component,src , "in_RETIRE_"+toString(i)+"_NUM_REG_RB_PHY" ,668 dest, "in_RETIRE_"+toString(i)+"_NUM_REG_RB_PHY" );669 PORT_MAP(_component,src , "in_RETIRE_"+toString(i)+"_READ_RC" ,670 dest, "in_RETIRE_"+toString(i)+"_READ_RC" );671 PORT_MAP(_component,src , "in_RETIRE_"+toString(i)+"_NUM_REG_RC_PHY" ,672 dest, "in_RETIRE_"+toString(i)+"_NUM_REG_RC_PHY" );669 // PORT_MAP(_component,src , "in_RETIRE_"+toString(i)+"_READ_RA" , 670 // dest, "in_RETIRE_"+toString(i)+"_READ_RA" ); 671 // PORT_MAP(_component,src , "in_RETIRE_"+toString(i)+"_NUM_REG_RA_PHY" , 672 // dest, "in_RETIRE_"+toString(i)+"_NUM_REG_RA_PHY" ); 673 // PORT_MAP(_component,src , "in_RETIRE_"+toString(i)+"_READ_RB" , 674 // dest, "in_RETIRE_"+toString(i)+"_READ_RB" ); 675 // PORT_MAP(_component,src , "in_RETIRE_"+toString(i)+"_NUM_REG_RB_PHY" , 676 // dest, "in_RETIRE_"+toString(i)+"_NUM_REG_RB_PHY" ); 677 // PORT_MAP(_component,src , "in_RETIRE_"+toString(i)+"_READ_RC" , 678 // dest, "in_RETIRE_"+toString(i)+"_READ_RC" ); 679 // PORT_MAP(_component,src , "in_RETIRE_"+toString(i)+"_NUM_REG_RC_PHY" , 680 // dest, "in_RETIRE_"+toString(i)+"_NUM_REG_RC_PHY" ); 673 681 PORT_MAP(_component,src , "in_RETIRE_"+toString(i)+"_WRITE_RD" , 674 682 dest, "in_RETIRE_"+toString(i)+"_WRITE_RD" ); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/src/Register_translation_unit_deallocation.cpp
r112 r121 49 49 DELETE1_SIGNAL(out_INSERT_CONTEXT_ID ,_param->_nb_inst_insert,_param->_size_context_id ); 50 50 DELETE1_SIGNAL(out_INSERT_READ_RA ,_param->_nb_inst_insert,1 ); 51 #ifdef DEBUG 51 52 DELETE1_SIGNAL(out_INSERT_NUM_REG_RA_LOG ,_param->_nb_inst_insert,_param->_size_general_register_logic); 53 #endif 52 54 DELETE1_SIGNAL(out_INSERT_NUM_REG_RA_PHY ,_param->_nb_inst_insert,_param->_size_general_register ); 53 55 DELETE1_SIGNAL(out_INSERT_READ_RB ,_param->_nb_inst_insert,1 ); 56 #ifdef DEBUG 54 57 DELETE1_SIGNAL(out_INSERT_NUM_REG_RB_LOG ,_param->_nb_inst_insert,_param->_size_general_register_logic); 58 #endif 55 59 DELETE1_SIGNAL(out_INSERT_NUM_REG_RB_PHY ,_param->_nb_inst_insert,_param->_size_general_register ); 56 60 DELETE1_SIGNAL(out_INSERT_READ_RC ,_param->_nb_inst_insert,1 ); 61 #ifdef DEBUG 57 62 DELETE1_SIGNAL(out_INSERT_NUM_REG_RC_LOG ,_param->_nb_inst_insert,_param->_size_special_register_logic); 63 #endif 58 64 DELETE1_SIGNAL(out_INSERT_NUM_REG_RC_PHY ,_param->_nb_inst_insert,_param->_size_special_register ); 59 65 DELETE1_SIGNAL(out_INSERT_WRITE_RD ,_param->_nb_inst_insert,1 ); … … 70 76 DELETE1_SIGNAL( in_RETIRE_FRONT_END_ID ,_param->_nb_inst_retire,_param->_size_front_end_id ); 71 77 DELETE1_SIGNAL( in_RETIRE_CONTEXT_ID ,_param->_nb_inst_retire,_param->_size_context_id ); 72 DELETE1_SIGNAL( in_RETIRE_READ_RA ,_param->_nb_inst_retire,1 );73 DELETE1_SIGNAL( in_RETIRE_NUM_REG_RA_PHY ,_param->_nb_inst_retire,_param->_size_general_register );74 DELETE1_SIGNAL( in_RETIRE_READ_RB ,_param->_nb_inst_retire,1 );75 DELETE1_SIGNAL( in_RETIRE_NUM_REG_RB_PHY ,_param->_nb_inst_retire,_param->_size_general_register );76 DELETE1_SIGNAL( in_RETIRE_READ_RC ,_param->_nb_inst_retire,1 );77 DELETE1_SIGNAL( in_RETIRE_NUM_REG_RC_PHY ,_param->_nb_inst_retire,_param->_size_special_register );78 // DELETE1_SIGNAL( in_RETIRE_READ_RA ,_param->_nb_inst_retire,1 ); 79 // DELETE1_SIGNAL( in_RETIRE_NUM_REG_RA_PHY ,_param->_nb_inst_retire,_param->_size_general_register ); 80 // DELETE1_SIGNAL( in_RETIRE_READ_RB ,_param->_nb_inst_retire,1 ); 81 // DELETE1_SIGNAL( in_RETIRE_NUM_REG_RB_PHY ,_param->_nb_inst_retire,_param->_size_general_register ); 82 // DELETE1_SIGNAL( in_RETIRE_READ_RC ,_param->_nb_inst_retire,1 ); 83 // DELETE1_SIGNAL( in_RETIRE_NUM_REG_RC_PHY ,_param->_nb_inst_retire,_param->_size_special_register ); 78 84 DELETE1_SIGNAL( in_RETIRE_WRITE_RD ,_param->_nb_inst_retire,1 ); 79 85 DELETE1_SIGNAL( in_RETIRE_NUM_REG_RD_LOG ,_param->_nb_inst_retire,_param->_size_general_register_logic); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/SelfTest/src/test.cpp
r108 r121 121 121 ALLOC1_SC_SIGNAL( in_RETIRE_STORE_QUEUE_PTR_WRITE," in_RETIRE_STORE_QUEUE_PTR_WRITE",Tlsq_ptr_t ,_param->_nb_inst_retire); 122 122 ALLOC1_SC_SIGNAL( in_RETIRE_LOAD_QUEUE_PTR_WRITE ," in_RETIRE_LOAD_QUEUE_PTR_WRITE ",Tlsq_ptr_t ,_param->_nb_inst_retire); 123 ALLOC1_SC_SIGNAL( in_RETIRE_READ_RA ," in_RETIRE_READ_RA ",Tcontrol_t ,_param->_nb_inst_retire);124 ALLOC1_SC_SIGNAL( in_RETIRE_NUM_REG_RA_PHY ," in_RETIRE_NUM_REG_RA_PHY ",Tgeneral_address_t,_param->_nb_inst_retire);125 ALLOC1_SC_SIGNAL( in_RETIRE_READ_RB ," in_RETIRE_READ_RB ",Tcontrol_t ,_param->_nb_inst_retire);126 ALLOC1_SC_SIGNAL( in_RETIRE_NUM_REG_RB_PHY ," in_RETIRE_NUM_REG_RB_PHY ",Tgeneral_address_t,_param->_nb_inst_retire);127 ALLOC1_SC_SIGNAL( in_RETIRE_READ_RC ," in_RETIRE_READ_RC ",Tcontrol_t ,_param->_nb_inst_retire);128 ALLOC1_SC_SIGNAL( in_RETIRE_NUM_REG_RC_PHY ," in_RETIRE_NUM_REG_RC_PHY ",Tspecial_address_t,_param->_nb_inst_retire);123 // ALLOC1_SC_SIGNAL( in_RETIRE_READ_RA ," in_RETIRE_READ_RA ",Tcontrol_t ,_param->_nb_inst_retire); 124 // ALLOC1_SC_SIGNAL( in_RETIRE_NUM_REG_RA_PHY ," in_RETIRE_NUM_REG_RA_PHY ",Tgeneral_address_t,_param->_nb_inst_retire); 125 // ALLOC1_SC_SIGNAL( in_RETIRE_READ_RB ," in_RETIRE_READ_RB ",Tcontrol_t ,_param->_nb_inst_retire); 126 // ALLOC1_SC_SIGNAL( in_RETIRE_NUM_REG_RB_PHY ," in_RETIRE_NUM_REG_RB_PHY ",Tgeneral_address_t,_param->_nb_inst_retire); 127 // ALLOC1_SC_SIGNAL( in_RETIRE_READ_RC ," in_RETIRE_READ_RC ",Tcontrol_t ,_param->_nb_inst_retire); 128 // ALLOC1_SC_SIGNAL( in_RETIRE_NUM_REG_RC_PHY ," in_RETIRE_NUM_REG_RC_PHY ",Tspecial_address_t,_param->_nb_inst_retire); 129 129 ALLOC1_SC_SIGNAL( in_RETIRE_WRITE_RD ," in_RETIRE_WRITE_RD ",Tcontrol_t ,_param->_nb_inst_retire); 130 130 ALLOC1_SC_SIGNAL( in_RETIRE_NUM_REG_RD_LOG ," in_RETIRE_NUM_REG_RD_LOG ",Tgeneral_address_t,_param->_nb_inst_retire); … … 204 204 INSTANCE1_SC_SIGNAL(_Rename_unit,out_INSERT_EXCEPTION ,_param->_nb_inst_insert); 205 205 INSTANCE1_SC_SIGNAL(_Rename_unit,out_INSERT_READ_RA ,_param->_nb_inst_insert); 206 #ifdef DEBUG 206 207 INSTANCE1_SC_SIGNAL(_Rename_unit,out_INSERT_NUM_REG_RA_LOG ,_param->_nb_inst_insert); 208 #endif 207 209 INSTANCE1_SC_SIGNAL(_Rename_unit,out_INSERT_NUM_REG_RA_PHY ,_param->_nb_inst_insert); 208 210 INSTANCE1_SC_SIGNAL(_Rename_unit,out_INSERT_READ_RB ,_param->_nb_inst_insert); 211 #ifdef DEBUG 209 212 INSTANCE1_SC_SIGNAL(_Rename_unit,out_INSERT_NUM_REG_RB_LOG ,_param->_nb_inst_insert); 213 #endif 210 214 INSTANCE1_SC_SIGNAL(_Rename_unit,out_INSERT_NUM_REG_RB_PHY ,_param->_nb_inst_insert); 211 215 INSTANCE1_SC_SIGNAL(_Rename_unit,out_INSERT_READ_RC ,_param->_nb_inst_insert); 216 #ifdef DEBUG 212 217 INSTANCE1_SC_SIGNAL(_Rename_unit,out_INSERT_NUM_REG_RC_LOG ,_param->_nb_inst_insert); 218 #endif 213 219 INSTANCE1_SC_SIGNAL(_Rename_unit,out_INSERT_NUM_REG_RC_PHY ,_param->_nb_inst_insert); 214 220 INSTANCE1_SC_SIGNAL(_Rename_unit,out_INSERT_WRITE_RD ,_param->_nb_inst_insert); … … 234 240 if (_param->_have_port_load_queue_ptr) 235 241 INSTANCE1_SC_SIGNAL(_Rename_unit, in_RETIRE_LOAD_QUEUE_PTR_WRITE ,_param->_nb_inst_retire); 236 INSTANCE1_SC_SIGNAL(_Rename_unit, in_RETIRE_READ_RA ,_param->_nb_inst_retire);237 INSTANCE1_SC_SIGNAL(_Rename_unit, in_RETIRE_NUM_REG_RA_PHY ,_param->_nb_inst_retire);238 INSTANCE1_SC_SIGNAL(_Rename_unit, in_RETIRE_READ_RB ,_param->_nb_inst_retire);239 INSTANCE1_SC_SIGNAL(_Rename_unit, in_RETIRE_NUM_REG_RB_PHY ,_param->_nb_inst_retire);240 INSTANCE1_SC_SIGNAL(_Rename_unit, in_RETIRE_READ_RC ,_param->_nb_inst_retire);241 INSTANCE1_SC_SIGNAL(_Rename_unit, in_RETIRE_NUM_REG_RC_PHY ,_param->_nb_inst_retire);242 // INSTANCE1_SC_SIGNAL(_Rename_unit, in_RETIRE_READ_RA ,_param->_nb_inst_retire); 243 // INSTANCE1_SC_SIGNAL(_Rename_unit, in_RETIRE_NUM_REG_RA_PHY ,_param->_nb_inst_retire); 244 // INSTANCE1_SC_SIGNAL(_Rename_unit, in_RETIRE_READ_RB ,_param->_nb_inst_retire); 245 // INSTANCE1_SC_SIGNAL(_Rename_unit, in_RETIRE_NUM_REG_RB_PHY ,_param->_nb_inst_retire); 246 // INSTANCE1_SC_SIGNAL(_Rename_unit, in_RETIRE_READ_RC ,_param->_nb_inst_retire); 247 // INSTANCE1_SC_SIGNAL(_Rename_unit, in_RETIRE_NUM_REG_RC_PHY ,_param->_nb_inst_retire); 242 248 INSTANCE1_SC_SIGNAL(_Rename_unit, in_RETIRE_WRITE_RD ,_param->_nb_inst_retire); 243 249 INSTANCE1_SC_SIGNAL(_Rename_unit, in_RETIRE_NUM_REG_RD_LOG ,_param->_nb_inst_retire); … … 375 381 DELETE1_SC_SIGNAL( in_RETIRE_STORE_QUEUE_PTR_WRITE,_param->_nb_inst_retire); 376 382 DELETE1_SC_SIGNAL( in_RETIRE_LOAD_QUEUE_PTR_WRITE ,_param->_nb_inst_retire); 377 DELETE1_SC_SIGNAL( in_RETIRE_READ_RA ,_param->_nb_inst_retire);378 DELETE1_SC_SIGNAL( in_RETIRE_NUM_REG_RA_PHY ,_param->_nb_inst_retire);379 DELETE1_SC_SIGNAL( in_RETIRE_READ_RB ,_param->_nb_inst_retire);380 DELETE1_SC_SIGNAL( in_RETIRE_NUM_REG_RB_PHY ,_param->_nb_inst_retire);381 DELETE1_SC_SIGNAL( in_RETIRE_READ_RC ,_param->_nb_inst_retire);382 DELETE1_SC_SIGNAL( in_RETIRE_NUM_REG_RC_PHY ,_param->_nb_inst_retire);383 // DELETE1_SC_SIGNAL( in_RETIRE_READ_RA ,_param->_nb_inst_retire); 384 // DELETE1_SC_SIGNAL( in_RETIRE_NUM_REG_RA_PHY ,_param->_nb_inst_retire); 385 // DELETE1_SC_SIGNAL( in_RETIRE_READ_RB ,_param->_nb_inst_retire); 386 // DELETE1_SC_SIGNAL( in_RETIRE_NUM_REG_RB_PHY ,_param->_nb_inst_retire); 387 // DELETE1_SC_SIGNAL( in_RETIRE_READ_RC ,_param->_nb_inst_retire); 388 // DELETE1_SC_SIGNAL( in_RETIRE_NUM_REG_RC_PHY ,_param->_nb_inst_retire); 383 389 DELETE1_SC_SIGNAL( in_RETIRE_WRITE_RD ,_param->_nb_inst_retire); 384 390 DELETE1_SC_SIGNAL( in_RETIRE_NUM_REG_RD_LOG ,_param->_nb_inst_retire); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/include/Rename_unit.h
r108 r121 116 116 public : SC_OUT(Tlsq_ptr_t ) ** out_INSERT_LOAD_QUEUE_PTR_WRITE ;//[nb_inst_insert] 117 117 public : SC_OUT(Tcontrol_t ) ** out_INSERT_READ_RA ;//[nb_inst_insert] 118 #ifdef DEBUG 118 119 public : SC_OUT(Tgeneral_address_t) ** out_INSERT_NUM_REG_RA_LOG ;//[nb_inst_insert] 120 #endif 119 121 public : SC_OUT(Tgeneral_address_t) ** out_INSERT_NUM_REG_RA_PHY ;//[nb_inst_insert] 120 122 public : SC_OUT(Tcontrol_t ) ** out_INSERT_READ_RB ;//[nb_inst_insert] 123 #ifdef DEBUG 121 124 public : SC_OUT(Tgeneral_address_t) ** out_INSERT_NUM_REG_RB_LOG ;//[nb_inst_insert] 125 #endif 122 126 public : SC_OUT(Tgeneral_address_t) ** out_INSERT_NUM_REG_RB_PHY ;//[nb_inst_insert] 123 127 public : SC_OUT(Tcontrol_t ) ** out_INSERT_READ_RC ;//[nb_inst_insert] 128 #ifdef DEBUG 124 129 public : SC_OUT(Tspecial_address_t) ** out_INSERT_NUM_REG_RC_LOG ;//[nb_inst_insert] 130 #endif 125 131 public : SC_OUT(Tspecial_address_t) ** out_INSERT_NUM_REG_RC_PHY ;//[nb_inst_insert] 126 132 public : SC_OUT(Tcontrol_t ) ** out_INSERT_WRITE_RD ;//[nb_inst_insert] … … 146 152 public : SC_IN (Tlsq_ptr_t ) ** in_RETIRE_STORE_QUEUE_PTR_WRITE;//[nb_inst_retire] 147 153 public : SC_IN (Tlsq_ptr_t ) ** in_RETIRE_LOAD_QUEUE_PTR_WRITE ;//[nb_inst_retire] 148 public : SC_IN (Tcontrol_t ) ** in_RETIRE_READ_RA ;//[nb_inst_retire]149 public : SC_IN (Tgeneral_address_t) ** in_RETIRE_NUM_REG_RA_PHY ;//[nb_inst_retire]150 public : SC_IN (Tcontrol_t ) ** in_RETIRE_READ_RB ;//[nb_inst_retire]151 public : SC_IN (Tgeneral_address_t) ** in_RETIRE_NUM_REG_RB_PHY ;//[nb_inst_retire]152 public : SC_IN (Tcontrol_t ) ** in_RETIRE_READ_RC ;//[nb_inst_retire]153 public : SC_IN (Tspecial_address_t) ** in_RETIRE_NUM_REG_RC_PHY ;//[nb_inst_retire]154 // public : SC_IN (Tcontrol_t ) ** in_RETIRE_READ_RA ;//[nb_inst_retire] 155 // public : SC_IN (Tgeneral_address_t) ** in_RETIRE_NUM_REG_RA_PHY ;//[nb_inst_retire] 156 // public : SC_IN (Tcontrol_t ) ** in_RETIRE_READ_RB ;//[nb_inst_retire] 157 // public : SC_IN (Tgeneral_address_t) ** in_RETIRE_NUM_REG_RB_PHY ;//[nb_inst_retire] 158 // public : SC_IN (Tcontrol_t ) ** in_RETIRE_READ_RC ;//[nb_inst_retire] 159 // public : SC_IN (Tspecial_address_t) ** in_RETIRE_NUM_REG_RC_PHY ;//[nb_inst_retire] 154 160 public : SC_IN (Tcontrol_t ) ** in_RETIRE_WRITE_RD ;//[nb_inst_retire] 155 161 public : SC_IN (Tgeneral_address_t) ** in_RETIRE_NUM_REG_RD_LOG ;//[nb_inst_retire] -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/src/Rename_unit_allocation.cpp
r115 r121 115 115 ALLOC1_SIGNAL_OUT(out_INSERT_EXCEPTION ,"exception" ,Texception_t ,_param->_size_exception ); 116 116 ALLOC1_SIGNAL_OUT(out_INSERT_READ_RA ,"read_ra" ,Tcontrol_t ,1 ); 117 #ifdef DEBUG 117 118 ALLOC1_SIGNAL_OUT(out_INSERT_NUM_REG_RA_LOG ,"num_reg_ra_log" ,Tgeneral_address_t,_param->_size_general_register_logic); 119 #endif 118 120 ALLOC1_SIGNAL_OUT(out_INSERT_NUM_REG_RA_PHY ,"num_reg_ra_phy" ,Tgeneral_address_t,_param->_size_general_register ); 119 121 ALLOC1_SIGNAL_OUT(out_INSERT_READ_RB ,"read_rb" ,Tcontrol_t ,1 ); 122 #ifdef DEBUG 120 123 ALLOC1_SIGNAL_OUT(out_INSERT_NUM_REG_RB_LOG ,"num_reg_rb_log" ,Tgeneral_address_t,_param->_size_general_register_logic); 124 #endif 121 125 ALLOC1_SIGNAL_OUT(out_INSERT_NUM_REG_RB_PHY ,"num_reg_rb_phy" ,Tgeneral_address_t,_param->_size_general_register ); 122 126 ALLOC1_SIGNAL_OUT(out_INSERT_READ_RC ,"read_rc" ,Tcontrol_t ,1 ); 127 #ifdef DEBUG 123 128 ALLOC1_SIGNAL_OUT(out_INSERT_NUM_REG_RC_LOG ,"num_reg_rc_log" ,Tspecial_address_t,_param->_size_special_register_logic); 129 #endif 124 130 ALLOC1_SIGNAL_OUT(out_INSERT_NUM_REG_RC_PHY ,"num_reg_rc_phy" ,Tspecial_address_t,_param->_size_special_register ); 125 131 ALLOC1_SIGNAL_OUT(out_INSERT_WRITE_RD ,"write_rd" ,Tcontrol_t ,1 ); … … 149 155 ALLOC1_SIGNAL_IN ( in_RETIRE_STORE_QUEUE_PTR_WRITE,"store_queue_ptr_write",Tlsq_ptr_t ,_param->_size_store_queue_ptr ); 150 156 ALLOC1_SIGNAL_IN ( in_RETIRE_LOAD_QUEUE_PTR_WRITE ,"load_queue_ptr_write" ,Tlsq_ptr_t ,_param->_size_load_queue_ptr ); 151 ALLOC1_SIGNAL_IN ( in_RETIRE_READ_RA ,"read_ra" ,Tcontrol_t ,1 );152 ALLOC1_SIGNAL_IN ( in_RETIRE_NUM_REG_RA_PHY ,"num_reg_ra_phy" ,Tgeneral_address_t,_param->_size_general_register );153 ALLOC1_SIGNAL_IN ( in_RETIRE_READ_RB ,"read_rb" ,Tcontrol_t ,1 );154 ALLOC1_SIGNAL_IN ( in_RETIRE_NUM_REG_RB_PHY ,"num_reg_rb_phy" ,Tgeneral_address_t,_param->_size_general_register );155 ALLOC1_SIGNAL_IN ( in_RETIRE_READ_RC ,"read_rc" ,Tcontrol_t ,1 );156 ALLOC1_SIGNAL_IN ( in_RETIRE_NUM_REG_RC_PHY ,"num_reg_rc_phy" ,Tspecial_address_t,_param->_size_special_register );157 // ALLOC1_SIGNAL_IN ( in_RETIRE_READ_RA ,"read_ra" ,Tcontrol_t ,1 ); 158 // ALLOC1_SIGNAL_IN ( in_RETIRE_NUM_REG_RA_PHY ,"num_reg_ra_phy" ,Tgeneral_address_t,_param->_size_general_register ); 159 // ALLOC1_SIGNAL_IN ( in_RETIRE_READ_RB ,"read_rb" ,Tcontrol_t ,1 ); 160 // ALLOC1_SIGNAL_IN ( in_RETIRE_NUM_REG_RB_PHY ,"num_reg_rb_phy" ,Tgeneral_address_t,_param->_size_general_register ); 161 // ALLOC1_SIGNAL_IN ( in_RETIRE_READ_RC ,"read_rc" ,Tcontrol_t ,1 ); 162 // ALLOC1_SIGNAL_IN ( in_RETIRE_NUM_REG_RC_PHY ,"num_reg_rc_phy" ,Tspecial_address_t,_param->_size_special_register ); 157 163 ALLOC1_SIGNAL_IN ( in_RETIRE_WRITE_RD ,"write_rd" ,Tcontrol_t ,1 ); 158 164 ALLOC1_SIGNAL_IN ( in_RETIRE_NUM_REG_RD_LOG ,"num_reg_rd_log" ,Tgeneral_address_t,_param->_size_general_register_logic); … … 528 534 PORT_MAP(_component,src ,"out_INSERT_"+toString(i)+"_READ_RA" , 529 535 dest,"out_INSERT_"+toString(i)+"_READ_RA" ); 536 #ifdef DEBUG 530 537 PORT_MAP(_component,src ,"out_INSERT_"+toString(i)+"_NUM_REG_RA_LOG" , 531 538 dest,"out_INSERT_"+toString(i)+"_NUM_REG_RA_LOG" ); 539 #endif 532 540 PORT_MAP(_component,src ,"out_INSERT_"+toString(i)+"_NUM_REG_RA_PHY" , 533 541 dest,"out_INSERT_"+toString(i)+"_NUM_REG_RA_PHY" ); 534 542 PORT_MAP(_component,src ,"out_INSERT_"+toString(i)+"_READ_RB" , 535 543 dest,"out_INSERT_"+toString(i)+"_READ_RB" ); 544 #ifdef DEBUG 536 545 PORT_MAP(_component,src ,"out_INSERT_"+toString(i)+"_NUM_REG_RB_LOG" , 537 546 dest,"out_INSERT_"+toString(i)+"_NUM_REG_RB_LOG" ); 547 #endif 538 548 PORT_MAP(_component,src ,"out_INSERT_"+toString(i)+"_NUM_REG_RB_PHY" , 539 549 dest,"out_INSERT_"+toString(i)+"_NUM_REG_RB_PHY" ); 540 550 PORT_MAP(_component,src ,"out_INSERT_"+toString(i)+"_READ_RC" , 541 551 dest,"out_INSERT_"+toString(i)+"_READ_RC" ); 552 #ifdef DEBUG 542 553 PORT_MAP(_component,src ,"out_INSERT_"+toString(i)+"_NUM_REG_RC_LOG" , 543 554 dest,"out_INSERT_"+toString(i)+"_NUM_REG_RC_LOG" ); 555 #endif 544 556 PORT_MAP(_component,src ,"out_INSERT_"+toString(i)+"_NUM_REG_RC_PHY" , 545 557 dest,"out_INSERT_"+toString(i)+"_NUM_REG_RC_PHY" ); … … 582 594 PORT_MAP(_component,src , "in_RETIRE_"+toString(i)+"_CONTEXT_ID" , 583 595 dest, "in_RETIRE_"+toString(i)+"_CONTEXT_ID" ); 584 PORT_MAP(_component,src , "in_RETIRE_"+toString(i)+"_READ_RA" ,585 dest, "in_RETIRE_"+toString(i)+"_READ_RA" );586 PORT_MAP(_component,src , "in_RETIRE_"+toString(i)+"_NUM_REG_RA_PHY" ,587 dest, "in_RETIRE_"+toString(i)+"_NUM_REG_RA_PHY" );588 PORT_MAP(_component,src , "in_RETIRE_"+toString(i)+"_READ_RB" ,589 dest, "in_RETIRE_"+toString(i)+"_READ_RB" );590 PORT_MAP(_component,src , "in_RETIRE_"+toString(i)+"_NUM_REG_RB_PHY" ,591 dest, "in_RETIRE_"+toString(i)+"_NUM_REG_RB_PHY" );592 PORT_MAP(_component,src , "in_RETIRE_"+toString(i)+"_READ_RC" ,593 dest, "in_RETIRE_"+toString(i)+"_READ_RC" );594 PORT_MAP(_component,src , "in_RETIRE_"+toString(i)+"_NUM_REG_RC_PHY" ,595 dest, "in_RETIRE_"+toString(i)+"_NUM_REG_RC_PHY" );596 // PORT_MAP(_component,src , "in_RETIRE_"+toString(i)+"_READ_RA" , 597 // dest, "in_RETIRE_"+toString(i)+"_READ_RA" ); 598 // PORT_MAP(_component,src , "in_RETIRE_"+toString(i)+"_NUM_REG_RA_PHY" , 599 // dest, "in_RETIRE_"+toString(i)+"_NUM_REG_RA_PHY" ); 600 // PORT_MAP(_component,src , "in_RETIRE_"+toString(i)+"_READ_RB" , 601 // dest, "in_RETIRE_"+toString(i)+"_READ_RB" ); 602 // PORT_MAP(_component,src , "in_RETIRE_"+toString(i)+"_NUM_REG_RB_PHY" , 603 // dest, "in_RETIRE_"+toString(i)+"_NUM_REG_RB_PHY" ); 604 // PORT_MAP(_component,src , "in_RETIRE_"+toString(i)+"_READ_RC" , 605 // dest, "in_RETIRE_"+toString(i)+"_READ_RC" ); 606 // PORT_MAP(_component,src , "in_RETIRE_"+toString(i)+"_NUM_REG_RC_PHY" , 607 // dest, "in_RETIRE_"+toString(i)+"_NUM_REG_RC_PHY" ); 596 608 PORT_MAP(_component,src , "in_RETIRE_"+toString(i)+"_WRITE_RD" , 597 609 dest, "in_RETIRE_"+toString(i)+"_WRITE_RD" ); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/src/Rename_unit_deallocation.cpp
r108 r121 76 76 DELETE1_SIGNAL(out_INSERT_EXCEPTION ,_param->_nb_inst_insert,_param->_size_exception ); 77 77 DELETE1_SIGNAL(out_INSERT_READ_RA ,_param->_nb_inst_insert,1 ); 78 #ifdef DEBUG 78 79 DELETE1_SIGNAL(out_INSERT_NUM_REG_RA_LOG ,_param->_nb_inst_insert,_param->_size_general_register_logic); 80 #endif 79 81 DELETE1_SIGNAL(out_INSERT_NUM_REG_RA_PHY ,_param->_nb_inst_insert,_param->_size_general_register ); 80 82 DELETE1_SIGNAL(out_INSERT_READ_RB ,_param->_nb_inst_insert,1 ); 83 #ifdef DEBUG 81 84 DELETE1_SIGNAL(out_INSERT_NUM_REG_RB_LOG ,_param->_nb_inst_insert,_param->_size_general_register_logic); 85 #endif 82 86 DELETE1_SIGNAL(out_INSERT_NUM_REG_RB_PHY ,_param->_nb_inst_insert,_param->_size_general_register ); 83 87 DELETE1_SIGNAL(out_INSERT_READ_RC ,_param->_nb_inst_insert,1 ); 88 #ifdef DEBUG 84 89 DELETE1_SIGNAL(out_INSERT_NUM_REG_RC_LOG ,_param->_nb_inst_insert,_param->_size_special_register_logic); 90 #endif 85 91 DELETE1_SIGNAL(out_INSERT_NUM_REG_RC_PHY ,_param->_nb_inst_insert,_param->_size_special_register ); 86 92 DELETE1_SIGNAL(out_INSERT_WRITE_RD ,_param->_nb_inst_insert,1 ); … … 103 109 DELETE1_SIGNAL( in_RETIRE_STORE_QUEUE_PTR_WRITE,_param->_nb_inst_retire,_param->_size_store_queue_ptr ); 104 110 DELETE1_SIGNAL( in_RETIRE_LOAD_QUEUE_PTR_WRITE ,_param->_nb_inst_retire,_param->_size_load_queue_ptr ); 105 DELETE1_SIGNAL( in_RETIRE_READ_RA ,_param->_nb_inst_retire,1 );106 DELETE1_SIGNAL( in_RETIRE_NUM_REG_RA_PHY ,_param->_nb_inst_retire,_param->_size_general_register );107 DELETE1_SIGNAL( in_RETIRE_READ_RB ,_param->_nb_inst_retire,1 );108 DELETE1_SIGNAL( in_RETIRE_NUM_REG_RB_PHY ,_param->_nb_inst_retire,_param->_size_general_register );109 DELETE1_SIGNAL( in_RETIRE_READ_RC ,_param->_nb_inst_retire,1 );110 DELETE1_SIGNAL( in_RETIRE_NUM_REG_RC_PHY ,_param->_nb_inst_retire,_param->_size_special_register );111 // DELETE1_SIGNAL( in_RETIRE_READ_RA ,_param->_nb_inst_retire,1 ); 112 // DELETE1_SIGNAL( in_RETIRE_NUM_REG_RA_PHY ,_param->_nb_inst_retire,_param->_size_general_register ); 113 // DELETE1_SIGNAL( in_RETIRE_READ_RB ,_param->_nb_inst_retire,1 ); 114 // DELETE1_SIGNAL( in_RETIRE_NUM_REG_RB_PHY ,_param->_nb_inst_retire,_param->_size_general_register ); 115 // DELETE1_SIGNAL( in_RETIRE_READ_RC ,_param->_nb_inst_retire,1 ); 116 // DELETE1_SIGNAL( in_RETIRE_NUM_REG_RC_PHY ,_param->_nb_inst_retire,_param->_size_special_register ); 111 117 DELETE1_SIGNAL( in_RETIRE_WRITE_RD ,_param->_nb_inst_retire,1 ); 112 118 DELETE1_SIGNAL( in_RETIRE_NUM_REG_RD_LOG ,_param->_nb_inst_retire,_param->_size_general_register_logic); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/src/OOO_Engine_allocation.cpp
r120 r121 519 519 COMPONENT_MAP(_component,src ,"out_INSERT_"+toString(j) +"_EXCEPTION" , 520 520 dest, "in_INSERT_"+toString(i)+"_"+toString(j)+"_EXCEPTION" ); 521 #ifdef DEBUG 521 522 COMPONENT_MAP(_component,src ,"out_INSERT_"+toString(j) +"_NUM_REG_RA_LOG", 522 523 dest, "in_INSERT_"+toString(i)+"_"+toString(j)+"_NUM_REG_RA_LOG"); … … 525 526 COMPONENT_MAP(_component,src ,"out_INSERT_"+toString(j) +"_NUM_REG_RC_LOG", 526 527 dest, "in_INSERT_"+toString(i)+"_"+toString(j)+"_NUM_REG_RC_LOG"); 528 #endif 527 529 COMPONENT_MAP(_component,src ,"out_INSERT_"+toString(j) +"_NUM_REG_RD_LOG", 528 530 dest, "in_INSERT_"+toString(i)+"_"+toString(j)+"_NUM_REG_RD_LOG"); … … 635 637 COMPONENT_MAP(_component,src , "in_RETIRE_"+toString(j)+ "_LOAD_QUEUE_PTR_WRITE" , 636 638 dest,"out_RETIRE_"+toString(i)+"_"+toString(j)+"_LOAD_QUEUE_PTR_WRITE" ); 637 COMPONENT_MAP(_component,src , "in_RETIRE_"+toString(j)+ "_READ_RA" ,638 dest,"out_RETIRE_"+toString(i)+"_"+toString(j)+"_READ_RA" );639 COMPONENT_MAP(_component,src , "in_RETIRE_"+toString(j)+ "_NUM_REG_RA_PHY" ,640 dest,"out_RETIRE_"+toString(i)+"_"+toString(j)+"_NUM_REG_RA_PHY" );641 COMPONENT_MAP(_component,src , "in_RETIRE_"+toString(j)+ "_READ_RB" ,642 dest,"out_RETIRE_"+toString(i)+"_"+toString(j)+"_READ_RB" );643 COMPONENT_MAP(_component,src , "in_RETIRE_"+toString(j)+ "_NUM_REG_RB_PHY" ,644 dest,"out_RETIRE_"+toString(i)+"_"+toString(j)+"_NUM_REG_RB_PHY" );645 COMPONENT_MAP(_component,src , "in_RETIRE_"+toString(j)+ "_READ_RC" ,646 dest,"out_RETIRE_"+toString(i)+"_"+toString(j)+"_READ_RC" );647 COMPONENT_MAP(_component,src , "in_RETIRE_"+toString(j)+ "_NUM_REG_RC_PHY" ,648 dest,"out_RETIRE_"+toString(i)+"_"+toString(j)+"_NUM_REG_RC_PHY" );639 // COMPONENT_MAP(_component,src , "in_RETIRE_"+toString(j)+ "_READ_RA" , 640 // dest,"out_RETIRE_"+toString(i)+"_"+toString(j)+"_READ_RA" ); 641 // COMPONENT_MAP(_component,src , "in_RETIRE_"+toString(j)+ "_NUM_REG_RA_PHY" , 642 // dest,"out_RETIRE_"+toString(i)+"_"+toString(j)+"_NUM_REG_RA_PHY" ); 643 // COMPONENT_MAP(_component,src , "in_RETIRE_"+toString(j)+ "_READ_RB" , 644 // dest,"out_RETIRE_"+toString(i)+"_"+toString(j)+"_READ_RB" ); 645 // COMPONENT_MAP(_component,src , "in_RETIRE_"+toString(j)+ "_NUM_REG_RB_PHY" , 646 // dest,"out_RETIRE_"+toString(i)+"_"+toString(j)+"_NUM_REG_RB_PHY" ); 647 // COMPONENT_MAP(_component,src , "in_RETIRE_"+toString(j)+ "_READ_RC" , 648 // dest,"out_RETIRE_"+toString(i)+"_"+toString(j)+"_READ_RC" ); 649 // COMPONENT_MAP(_component,src , "in_RETIRE_"+toString(j)+ "_NUM_REG_RC_PHY" , 650 // dest,"out_RETIRE_"+toString(i)+"_"+toString(j)+"_NUM_REG_RC_PHY" ); 649 651 COMPONENT_MAP(_component,src , "in_RETIRE_"+toString(j)+ "_NUM_REG_RD_LOG" , 650 652 dest,"out_RETIRE_"+toString(i)+"_"+toString(j)+"_NUM_REG_RD_LOG" ); … … 755 757 COMPONENT_MAP(_component,src , "in_INSERT_"+toString(i)+"_"+toString(j)+ "_LOAD_QUEUE_PTR_WRITE" , 756 758 dest,"out_INSERT_"+toString(i)+"_"+toString(j)+"_COMMIT_UNIT_LOAD_QUEUE_PTR_WRITE" ); 759 #ifdef DEBUG 757 760 COMPONENT_MAP(_component,src , "in_INSERT_"+toString(i)+"_"+toString(j)+ "_READ_RA" , 758 761 dest,"out_INSERT_"+toString(i)+"_"+toString(j)+"_COMMIT_UNIT_READ_RA" ); … … 767 770 COMPONENT_MAP(_component,src , "in_INSERT_"+toString(i)+"_"+toString(j)+ "_NUM_REG_RC_PHY" , 768 771 dest,"out_INSERT_"+toString(i)+"_"+toString(j)+"_COMMIT_UNIT_NUM_REG_RC_PHY" ); 772 #endif 769 773 COMPONENT_MAP(_component,src , "in_INSERT_"+toString(i)+"_"+toString(j)+ "_WRITE_RD" , 770 774 dest,"out_INSERT_"+toString(i)+"_"+toString(j)+"_COMMIT_UNIT_WRITE_RD" ); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Version.h
r120 r121 10 10 #define MORPHEO_MAJOR_VERSION "0" 11 11 #define MORPHEO_MINOR_VERSION "2" 12 #define MORPHEO_REVISION "12 0"12 #define MORPHEO_REVISION "121" 13 13 #define MORPHEO_CODENAME "Castor" 14 14 15 #define MORPHEO_DATE_DAY "2 6"15 #define MORPHEO_DATE_DAY "27" 16 16 #define MORPHEO_DATE_MONTH "05" 17 17 #define MORPHEO_DATE_YEAR "2009" -
trunk/IPs/systemC/processor/Morpheo/Common/include/Filename.h
r100 r121 10 10 11 11 #include "Common/include/ToString.h" 12 #include <fstream> 13 #include <sstream> 14 #include <sys/time.h> 15 #include <unistd.h> 12 #include <string> 16 13 17 14 namespace morpheo { … … 24 21 bool with_pid, 25 22 bool overwrite 26 ) 27 { 28 std::string str = directory+"/"+filename_prefix; 29 30 if (with_date) 31 { 32 time_t current_time; 33 time (¤t_time); 34 35 struct tm * _localtime = localtime (¤t_time); 36 37 int year = 1900+_localtime->tm_year; 38 int mon = 1+_localtime->tm_mon ; 39 int mday = _localtime->tm_mday; 40 int hour = _localtime->tm_hour; 41 int min = _localtime->tm_min ; 42 int sec = _localtime->tm_sec ; 43 44 str+= "_"+ toString<int>(year) 45 +((mon <10)?"0":"") + toString<int>(mon ) 46 +((mday<10)?"0":"") + toString<int>(mday) 47 +"_"+((hour<10)?"0":"") + toString<int>(hour) 48 +((min <10)?"0":"") + toString<int>(min ) 49 +((sec <10)?"0":"") + toString<int>(sec ); 50 } 51 52 if (with_pid) 53 { 54 str+="_"+toString<pid_t>(getpid()); 55 } 56 57 str+=filename_suffix; 58 59 if (not overwrite) 60 { 61 int it = 0; 62 bool find; 63 do 64 { 65 find = false; 66 67 std::ifstream inputStream; 68 std::string name = str+((it!=0)?("_"+toString<int>(it)):""); 69 70 inputStream.open(name.c_str(),std::ios_base::in); 71 72 if (inputStream) 73 { 74 find = true; 75 it ++; 76 } 77 inputStream.close(); 78 } 79 while (find); 80 81 str+= str+((it!=0)?("_"+toString<int>(it)):""); 82 } 83 84 str+="."+extension; 85 86 return str; 87 } 23 ); 88 24 89 25 }; // end namespace morpheo
Note: See TracChangeset
for help on using the changeset viewer.