Changeset 132 for trunk/IPs/systemC
- Timestamp:
- Jul 11, 2009, 6:39:35 PM (15 years ago)
- Location:
- trunk/IPs/systemC
- Files:
-
- 2 added
- 55 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/Environment/src/Environment_transition.cpp
r128 r132 25 25 for (int32_t j=param->icache_dedicated_nb_port [i]-1; j>=0; j--) 26 26 { 27 _cout(ENVIRONMENT, " * ICACHE_RSP [%d][%d] \n",i,j);27 _cout(ENVIRONMENT, " * ICACHE_RSP [%d][%d] (%d - %d)\n",i,j,icache_rsp_val [i][j],ICACHE_RSP_ACK [i][j]->read()); 28 28 29 29 if (icache_rsp_val [i][j] and ICACHE_RSP_ACK [i][j]->read()) 30 30 { 31 _cout(ENVIRONMENT, " * ICACHE_RSP [%d][%d] : Transaction accepted\n",i,j);31 // _cout(ENVIRONMENT, " * ICACHE_RSP [%d][%d] : Transaction accepted\n",i,j); 32 32 33 33 uint32_t num = icache_rsp_num [i][j]; … … 43 43 for (int32_t j=param->dcache_dedicated_nb_port [i]-1; j>=0; j--) 44 44 { 45 _cout(ENVIRONMENT, " * DCACHE_RSP [%d][%d]\n",i,j); 45 _cout(ENVIRONMENT, " * DCACHE_RSP [%d][%d] (%d - %d)\n",i,j,dcache_rsp_val [i][j],DCACHE_RSP_ACK [i][j]->read()); 46 46 47 if (dcache_rsp_val [i][j] and DCACHE_RSP_ACK [i][j]->read()) 47 48 { 48 _cout(ENVIRONMENT, " * DCACHE_RSP [%d][%d] : Transaction accepted\n",i,j);49 // _cout(ENVIRONMENT, " * DCACHE_RSP [%d][%d] : Transaction accepted\n",i,j); 49 50 50 51 uint32_t num = dcache_rsp_num [i][j]; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Core_Glue/src/Core_Glue.cpp
r131 r132 109 109 dont_initialize (); 110 110 // sensitive << (*(in_CLOCK)).neg(); // don't need internal register 111 sensitive << (*(in_NRESET)); 111 112 for (uint32_t i=0; i<_param->_nb_front_end; ++i) 112 113 for (uint32_t j=0; j<_param->_front_end_nb_inst_branch_complete[i]; ++j) … … 137 138 dont_initialize (); 138 139 // sensitive << (*(in_CLOCK)).neg(); // don't need internal register 140 sensitive << (*(in_NRESET)); 139 141 for (uint32_t i=0; i<_param->_nb_front_end; ++i) 140 142 sensitive << (*(in_COMMIT_EVENT_FRONT_END_ACK [i])); … … 165 167 dont_initialize (); 166 168 // sensitive << (*(in_CLOCK)).neg(); // don't need internal register 167 169 sensitive << (*(in_NRESET)); 168 170 for (uint32_t i=0; i<_param->_nb_ooo_engine; ++i) 169 171 for (uint32_t j=0; j<_param->_nb_inst_issue_queue [i]; ++j) … … 209 211 dont_initialize (); 210 212 // sensitive << (*(in_CLOCK)).neg(); // don't need internal register 213 sensitive << (*(in_NRESET)); 211 214 212 215 for (uint32_t i=0; i<_param->_nb_ooo_engine; ++i) … … 244 247 dont_initialize (); 245 248 // sensitive << (*(in_CLOCK)).neg(); // don't need internal register 249 sensitive << (*(in_NRESET)); 246 250 247 251 for (uint32_t i=0; i<_param->_nb_ooo_engine; ++i) -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Dcache_Access/src/Dcache_Access.cpp
r123 r132 97 97 SC_METHOD (genMealy_req); 98 98 dont_initialize (); 99 sensitive << (*(in_CLOCK)).neg(); // need internal register 99 sensitive << (*(in_CLOCK)).neg() // need internal register 100 << (*(in_NRESET)); 100 101 for (uint32_t i=0; i<_param->_nb_dcache_port; ++i) 101 102 sensitive << (*(in_DCACHE_REQ_ACK [i])); … … 124 125 SC_METHOD (genMealy_rsp); 125 126 dont_initialize (); 126 sensitive << (*(in_CLOCK)).neg(); // need internal register 127 sensitive << (*(in_CLOCK)).neg() // need internal register 128 << (*(in_NRESET)); 127 129 128 130 for (uint32_t i=0; i<_param->_nb_dcache_port; ++i) -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Icache_Access/src/Icache_Access.cpp
r123 r132 97 97 SC_METHOD (genMealy_req); 98 98 dont_initialize (); 99 sensitive << (*(in_CLOCK)).neg(); // need internal register 99 sensitive << (*(in_CLOCK)).neg() // need internal register 100 << (*(in_NRESET)); 100 101 101 102 for (uint32_t i=0; i<_param->_nb_icache_port; ++i) … … 153 154 SC_METHOD (genMealy_rsp); 154 155 dont_initialize (); 155 sensitive << (*(in_CLOCK)).neg(); // need internal register 156 sensitive << (*(in_CLOCK)).neg() // need internal register 157 << (*(in_NRESET)); 158 156 159 for (uint32_t i=0; i<_param->_nb_icache_port; ++i) 157 160 { -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Icache_Access/src/Icache_Access_genMealy_rsp.cpp
r124 r132 70 70 71 71 ack = PORT_READ(in_CONTEXT_RSP_ACK [front_end_id][context_id]); 72 73 log_printf(TRACE,Icache_Access,FUNCTION," * context_rsp_ack: %d",ack); 72 74 73 75 context_rsp_val [front_end_id][context_id] = 1; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Execute_loop_Glue/src/Execute_loop_Glue.cpp
r123 r132 100 100 dont_initialize (); 101 101 // sensitive << (*(in_CLOCK)).neg(); // don't internal register 102 102 sensitive << (*(in_NRESET)); 103 103 104 for (uint32_t i=0; i<_param->_nb_gpr_write; i++) 104 105 { … … 135 136 dont_initialize (); 136 137 // sensitive << (*(in_CLOCK)).neg(); // don't internal register 137 138 sensitive << (*(in_NRESET)); 139 138 140 for (uint32_t i=0; i<_param->_nb_spr_write; i++) 139 141 { -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Functionnal_unit/src/Functionnal_unit.cpp
r123 r132 95 95 dont_initialize (); 96 96 sensitive << (*(in_CLOCK)).neg() // use internal register 97 << (*(in_NRESET)) 97 98 // << (*(in_EXECUTE_IN_VAL )) 98 99 << (*(in_EXECUTE_OUT_ACK)); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Load_store_unit/src/Load_store_unit.cpp
r131 r132 132 132 SC_METHOD (genMealy_insert); 133 133 dont_initialize (); 134 sensitive << (*(in_CLOCK)).neg(); 134 sensitive << (*(in_CLOCK)).neg() 135 << (*(in_NRESET)); 135 136 for (uint32_t i=0; i<_param->_nb_inst_memory; i++) 136 137 sensitive << (*(in_MEMORY_IN_VAL [i])) … … 151 152 SC_METHOD (genMealy_retire); 152 153 dont_initialize (); 153 sensitive << (*(in_CLOCK)).neg(); 154 sensitive << (*(in_CLOCK)).neg() 155 << (*(in_NRESET)); 154 156 155 157 #ifdef SYSTEMCASS_SPECIFIC … … 161 163 SC_METHOD (genMealy_dcache); 162 164 dont_initialize (); 163 sensitive << (*(in_CLOCK)).neg(); 165 sensitive << (*(in_CLOCK)).neg() 166 << (*(in_NRESET)); 164 167 165 168 #ifdef SYSTEMCASS_SPECIFIC -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Read_queue/src/Read_queue.cpp
r131 r132 86 86 SC_METHOD (genMealy_read_queue_out_val); 87 87 dont_initialize (); 88 sensitive << (*(in_CLOCK)).neg(); 88 sensitive << (*(in_CLOCK)).neg() 89 << (*(in_NRESET)); 89 90 for (uint32_t i=0; i<_param->_nb_gpr_read ; i++) 90 91 sensitive << *(in_GPR_READ_ACK [i]); … … 133 134 SC_METHOD (genMealy_read_queue_out_gpr); 134 135 dont_initialize (); 135 sensitive << (*(in_CLOCK)).neg(); 136 sensitive << (*(in_CLOCK)).neg() 137 << (*(in_NRESET)); 136 138 for (uint32_t i=0; i<_param->_nb_gpr_read ; i++) 137 139 sensitive << *(in_GPR_READ_ACK [i]) … … 185 187 SC_METHOD (genMealy_read_queue_out_spr); 186 188 dont_initialize (); 187 sensitive << (*(in_CLOCK)).neg(); 189 sensitive << (*(in_CLOCK)).neg() 190 << (*(in_NRESET)); 188 191 for (uint32_t i=0; i<_param->_nb_spr_read ; i++) 189 192 sensitive << *(in_SPR_READ_ACK [i]) -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Write_unit/Write_unit/Write_queue/src/Write_queue.cpp
r118 r132 96 96 SC_METHOD (genMealy_write); 97 97 dont_initialize (); 98 sensitive << (*(in_CLOCK)).neg(); // need internal register 98 sensitive << (*(in_CLOCK)).neg() // need internal register 99 << (*(in_NRESET)); 99 100 for (uint32_t i=0; i<_param->_nb_gpr_write; ++i) 100 101 sensitive << (*(in_GPR_WRITE_ACK [i])); … … 115 116 dont_initialize (); 116 117 // sensitive << (*(in_CLOCK)).neg(); // don't need internal register 117 sensitive << (*(in_WRITE_QUEUE_IN_VAL )) 118 sensitive << (*(in_NRESET)) 119 << (*(in_WRITE_QUEUE_IN_VAL )) 118 120 << (*(in_WRITE_QUEUE_IN_WRITE_RD )) 119 121 << (*(in_WRITE_QUEUE_IN_NUM_REG_RD )) -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Network/Execution_unit_to_Write_unit/src/Execution_unit_to_Write_unit.cpp
r123 r132 88 88 SC_METHOD (genMealy); 89 89 dont_initialize (); 90 sensitive << (*(in_CLOCK)).pos(); 90 sensitive << (*(in_CLOCK)).neg() 91 << (*(in_NRESET)); 91 92 for (uint32_t i=0; i<_param->_nb_execute_unit; i++) 92 93 for (uint32_t j=0; j<_param->_nb_execute_unit_port[i]; j++) -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Network/Read_unit_to_Execution_unit/src/Read_unit_to_Execution_unit.cpp
r123 r132 88 88 SC_METHOD (genMealy); 89 89 dont_initialize (); 90 sensitive << (*(in_CLOCK)).neg(); 90 sensitive << (*(in_CLOCK)).neg() 91 << (*(in_NRESET)); 91 92 92 93 for (uint32_t i=0; i<_param->_nb_read_unit; i++) … … 105 106 << (*(in_READ_UNIT_OUT_WRITE_RE [i][j])) 106 107 << (*(in_READ_UNIT_OUT_NUM_REG_RE [i][j])) 107 << (*(in_READ_UNIT_OUT_STORE_QUEUE_PTR_WRITE [i][j])); 108 << (*(in_READ_UNIT_OUT_STORE_QUEUE_PTR_WRITE [i][j])) 109 << (*(in_READ_UNIT_OUT_STORE_QUEUE_PTR_READ [i][j])) 110 << (*(in_READ_UNIT_OUT_STORE_QUEUE_EMPTY [i][j])); 108 111 109 112 if (_param->_have_port_load_queue_ptr) -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit/Register_unit_Glue/src/Register_unit_Glue.cpp
r131 r132 98 98 dont_initialize (); 99 99 // sensitive << (*(in_CLOCK)).neg(); 100 sensitive << (*(in_NRESET)); 100 101 for (uint32_t j=0; j<_param->_nb_gpr_read; j++) 101 102 { … … 135 136 dont_initialize (); 136 137 // sensitive << (*(in_CLOCK)).neg(); 138 sensitive << (*(in_NRESET)); 137 139 for (uint32_t j=0; j<_param->_nb_gpr_read; j++) 138 140 { … … 164 166 dont_initialize (); 165 167 // sensitive << (*(in_CLOCK)).neg(); 168 sensitive << (*(in_NRESET)); 166 169 for (uint32_t j=0; j<_param->_nb_gpr_read; j++) 167 170 { … … 193 196 dont_initialize (); 194 197 // sensitive << (*(in_CLOCK)).neg(); 198 sensitive << (*(in_NRESET)); 195 199 for (uint32_t j=0; j<_param->_nb_gpr_write; j++) 196 200 { … … 223 227 dont_initialize (); 224 228 // sensitive << (*(in_CLOCK)).neg(); 229 sensitive << (*(in_NRESET)); 225 230 for (uint32_t j=0; j<_param->_nb_gpr_write; j++) 226 231 { … … 252 257 dont_initialize (); 253 258 // sensitive << (*(in_CLOCK)).neg(); 259 sensitive << (*(in_NRESET)); 254 260 for (uint32_t j=0; j<_param->_nb_gpr_write; j++) 255 261 { … … 281 287 dont_initialize (); 282 288 // sensitive << (*(in_CLOCK)).neg(); 289 sensitive << (*(in_NRESET)); 283 290 for (uint32_t j=0; j<_param->_nb_spr_read; j++) 284 291 { … … 318 325 dont_initialize (); 319 326 // sensitive << (*(in_CLOCK)).neg(); 327 sensitive << (*(in_NRESET)); 320 328 for (uint32_t j=0; j<_param->_nb_spr_read; j++) 321 329 { … … 347 355 dont_initialize (); 348 356 // sensitive << (*(in_CLOCK)).neg(); 357 sensitive << (*(in_NRESET)); 349 358 for (uint32_t j=0; j<_param->_nb_spr_read; j++) 350 359 { … … 376 385 dont_initialize (); 377 386 // sensitive << (*(in_CLOCK)).neg(); 387 sensitive << (*(in_NRESET)); 378 388 for (uint32_t j=0; j<_param->_nb_spr_write; j++) 379 389 { … … 406 416 dont_initialize (); 407 417 // sensitive << (*(in_CLOCK)).neg(); 418 sensitive << (*(in_NRESET)); 408 419 for (uint32_t j=0; j<_param->_nb_spr_write; j++) 409 420 { … … 435 446 dont_initialize (); 436 447 // sensitive << (*(in_CLOCK)).neg(); 448 sensitive << (*(in_NRESET)); 437 449 for (uint32_t j=0; j<_param->_nb_spr_write; j++) 438 450 { … … 464 476 dont_initialize (); 465 477 // sensitive << (*(in_CLOCK)).neg(); 478 sensitive << (*(in_NRESET)); 466 479 for (uint32_t i=0; i<_param->_nb_ooo_engine; i++) 467 480 { -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Context_State/src/Context_State.cpp
r131 r132 112 112 SC_METHOD (genMealy_decod_event); 113 113 dont_initialize (); 114 sensitive << (*(in_CLOCK)).neg(); // use internal register 114 sensitive << (*(in_CLOCK)).neg() // use internal register 115 << (*(in_NRESET)); 116 115 117 for (uint32_t i=0; i<_param->_nb_decod_unit; ++i) 116 118 { … … 136 138 dont_initialize (); 137 139 // sensitive << (*(in_CLOCK)).neg(); // use internal register 138 sensitive << (*(in_COMMIT_EVENT_VAL )); 140 sensitive << (*(in_NRESET)) 141 << (*(in_COMMIT_EVENT_VAL )); 139 142 if (_param->_have_port_context_id) 140 143 sensitive << (*(in_COMMIT_EVENT_CONTEXT_ID )); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod/src/Decod.cpp
r123 r132 89 89 dont_initialize (); 90 90 sensitive << (*(in_CLOCK)).neg() //use internal register 91 << (*(in_NRESET)) 91 92 << (*(in_CONTEXT_EVENT_ACK)); 92 93 for (uint32_t i=0; i<_param->_nb_context; i++) … … 98 99 // << (*(in_IFETCH_ADDRESS_NEXT [i])) 99 100 << (*(in_IFETCH_BRANCH_STATE [i])) 101 << (*(in_IFETCH_EXCEPTION [i])) 100 102 << (*(in_CONTEXT_DECOD_ENABLE [i])); 101 103 if (_param->_have_port_context_id) … … 113 115 sensitive << (*(in_DECOD_ACK [i])) 114 116 << (*(in_PREDICT_ACK [i])) 115 //<< (*(in_PREDICT_CAN_CONTINUE [i]))117 << (*(in_PREDICT_CAN_CONTINUE [i])) 116 118 ; 117 119 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod_queue/SelfTest/src/test.cpp
r113 r132 24 24 25 25 Tusage_t _usage = USE_ALL; 26 27 _model.set_model(MODEL_SYSTEMC,true); 26 28 27 29 // _usage = usage_unset(_usage,USE_SYSTEMC ); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod_queue/src/Decod_queue.cpp
r123 r132 125 125 SC_METHOD (genMealy_decod_out); 126 126 dont_initialize (); 127 sensitive << (*(in_CLOCK)).neg() ;// use internal register128 127 sensitive << (*(in_CLOCK)).neg() // use internal register 128 << (*(in_NRESET)); 129 129 for (uint32_t i=0; i<_param->_nb_inst_decod; i++) 130 130 sensitive << (*(in_DECOD_OUT_ACK [i])); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Front_end_Glue/src/Front_end_Glue.cpp
r131 r132 115 115 dont_initialize (); 116 116 // sensitive << (*(in_CLOCK)).neg(); // don't need internal register 117 sensitive << (*(in_NRESET)); 117 118 for (uint32_t i=0; i<_param->_nb_decod_unit; ++i) 118 119 for (uint32_t j=0; j<_param->_nb_inst_decod[i]; ++j) … … 129 130 dont_initialize (); 130 131 // sensitive << (*(in_CLOCK)).neg(); // don't need internal register 132 sensitive << (*(in_NRESET)); 131 133 for (uint32_t i=0; i<_param->_nb_inst_branch_complete; ++i) 132 134 sensitive << (*( in_BRANCH_COMPLETE_VAL [i])) … … 144 146 dont_initialize (); 145 147 // sensitive << (*(in_CLOCK)).neg(); // don't need internal register 148 sensitive << (*(in_NRESET)); 146 149 for (uint32_t i=0; i<_param->_nb_context; ++i) 147 150 { … … 170 173 dont_initialize (); 171 174 // sensitive << (*(in_CLOCK)).neg(); // don't need internal register 175 sensitive << (*(in_NRESET)); 172 176 for (uint32_t i=0; i<_param->_nb_context; ++i) 173 177 { … … 190 194 dont_initialize (); 191 195 // sensitive << (*(in_CLOCK)).neg(); // don't need internal register 196 sensitive << (*(in_NRESET)); 192 197 for (uint32_t i=0; i<_param->_nb_context; ++i) 193 198 sensitive << (*( in_NB_INST_DECOD_UNIT_DECOD_ALL [i])); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/Address_management/src/Address_management_genMoore.cpp
r123 r132 22 22 void Address_management::genMoore (void) 23 23 { 24 log_printf(FUNC,Address_management,FUNCTION,"Begin"); 24 log_begin(Address_management,FUNCTION); 25 log_function(Address_management,FUNCTION,_name.c_str()); 25 26 26 27 if (PORT_READ(in_NRESET)) … … 52 53 PORT_WRITE(out_PREDICT_PC_CURRENT ,reg_PC_NEXT ); 53 54 PORT_WRITE(out_PREDICT_PC_CURRENT_IS_DS_TAKE,reg_PC_NEXT_IS_DS_TAKE); 55 54 56 } 55 57 else … … 59 61 } 60 62 63 log_printf(TRACE,Address_management,FUNCTION," * ADDRESS_VAL : %d",internal_ADDRESS_VAL); 64 log_printf(TRACE,Address_management,FUNCTION," * PREDICT_VAL : %d",internal_PREDICT_VAL); 65 61 66 PORT_WRITE(out_ADDRESS_VAL,internal_ADDRESS_VAL); 62 67 PORT_WRITE(out_PREDICT_VAL,internal_PREDICT_VAL); 63 68 64 log_ printf(FUNC,Address_management,FUNCTION,"End");69 log_end(Address_management,FUNCTION); 65 70 }; 66 71 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/Ifetch_queue/src/Ifetch_queue.cpp
r131 r132 76 76 log_printf(INFO,Ifetch_queue,FUNCTION,_("<%s> Method - constant"),_name.c_str()); 77 77 78 #ifdef SYSTEMCASS_SPECIFIC 79 constant(); 80 #else 78 81 SC_METHOD (constant); 79 82 // dont_initialize (); … … 82 85 // List dependency information 83 86 # endif 84 87 #endif 85 88 log_printf(INFO,Ifetch_queue,FUNCTION,_("<%s> Method - transition"),_name.c_str()); 86 89 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/Ifetch_queue/src/Ifetch_queue_genMoore.cpp
r123 r132 21 21 void Ifetch_queue::genMoore (void) 22 22 { 23 log_printf(FUNC,Ifetch_queue,FUNCTION,"Begin"); 23 log_begin(Ifetch_queue,FUNCTION); 24 log_function(Ifetch_queue,FUNCTION,_name.c_str()); 24 25 25 26 if (PORT_READ(in_NRESET)) … … 30 31 { 31 32 internal_ADDRESS_ACK = (_queue[reg_PTR_WRITE]->_state == IFETCH_QUEUE_STATE_EMPTY); 32 33 34 log_printf(TRACE,Ifetch_queue,FUNCTION," * ADDRESS_ACK : %d",internal_ADDRESS_ACK); 35 33 36 if (_param->_have_port_ifetch_queue_ptr) 34 37 PORT_WRITE(out_ADDRESS_IFETCH_QUEUE_ID, reg_PTR_WRITE); … … 44 47 { 45 48 internal_DECOD_VAL [i] = ack and _queue[reg_PTR_READ]->_instruction_enable [i]; 49 50 log_printf(TRACE,Ifetch_queue,FUNCTION," * DECOD_VAL [%d] : %d",i,internal_DECOD_VAL [i]); 51 46 52 PORT_WRITE(out_DECOD_INSTRUCTION [i], _queue[reg_PTR_READ]->_instruction [i]); 47 53 } … … 70 76 PORT_WRITE(out_DECOD_VAL [i], internal_DECOD_VAL [i]); 71 77 72 log_ printf(FUNC,Ifetch_queue,FUNCTION,"End");78 log_end(Ifetch_queue,FUNCTION); 73 79 }; 74 80 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/Ifetch_unit_Glue/src/Ifetch_unit_Glue.cpp
r131 r132 103 103 dont_initialize (); 104 104 // sensitive << (*(in_CLOCK)).neg(); // don't use internal register 105 sensitive << (*(in_ICACHE_REQ_ADDRESS_VAL)) 105 sensitive << (*(in_NRESET)) 106 << (*(in_ICACHE_REQ_ADDRESS_VAL)) 106 107 << (*(in_ICACHE_REQ_ACK )) 107 108 << (*(in_ICACHE_REQ_QUEUE_ACK )) … … 130 131 dont_initialize (); 131 132 // sensitive << (*(in_CLOCK)).neg(); // don't use internal register 132 sensitive << (*(in_EVENT_VAL )) 133 sensitive << (*(in_NRESET)) 134 << (*(in_EVENT_VAL )) 133 135 << (*(in_EVENT_ADDRESS_ACK)) 134 136 << (*(in_EVENT_QUEUE_ACK )); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Branch_Target_Buffer/Branch_Target_Buffer_Glue/src/Branch_Target_Buffer_Glue.cpp
r123 r132 91 91 SC_METHOD (genMealy_predict); 92 92 dont_initialize (); 93 // sensitive << (*(in_CLOCK)).neg(); // don't use internal register 93 // sensitive << (*(in_CLOCK)).neg(); // don't use internal register 94 sensitive << (*(in_NRESET)); 94 95 95 96 for (uint32_t i=0; i<_param->_nb_inst_predict; i++) … … 186 187 dont_initialize (); 187 188 // sensitive << (*(in_CLOCK)).neg(); // don't use internal register 188 189 sensitive << (*(in_NRESET)); 190 189 191 for (uint32_t i=0; i<_param->_nb_inst_decod; i++) 190 192 { … … 228 230 dont_initialize (); 229 231 // sensitive << (*(in_CLOCK)).neg(); // don't use internal register 232 sensitive << (*(in_NRESET)); 230 233 231 234 for (uint32_t i=0; i<_param->_nb_inst_update; i++) -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Branch_Target_Buffer/Branch_Target_Buffer_Register/src/Branch_Target_Buffer_Register.cpp
r131 r132 101 101 SC_METHOD (genMealy_predict); 102 102 dont_initialize (); 103 sensitive << (*(in_CLOCK)).neg(); // use internal register 103 sensitive << (*(in_CLOCK)).neg() // use internal register 104 << (*(in_NRESET)); 104 105 for (uint32_t i=0; i<_param->_nb_inst_predict; i++) 105 106 { … … 147 148 SC_METHOD (genMealy_decod); 148 149 dont_initialize (); 149 sensitive << (*(in_CLOCK)).neg(); // use internal register 150 sensitive << (*(in_CLOCK)).neg() // use internal register 151 << (*(in_NRESET)); 150 152 for (uint32_t i=0; i<_param->_nb_inst_decod; i++) 151 153 { … … 179 181 SC_METHOD (genMealy_update); 180 182 dont_initialize (); 181 sensitive << (*(in_CLOCK)).neg(); // use internal register 183 sensitive << (*(in_CLOCK)).neg() // use internal register 184 << (*(in_NRESET)); 182 185 for (uint32_t i=0; i<_param->_nb_inst_update; i++) 183 186 { -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Direction_Glue/src/Direction_Glue.cpp
r131 r132 138 138 dont_initialize (); 139 139 // sensitive << (*(in_CLOCK)).neg(); // don't use internal register 140 sensitive << (*(in_NRESET)); 140 141 for (uint32_t i=0; i<_param->_nb_inst_predict; i++) 141 142 { … … 221 222 dont_initialize (); 222 223 // sensitive << (*(in_CLOCK)).neg(); // don't use internal register 224 sensitive << (*(in_NRESET)); 223 225 for (uint32_t i=0; i<_param->_nb_inst_update; i++) 224 226 sensitive << (*(in_UPDATE_VAL [i])) -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/src/Meta_Predictor_Glue.cpp
r112 r132 87 87 dont_initialize (); 88 88 // sensitive << (*(in_CLOCK)).neg(); // don't need internal register 89 sensitive << (*(in_NRESET)); 89 90 for (uint32_t i=0; i<_param->_nb_inst_update; ++i) 90 91 { … … 100 101 dont_initialize (); 101 102 // sensitive << (*(in_CLOCK)).neg(); // don't need internal register 103 sensitive << (*(in_NRESET)); 102 104 for (uint32_t i=0; i<_param->_nb_inst_update; ++i) 103 105 sensitive << (*(in_UPDATE_HISTORY [i])) … … 114 116 dont_initialize (); 115 117 // sensitive << (*(in_CLOCK)).neg(); // don't need internal register 118 sensitive << (*(in_NRESET)); 116 119 for (uint32_t i=0; i<_param->_nb_inst_predict; ++i) 117 120 { … … 131 134 dont_initialize (); 132 135 // sensitive << (*(in_CLOCK)).neg(); // don't need internal register 136 sensitive << (*(in_NRESET)); 133 137 for (uint32_t i=0; i<_param->_nb_inst_predict; ++i) 134 138 for (uint32_t j=0; j<_param->_nb_predictor; ++j) -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/src/Two_Level_Branch_Predictor.cpp
r131 r132 99 99 SC_METHOD (genMealy_predict); 100 100 dont_initialize (); 101 sensitive << (*(in_CLOCK)).neg(); // need internal register 101 sensitive << (*(in_CLOCK)).neg() // need internal register 102 << (*(in_NRESET)); 102 103 103 104 for (uint32_t i=0; i<_param->_nb_inst_predict; ++i) -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Prediction_unit_Glue/src/Prediction_unit_Glue.cpp
r123 r132 91 91 92 92 dont_initialize (); 93 sensitive << (*(in_CLOCK)).neg() ;// use internal register94 93 sensitive << (*(in_CLOCK)).neg() // use internal register 94 << (*(in_NRESET)); 95 95 for (uint32_t i=0; i<_param->_nb_context; i++) 96 96 { … … 1034 1034 SC_METHOD (genMealy_decod); 1035 1035 dont_initialize (); 1036 sensitive << (*(in_CLOCK)).neg(); // use internal register 1036 sensitive << (*(in_CLOCK)).neg() // use internal register 1037 << (*(in_NRESET)); 1037 1038 for (uint32_t i=0; i<_param->_nb_decod_unit; i++) 1038 1039 for (uint32_t j=0; j<_param->_nb_inst_decod[i]; j++) … … 1711 1712 dont_initialize (); 1712 1713 // sensitive << (*(in_CLOCK)).neg(); // don't use internal register 1714 sensitive << (*(in_NRESET)); 1713 1715 for (uint32_t i=0; i<_param->_nb_inst_branch_update; i++) 1714 1716 sensitive << (*(in_UPDATE_BTB_ACK [i])) -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Return_Address_Stack/src/Return_Address_Stack.cpp
r131 r132 100 100 SC_METHOD (genMealy_decod); 101 101 dont_initialize (); 102 sensitive << (*(in_CLOCK)).neg(); // use internal registers 102 sensitive << (*(in_CLOCK)).neg() // use internal registers 103 << (*(in_NRESET)); 103 104 for (uint32_t i=0; i<_param->_nb_inst_decod; i++) 104 105 { 105 106 if (_param->_have_port_context_id) 106 107 sensitive << (*( in_DECOD_CONTEXT_ID [i])); 107 sensitive << (*( in_DECOD_PUSH [i])); 108 sensitive << (*( in_DECOD_VAL [i])) 109 << (*( in_DECOD_PUSH [i])); 108 110 } 109 111 … … 130 132 SC_METHOD (genMealy_predict); 131 133 dont_initialize (); 132 sensitive << (*(in_CLOCK)).neg(); // use internal registers 134 sensitive << (*(in_CLOCK)).neg() // use internal registers 135 << (*(in_NRESET)); 133 136 for (uint32_t i=0; i<_param->_nb_inst_predict; i++) 134 137 { 135 138 if (_param->_have_port_context_id) 136 139 sensitive << (*( in_PREDICT_CONTEXT_ID [i])); 137 sensitive << (*( in_PREDICT_PUSH [i])); 140 sensitive << (*( in_PREDICT_VAL [i])) 141 << (*( in_PREDICT_PUSH [i])); 138 142 } 139 143 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Update_Prediction_Table/src/Update_Prediction_Table.cpp
r131 r132 112 112 SC_METHOD (genMealy_predict); 113 113 dont_initialize (); 114 sensitive << (*(in_CLOCK)).neg(); // use internal register 114 sensitive << (*(in_CLOCK)).neg() // use internal register 115 << (*(in_NRESET)); 115 116 for (uint32_t i=0; i<_param->_nb_inst_predict; i++) 116 117 { … … 134 135 SC_METHOD (genMealy_decod); 135 136 dont_initialize (); 136 sensitive << (*(in_CLOCK)).neg(); // use internal register 137 sensitive << (*(in_CLOCK)).neg() // use internal register 138 << (*(in_NRESET)); 137 139 for (uint32_t i=0; i<_param->_nb_inst_decod; i++) 138 140 { … … 154 156 SC_METHOD (genMealy_branch_complete); 155 157 dont_initialize (); 156 sensitive << (*(in_CLOCK)).neg(); // use internal register 158 sensitive << (*(in_CLOCK)).neg() // use internal register 159 << (*(in_NRESET)); 157 160 for (uint32_t i=0; i<_param->_nb_inst_branch_complete; i++) 158 161 { … … 161 164 if (_param->_have_port_depth) 162 165 sensitive << (*(in_BRANCH_COMPLETE_DEPTH [i])); 163 sensitive << (*(in_BRANCH_COMPLETE_NO_SEQUENCE [i])) 164 << (*(in_BRANCH_COMPLETE_ADDRESS [i])); 166 sensitive << (*(in_BRANCH_COMPLETE_VAL [i])) 167 << (*(in_BRANCH_COMPLETE_NO_SEQUENCE [i])) 168 << (*(in_BRANCH_COMPLETE_ADDRESS [i])); 165 169 } 166 170 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/src/Commit_unit.cpp
r131 r132 113 113 SC_METHOD (genMealy_insert); 114 114 dont_initialize (); 115 sensitive << (*(in_CLOCK)).neg(); // need internal register 115 sensitive << (*(in_CLOCK)).neg() // need internal register 116 << (*(in_NRESET)); 116 117 // for (uint32_t i=0; i<_param->_nb_rename_unit; i++) 117 118 // for (uint32_t j=0; j<_param->_nb_inst_insert[i]; j++) … … 135 136 SC_METHOD (genMealy_retire); 136 137 dont_initialize (); 137 sensitive << (*(in_CLOCK)).neg(); // need internal register 138 sensitive << (*(in_CLOCK)).neg() // need internal register 139 << (*(in_NRESET)); 138 140 for (uint32_t i=0; i<_param->_nb_rename_unit; i++) 139 141 for (uint32_t j=0; j<_param->_nb_inst_retire[i]; j++) … … 243 245 SC_METHOD (genMealy_commit); 244 246 dont_initialize (); 245 sensitive << (*(in_CLOCK)).neg(); // need internal register 247 sensitive << (*(in_CLOCK)).neg() // need internal register 248 << (*(in_NRESET)); 246 249 for (uint32_t j=0; j<_param->_nb_inst_commit; j++) 247 250 { -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Issue_queue/src/Issue_queue.cpp
r123 r132 134 134 SC_METHOD (genMealy_issue_in); 135 135 dont_initialize (); 136 sensitive << (*(in_CLOCK)).neg() ;// need internal register137 136 sensitive << (*(in_CLOCK)).neg() // need internal register 137 << (*(in_NRESET)); 138 138 # ifdef SYSTEMCASS_SPECIFIC 139 139 // List dependency information … … 147 147 SC_METHOD (genMealy_issue_out); 148 148 dont_initialize (); 149 sensitive << (*(in_CLOCK)).neg() ;// need internal register150 149 sensitive << (*(in_CLOCK)).neg() // need internal register 150 << (*(in_NRESET)); 151 151 if (_param->_queue_scheme == ISSUE_QUEUE_SCHEME_IN_ORDER) 152 152 { -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/OOO_Engine_Glue/src/OOO_Engine_Glue.cpp
r123 r132 102 102 dont_initialize (); 103 103 //sensitive << (*(in_CLOCK)).neg(); // don't need internal register 104 sensitive << (*(in_NRESET)); 104 105 for (uint32_t i=0; i<_param->_nb_front_end; ++i) 105 106 for (uint32_t j=0; j<_param->_nb_inst_decod[i]; ++j) … … 116 117 dont_initialize (); 117 118 //sensitive << (*(in_CLOCK)).neg(); // don't need internal register 119 sensitive << (*(in_NRESET)); 118 120 { 119 121 uint32_t x=0; … … 136 138 dont_initialize (); 137 139 //sensitive << (*(in_CLOCK)).neg(); // don't need internal register 140 sensitive << (*(in_NRESET)); 138 141 139 142 for (uint32_t i=0; i<_param->_nb_rename_unit; ++i) … … 220 223 dont_initialize (); 221 224 //sensitive << (*(in_CLOCK)).neg(); // don't need internal register 225 sensitive << (*(in_NRESET)); 222 226 for (uint32_t i=0; i<_param->_nb_front_end; ++i) 223 227 for (uint32_t j=0; j<_param->_nb_context[i]; ++j) -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Reexecute_unit/src/Reexecute_unit.cpp
r131 r132 112 112 SC_METHOD (genMealy_reexecute); 113 113 dont_initialize (); 114 sensitive << (*(in_CLOCK)).neg(); // need internal register 114 sensitive << (*(in_CLOCK)).neg() // need internal register 115 << (*(in_NRESET)); 115 116 116 117 for (uint32_t i=0; i<_param->_nb_inst_reexecute; i++) … … 122 123 if (_param->_have_port_rob_ptr ) 123 124 sensitive << (*(in_REEXECUTE_ROB_PACKET_ID [i])); 124 sensitive << (*(in_REEXECUTE_ROB_OPERATION [i])) 125 sensitive << (*(in_REEXECUTE_ROB_VAL [i])) 126 << (*(in_REEXECUTE_ACK [i])) 127 << (*(in_REEXECUTE_ROB_OPERATION [i])) 125 128 << (*(in_REEXECUTE_ROB_TYPE [i])) 126 129 << (*(in_REEXECUTE_ROB_STORE_QUEUE_PTR_WRITE [i])); … … 135 138 SC_METHOD (genMealy_commit); 136 139 dont_initialize (); 137 sensitive << (*(in_CLOCK)).neg(); // need internal register 140 sensitive << (*(in_CLOCK)).neg() // need internal register 141 << (*(in_NRESET)); 138 142 139 143 for (uint32_t i=0; i<_param->_nb_execute_loop; ++i) -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Load_Store_pointer_unit/src/Load_Store_pointer_unit.cpp
r131 r132 101 101 SC_METHOD (genMealy_insert); 102 102 dont_initialize (); 103 sensitive << (*(in_CLOCK)).neg(); 103 sensitive << (*(in_CLOCK)).neg() 104 << (*(in_NRESET)); 105 104 106 for (uint32_t i=0; i<_param->_nb_inst_insert; i++) 105 107 { … … 150 152 SC_METHOD (genMealy_retire); 151 153 dont_initialize (); 152 sensitive << (*(in_CLOCK)).neg(); 154 sensitive << (*(in_CLOCK)).neg() 155 << (*(in_NRESET)); 156 153 157 for (uint32_t i=0; i<_param->_nb_inst_retire; i++) 154 158 { -
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
r123 r132 93 93 dont_initialize (); 94 94 // sensitive << (*(in_CLOCK)).neg(); // don't need internal register 95 sensitive << (*(in_NRESET)); 95 96 for (uint32_t i=0;i<_param->_nb_inst_insert; i++) 96 97 { -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Free_List_unit/src/Free_List_unit.cpp
r123 r132 100 100 SC_METHOD (genMealy_pop); 101 101 dont_initialize (); 102 sensitive << (*(in_CLOCK)).neg(); // need internal register 102 sensitive << (*(in_CLOCK)).neg() // need internal register 103 << (*(in_NRESET)); 104 103 105 for (uint32_t i=0; i<_param->_nb_pop; i++) 104 106 sensitive << (*(in_POP_GPR_VAL[i])) … … 121 123 SC_METHOD (genMealy_push_gpr); 122 124 dont_initialize (); 123 sensitive << (*(in_CLOCK)).neg(); // need internal register 125 sensitive << (*(in_CLOCK)).neg() // need internal register 126 << (*(in_NRESET)); 127 124 128 for (uint32_t i=0; i<_param->_nb_push; i++) 125 129 sensitive << (*(in_PUSH_GPR_VAL [i])) … … 140 144 SC_METHOD (genMealy_push_spr); 141 145 dont_initialize (); 142 sensitive << (*(in_CLOCK)).neg(); // need internal register 146 sensitive << (*(in_CLOCK)).neg() // need internal register 147 << (*(in_NRESET)); 148 143 149 for (uint32_t i=0; i<_param->_nb_push; i++) 144 150 sensitive << (*(in_PUSH_SPR_VAL [i])) -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Register_Address_Translation_unit/src/Register_Address_Translation_unit.cpp
r131 r132 102 102 SC_METHOD (genMealy_rename); 103 103 dont_initialize (); 104 sensitive << (*(in_CLOCK)).neg(); // need internal register 104 sensitive << (*(in_CLOCK)).neg() // need internal register 105 << (*(in_NRESET)); 106 105 107 for (uint32_t i=0; i<_param->_nb_inst_insert; i++) 106 108 { … … 130 132 SC_METHOD (genMealy_retire); 131 133 dont_initialize (); 132 sensitive << (*(in_CLOCK)).neg(); // need internal register 134 sensitive << (*(in_CLOCK)).neg() // need internal register 135 << (*(in_NRESET)); 136 133 137 for (uint32_t i=0; i<_param->_nb_inst_retire; ++i) 134 138 { -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Register_translation_unit_Glue/src/Register_translation_unit_Glue.cpp
r123 r132 90 90 dont_initialize (); 91 91 // sensitive << (*(in_CLOCK)).neg(); // don't need internal register 92 sensitive << (*(in_NRESET)); 92 93 for (uint32_t i=0; i<_param->_nb_inst_retire; i++) 93 94 sensitive << (*(in_RETIRE_VAL [i])) … … 115 116 dont_initialize (); 116 117 // sensitive << (*(in_CLOCK)).neg(); // don't need internal register 118 sensitive << (*(in_NRESET)); 117 119 for (uint32_t i=0; i<_param->_nb_inst_insert; i++) 118 120 sensitive << (*(in_INSERT_RENAME_VAL [i])) … … 164 166 dont_initialize (); 165 167 // sensitive << (*(in_CLOCK)).neg(); // don't need internal register 168 sensitive << (*(in_NRESET)); 166 169 for (uint32_t i=0; i<_param->_nb_inst_insert; i++) 167 170 sensitive << (*(in_INSERT_DEPENDENCY_CHECKING_READ_RA [i])) -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Rename_select/src/Rename_select.cpp
r123 r132 88 88 SC_METHOD (genMealy); 89 89 dont_initialize (); 90 sensitive << (*(in_CLOCK)).neg(); 90 sensitive << (*(in_CLOCK)).neg() 91 << (*(in_NRESET)); 92 91 93 for (uint32_t i=0; i<_param->_nb_front_end; i++) 92 94 for (uint32_t j=0; j<_param->_nb_inst_decod [i]; j++) -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Rename_unit_Glue/src/Rename_unit_Glue.cpp
r123 r132 101 101 dont_initialize (); 102 102 // sensitive << (*(in_CLOCK)).neg(); // don't need internal register 103 103 sensitive << (*(in_NRESET)); 104 104 105 for (uint32_t i=0; i<_param->_nb_inst_insert; i++) 105 106 sensitive … … 120 121 dont_initialize (); 121 122 // sensitive << (*(in_CLOCK)).neg(); // don't need internal register 123 sensitive << (*(in_NRESET)); 122 124 for (uint32_t i=0; i<_param->_nb_inst_retire; i++) 123 125 sensitive … … 136 138 dont_initialize (); 137 139 // sensitive << (*(in_CLOCK)).neg(); // don't need internal register 140 sensitive << (*(in_NRESET)); 138 141 for (uint32_t i=0; i<_param->_nb_front_end; i++) 139 142 for (uint32_t j=0; j<_param->_nb_context[i]; j++) … … 153 156 dont_initialize (); 154 157 // sensitive << (*(in_CLOCK)).neg(); // don't need internal register 158 sensitive << (*(in_NRESET)); 155 159 for (uint32_t i=0; i<_param->_nb_inst_retire; i++) 156 160 { -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Special_Register_unit/src/Special_Register_unit.cpp
r131 r132 112 112 SC_METHOD (genMealy_spr_access); 113 113 dont_initialize (); 114 sensitive << (*(in_CLOCK)).neg(); // need internal register 115 114 sensitive << (*(in_CLOCK)).neg() // need internal register 115 << (*(in_NRESET)); 116 116 117 for (uint32_t i=0; i<_param->_nb_inst_reexecute; i++) 117 118 { 118 sensitive << (*(in_SPR_ACCESS_NUM_GROUP [i])) 119 sensitive << (*(in_SPR_ACCESS_VAL [i])) 120 << (*(in_SPR_ACCESS_NUM_GROUP [i])) 119 121 << (*(in_SPR_ACCESS_NUM_REG [i])) 120 122 // << (*(in_SPR_ACCESS_VAL [i])) -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Comparator/src/Comparator.cpp
r113 r132 82 82 dont_initialize (); 83 83 // sensitive << (*(in_CLOCK)).neg(); // don't need internal register 84 sensitive << (*(in_COMPARE_DATA_0)) 84 sensitive << (*(in_NRESET)) 85 << (*(in_COMPARE_DATA_0)) 85 86 << (*(in_COMPARE_DATA_1)); 86 87 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Counter/src/Counter.cpp
r113 r132 77 77 SC_METHOD (genMealy); 78 78 dont_initialize (); 79 sensitive << (*(in_NRESET)); 79 80 for (uint32_t i=0; i<_param->_nb_port; i++) 80 81 sensitive << *(in_COUNTER_DATA [i]) -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Multiplier/src/Multiplier.cpp
r116 r132 82 82 dont_initialize (); 83 83 sensitive << (*(in_CLOCK)).neg(); // need internal register 84 sensitive << (*(in_NRESET)); 84 85 85 86 if (_param->_latency == 0) -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/src/RegisterFile_Monolithic.cpp
r131 r132 70 70 SC_METHOD (genMealy_read); 71 71 dont_initialize (); 72 sensitive << (*(in_CLOCK)).neg(); 72 sensitive << (*(in_CLOCK)).neg() 73 << (*(in_NRESET)); 74 73 75 for (uint32_t i=0; i<_param->_nb_port_read; i++) 74 76 { -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Multi_Banked/src/RegisterFile_Multi_Banked.cpp
r123 r132 95 95 SC_METHOD (genMealy_read); 96 96 dont_initialize (); 97 sensitive << (*(in_CLOCK)).neg(); 97 sensitive << (*(in_CLOCK)).neg() 98 << (*(in_NRESET)); 98 99 for (uint32_t i=0; i<_param->_nb_port_read; i++) 99 100 { … … 124 125 SC_METHOD (genMealy_write); 125 126 dont_initialize (); 126 sensitive<< (*(in_CLOCK)).neg(); 127 sensitive<< (*(in_CLOCK)).neg() 128 << (*(in_NRESET)); 127 129 for (uint32_t i=0; i<_param->_nb_port_write; i++) 128 130 { -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Shifter/src/Shifter.cpp
r123 r132 67 67 SC_METHOD (genMealy_shift); 68 68 dont_initialize (); 69 sensitive << (*(in_CLOCK)).neg(); 69 sensitive << (*(in_CLOCK)).neg() 70 << (*(in_NRESET)); 70 71 for (uint32_t i=0; i<param->_nb_port; i++) 71 72 { -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Sort/src/Sort.cpp
r128 r132 88 88 dont_initialize (); 89 89 // sensitive << (*(in_CLOCK)).neg(); // don't use internal register 90 sensitive << (*(in_NRESET)); 90 91 for (uint32_t i=0; i<_param->_nb_input; i++) 91 92 sensitive << (*(in_INPUT_VAL [i])) -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Sort/src/Sort_genMealy.cpp
r123 r132 29 29 { 30 30 array[i].index = i; 31 array[i].val = PORT_READ 32 array[i].data = PORT_READ 31 array[i].val = PORT_READ( in_INPUT_VAL [i]); 32 array[i].data = PORT_READ( in_INPUT_DATA [i]); 33 33 } 34 34 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Victim/Victim_Pseudo_LRU/src/Victim_Pseudo_LRU.cpp
r131 r132 78 78 SC_METHOD (genMealy); 79 79 dont_initialize (); 80 sensitive << (*(in_CLOCK)).neg(); 80 sensitive << (*(in_CLOCK)).neg() 81 << (*(in_NRESET)); 81 82 for (uint32_t i=0; i<_param->_nb_access; i++) 82 83 if (_param->_size_table>1) -
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Version.h
r131 r132 10 10 #define MORPHEO_MAJOR_VERSION "0" 11 11 #define MORPHEO_MINOR_VERSION "2" 12 #define MORPHEO_REVISION "13 1"12 #define MORPHEO_REVISION "132" 13 13 #define MORPHEO_CODENAME "Castor" 14 14 15 #define MORPHEO_DATE_DAY " 08"15 #define MORPHEO_DATE_DAY "11" 16 16 #define MORPHEO_DATE_MONTH "07" 17 17 #define MORPHEO_DATE_YEAR "2009" -
trunk/IPs/systemC/processor/Morpheo/Common/include/Systemc.h
r131 r132 39 39 #else 40 40 # ifdef SYSTEMCASS_SPECIFIC 41 # define simulation_run(x) do{ sc_ time t (x,TIME_UNIT); sc_start(t); } while(0)41 # define simulation_run(x) do{ sc_start(x); } while(0) 42 42 # else // systemc 43 43 # define simulation_run(x) do{ if(x==0) {sc_start(SC_ZERO_TIME);} else {sc_time t (x,TIME_UNIT); sc_start(t);}} while(0) … … 50 50 #endif 51 51 #endif 52 -
trunk/IPs/systemC/processor/Morpheo/Files/Morpheo.sim
r130 r132 17 17 <parameter name="directory_log" value="." /> 18 18 19 <parameter name="statistics_cycle_start" value="100 0000" />19 <parameter name="statistics_cycle_start" value="100" /> 20 20 <parameter name="statistics_period" value="0" /> 21 21 -
trunk/IPs/systemC/processor/Morpheo/Files/debug.sim
r131 r132 108 108 <component name="TopLevel" model="systemc" debug="1" /> 109 109 110 <component name="Behavioural" model="systemc" debug=" 1" />111 <component name="Interface" model="systemc" debug=" 1" />112 <component name="Allocation" model="systemc" debug=" 1" />110 <component name="Behavioural" model="systemc" debug="0" /> 111 <component name="Interface" model="systemc" debug="0" /> 112 <component name="Allocation" model="systemc" debug="0" /> 113 113 114 114 </parameters>
Note: See TracChangeset
for help on using the changeset viewer.