Changeset 117 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Stat_List_unit/SelfTest/src/test.cpp
- Timestamp:
- May 16, 2009, 4:42:39 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Stat_List_unit/SelfTest/src/test.cpp
r113 r117 63 63 sc_signal<Tcontrol_t > ** in_INSERT_VAL ;//[nb_inst_insert] 64 64 sc_signal<Tcontrol_t > ** out_INSERT_ACK ;//[nb_inst_insert] 65 66 67 68 69 70 65 //sc_signal<Tcontrol_t > ** in_INSERT_READ_RA ;//[nb_inst_insert] 66 //sc_signal<Tgeneral_address_t> ** in_INSERT_NUM_REG_RA_PHY ;//[nb_inst_insert] 67 //sc_signal<Tcontrol_t > ** in_INSERT_READ_RB ;//[nb_inst_insert] 68 //sc_signal<Tgeneral_address_t> ** in_INSERT_NUM_REG_RB_PHY ;//[nb_inst_insert] 69 //sc_signal<Tcontrol_t > ** in_INSERT_READ_RC ;//[nb_inst_insert] 70 //sc_signal<Tspecial_address_t> ** in_INSERT_NUM_REG_RC_PHY ;//[nb_inst_insert] 71 71 sc_signal<Tcontrol_t > ** in_INSERT_WRITE_RD ;//[nb_inst_insert] 72 sc_signal<Tgeneral_address_t> ** in_INSERT_NUM_REG_RD_PHY_OLD;//[nb_inst_insert] 72 73 sc_signal<Tgeneral_address_t> ** in_INSERT_NUM_REG_RD_PHY_NEW;//[nb_inst_insert] 73 74 sc_signal<Tcontrol_t > ** in_INSERT_WRITE_RE ;//[nb_inst_insert] 75 sc_signal<Tspecial_address_t> ** in_INSERT_NUM_REG_RE_PHY_OLD;//[nb_inst_insert] 74 76 sc_signal<Tspecial_address_t> ** in_INSERT_NUM_REG_RE_PHY_NEW;//[nb_inst_insert] 75 77 sc_signal<Tcontrol_t > ** in_RETIRE_VAL ;//[nb_inst_retire] 76 78 sc_signal<Tcontrol_t > ** out_RETIRE_ACK ;//[nb_inst_retire] 77 79 sc_signal<Tcontrol_t > ** in_RETIRE_RESTORE ;//[nb_inst_retire] 78 79 80 81 82 83 80 //sc_signal<Tcontrol_t > ** in_RETIRE_READ_RA ;//[nb_inst_retire] 81 //sc_signal<Tgeneral_address_t> ** in_RETIRE_NUM_REG_RA_PHY ;//[nb_inst_retire] 82 //sc_signal<Tcontrol_t > ** in_RETIRE_READ_RB ;//[nb_inst_retire] 83 //sc_signal<Tgeneral_address_t> ** in_RETIRE_NUM_REG_RB_PHY ;//[nb_inst_retire] 84 //sc_signal<Tcontrol_t > ** in_RETIRE_READ_RC ;//[nb_inst_retire] 85 //sc_signal<Tspecial_address_t> ** in_RETIRE_NUM_REG_RC_PHY ;//[nb_inst_retire] 84 86 sc_signal<Tcontrol_t > ** in_RETIRE_WRITE_RD ;//[nb_inst_retire] 85 87 sc_signal<Tcontrol_t > ** in_RETIRE_RESTORE_RD_PHY_OLD;//[nb_inst_retire] … … 99 101 ALLOC1_SC_SIGNAL( in_INSERT_VAL ," in_INSERT_VAL ",Tcontrol_t ,_param->_nb_inst_insert); 100 102 ALLOC1_SC_SIGNAL(out_INSERT_ACK ,"out_INSERT_ACK ",Tcontrol_t ,_param->_nb_inst_insert); 101 102 103 104 105 106 103 //ALLOC1_SC_SIGNAL( in_INSERT_READ_RA ," in_INSERT_READ_RA ",Tcontrol_t ,_param->_nb_inst_insert); 104 //ALLOC1_SC_SIGNAL( in_INSERT_NUM_REG_RA_PHY ," in_INSERT_NUM_REG_RA_PHY ",Tgeneral_address_t,_param->_nb_inst_insert); 105 //ALLOC1_SC_SIGNAL( in_INSERT_READ_RB ," in_INSERT_READ_RB ",Tcontrol_t ,_param->_nb_inst_insert); 106 //ALLOC1_SC_SIGNAL( in_INSERT_NUM_REG_RB_PHY ," in_INSERT_NUM_REG_RB_PHY ",Tgeneral_address_t,_param->_nb_inst_insert); 107 //ALLOC1_SC_SIGNAL( in_INSERT_READ_RC ," in_INSERT_READ_RC ",Tcontrol_t ,_param->_nb_inst_insert); 108 //ALLOC1_SC_SIGNAL( in_INSERT_NUM_REG_RC_PHY ," in_INSERT_NUM_REG_RC_PHY ",Tspecial_address_t,_param->_nb_inst_insert); 107 109 ALLOC1_SC_SIGNAL( in_INSERT_WRITE_RD ," in_INSERT_WRITE_RD ",Tcontrol_t ,_param->_nb_inst_insert); 110 ALLOC1_SC_SIGNAL( in_INSERT_NUM_REG_RD_PHY_OLD," in_INSERT_NUM_REG_RD_PHY_OLD",Tgeneral_address_t,_param->_nb_inst_insert); 108 111 ALLOC1_SC_SIGNAL( in_INSERT_NUM_REG_RD_PHY_NEW," in_INSERT_NUM_REG_RD_PHY_NEW",Tgeneral_address_t,_param->_nb_inst_insert); 109 112 ALLOC1_SC_SIGNAL( in_INSERT_WRITE_RE ," in_INSERT_WRITE_RE ",Tcontrol_t ,_param->_nb_inst_insert); 113 ALLOC1_SC_SIGNAL( in_INSERT_NUM_REG_RE_PHY_OLD," in_INSERT_NUM_REG_RE_PHY_OLD",Tspecial_address_t,_param->_nb_inst_insert); 110 114 ALLOC1_SC_SIGNAL( in_INSERT_NUM_REG_RE_PHY_NEW," in_INSERT_NUM_REG_RE_PHY_NEW",Tspecial_address_t,_param->_nb_inst_insert); 111 115 ALLOC1_SC_SIGNAL( in_RETIRE_VAL ," in_RETIRE_VAL ",Tcontrol_t ,_param->_nb_inst_retire); 112 116 ALLOC1_SC_SIGNAL(out_RETIRE_ACK ,"out_RETIRE_ACK ",Tcontrol_t ,_param->_nb_inst_retire); 113 117 ALLOC1_SC_SIGNAL( in_RETIRE_RESTORE ," in_RETIRE_RESTORE ",Tcontrol_t ,_param->_nb_inst_retire); 114 115 116 117 118 119 118 //ALLOC1_SC_SIGNAL( in_RETIRE_READ_RA ," in_RETIRE_READ_RA ",Tcontrol_t ,_param->_nb_inst_retire); 119 //ALLOC1_SC_SIGNAL( in_RETIRE_NUM_REG_RA_PHY ," in_RETIRE_NUM_REG_RA_PHY ",Tgeneral_address_t,_param->_nb_inst_retire); 120 //ALLOC1_SC_SIGNAL( in_RETIRE_READ_RB ," in_RETIRE_READ_RB ",Tcontrol_t ,_param->_nb_inst_retire); 121 //ALLOC1_SC_SIGNAL( in_RETIRE_NUM_REG_RB_PHY ," in_RETIRE_NUM_REG_RB_PHY ",Tgeneral_address_t,_param->_nb_inst_retire); 122 //ALLOC1_SC_SIGNAL( in_RETIRE_READ_RC ," in_RETIRE_READ_RC ",Tcontrol_t ,_param->_nb_inst_retire); 123 //ALLOC1_SC_SIGNAL( in_RETIRE_NUM_REG_RC_PHY ," in_RETIRE_NUM_REG_RC_PHY ",Tspecial_address_t,_param->_nb_inst_retire); 120 124 ALLOC1_SC_SIGNAL( in_RETIRE_WRITE_RD ," in_RETIRE_WRITE_RD ",Tcontrol_t ,_param->_nb_inst_retire); 121 125 ALLOC1_SC_SIGNAL( in_RETIRE_RESTORE_RD_PHY_OLD," in_RETIRE_RESTORE_RD_PHY_OLD",Tcontrol_t ,_param->_nb_inst_retire); … … 145 149 INSTANCE1_SC_SIGNAL(_Stat_List_unit, in_INSERT_VAL ,_param->_nb_inst_insert); 146 150 INSTANCE1_SC_SIGNAL(_Stat_List_unit,out_INSERT_ACK ,_param->_nb_inst_insert); 147 148 149 150 151 152 151 //INSTANCE1_SC_SIGNAL(_Stat_List_unit, in_INSERT_READ_RA ,_param->_nb_inst_insert); 152 //INSTANCE1_SC_SIGNAL(_Stat_List_unit, in_INSERT_NUM_REG_RA_PHY ,_param->_nb_inst_insert); 153 //INSTANCE1_SC_SIGNAL(_Stat_List_unit, in_INSERT_READ_RB ,_param->_nb_inst_insert); 154 //INSTANCE1_SC_SIGNAL(_Stat_List_unit, in_INSERT_NUM_REG_RB_PHY ,_param->_nb_inst_insert); 155 //INSTANCE1_SC_SIGNAL(_Stat_List_unit, in_INSERT_READ_RC ,_param->_nb_inst_insert); 156 //INSTANCE1_SC_SIGNAL(_Stat_List_unit, in_INSERT_NUM_REG_RC_PHY ,_param->_nb_inst_insert); 153 157 INSTANCE1_SC_SIGNAL(_Stat_List_unit, in_INSERT_WRITE_RD ,_param->_nb_inst_insert); 158 INSTANCE1_SC_SIGNAL(_Stat_List_unit, in_INSERT_NUM_REG_RD_PHY_OLD,_param->_nb_inst_insert); 154 159 INSTANCE1_SC_SIGNAL(_Stat_List_unit, in_INSERT_NUM_REG_RD_PHY_NEW,_param->_nb_inst_insert); 155 160 INSTANCE1_SC_SIGNAL(_Stat_List_unit, in_INSERT_WRITE_RE ,_param->_nb_inst_insert); 161 INSTANCE1_SC_SIGNAL(_Stat_List_unit, in_INSERT_NUM_REG_RE_PHY_OLD,_param->_nb_inst_insert); 156 162 INSTANCE1_SC_SIGNAL(_Stat_List_unit, in_INSERT_NUM_REG_RE_PHY_NEW,_param->_nb_inst_insert); 157 163 … … 159 165 INSTANCE1_SC_SIGNAL(_Stat_List_unit,out_RETIRE_ACK ,_param->_nb_inst_retire); 160 166 INSTANCE1_SC_SIGNAL(_Stat_List_unit, in_RETIRE_RESTORE ,_param->_nb_inst_retire); 161 162 163 164 165 166 167 //INSTANCE1_SC_SIGNAL(_Stat_List_unit, in_RETIRE_READ_RA ,_param->_nb_inst_retire); 168 //INSTANCE1_SC_SIGNAL(_Stat_List_unit, in_RETIRE_NUM_REG_RA_PHY ,_param->_nb_inst_retire); 169 //INSTANCE1_SC_SIGNAL(_Stat_List_unit, in_RETIRE_READ_RB ,_param->_nb_inst_retire); 170 //INSTANCE1_SC_SIGNAL(_Stat_List_unit, in_RETIRE_NUM_REG_RB_PHY ,_param->_nb_inst_retire); 171 //INSTANCE1_SC_SIGNAL(_Stat_List_unit, in_RETIRE_READ_RC ,_param->_nb_inst_retire); 172 //INSTANCE1_SC_SIGNAL(_Stat_List_unit, in_RETIRE_NUM_REG_RC_PHY ,_param->_nb_inst_retire); 167 173 INSTANCE1_SC_SIGNAL(_Stat_List_unit, in_RETIRE_WRITE_RD ,_param->_nb_inst_retire); 168 174 INSTANCE1_SC_SIGNAL(_Stat_List_unit, in_RETIRE_RESTORE_RD_PHY_OLD,_param->_nb_inst_retire); … … 348 354 349 355 in_INSERT_VAL [i]->write((rand()%100) < percent_transaction_insert); 350 in_INSERT_READ_RA [i]->write(read_ra );351 in_INSERT_NUM_REG_RA_PHY [i]->write(ra);352 in_INSERT_READ_RB [i]->write(read_rb );353 in_INSERT_NUM_REG_RB_PHY [i]->write(rb);354 in_INSERT_READ_RC [i]->write(read_rc );355 in_INSERT_NUM_REG_RC_PHY [i]->write(rc);356 // in_INSERT_READ_RA [i]->write(read_ra ); 357 // in_INSERT_NUM_REG_RA_PHY [i]->write(ra); 358 // in_INSERT_READ_RB [i]->write(read_rb ); 359 // in_INSERT_NUM_REG_RB_PHY [i]->write(rb); 360 // in_INSERT_READ_RC [i]->write(read_rc ); 361 // in_INSERT_NUM_REG_RC_PHY [i]->write(rc); 356 362 in_INSERT_WRITE_RD [i]->write(write_rd); 357 363 in_INSERT_NUM_REG_RD_PHY_NEW [i]->write(rd); … … 394 400 395 401 in_RETIRE_VAL [i]->write((rand()%100) < percent_transaction_retire); 396 in_RETIRE_READ_RA [i]->write(read_ra );397 in_RETIRE_RESTORE [i]->write(0);398 in_RETIRE_NUM_REG_RA_PHY [i]->write(ra);399 in_RETIRE_READ_RB [i]->write(read_rb );400 in_RETIRE_NUM_REG_RB_PHY [i]->write(rb);401 in_RETIRE_READ_RC [i]->write(read_rc );402 in_RETIRE_NUM_REG_RC_PHY [i]->write(rc);402 // in_RETIRE_READ_RA [i]->write(read_ra ); 403 // in_RETIRE_RESTORE [i]->write(0); 404 // in_RETIRE_NUM_REG_RA_PHY [i]->write(ra); 405 // in_RETIRE_READ_RB [i]->write(read_rb ); 406 // in_RETIRE_NUM_REG_RB_PHY [i]->write(rb); 407 // in_RETIRE_READ_RC [i]->write(read_rc ); 408 // in_RETIRE_NUM_REG_RC_PHY [i]->write(rc); 403 409 in_RETIRE_WRITE_RD [i]->write(write_rd); 404 410 in_RETIRE_RESTORE_RD_PHY_OLD [i]->write(0); … … 454 460 if (in_INSERT_VAL [i]->read() and out_INSERT_ACK [i]->read()) 455 461 { 456 Tcontrol_t read_ra = in_INSERT_READ_RA [i]->read();457 Tgeneral_address_t ra = in_INSERT_NUM_REG_RA_PHY [i]->read();458 Tcontrol_t read_rb = in_INSERT_READ_RB [i]->read();459 Tgeneral_address_t rb = in_INSERT_NUM_REG_RB_PHY [i]->read();460 Tcontrol_t read_rc = in_INSERT_READ_RC [i]->read();461 Tspecial_address_t rc = in_INSERT_NUM_REG_RC_PHY [i]->read();462 // Tcontrol_t read_ra = in_INSERT_READ_RA [i]->read(); 463 // Tgeneral_address_t ra = in_INSERT_NUM_REG_RA_PHY [i]->read(); 464 // Tcontrol_t read_rb = in_INSERT_READ_RB [i]->read(); 465 // Tgeneral_address_t rb = in_INSERT_NUM_REG_RB_PHY [i]->read(); 466 // Tcontrol_t read_rc = in_INSERT_READ_RC [i]->read(); 467 // Tspecial_address_t rc = in_INSERT_NUM_REG_RC_PHY [i]->read(); 462 468 Tgeneral_address_t rd_new = in_INSERT_NUM_REG_RD_PHY_NEW [i]->read(); 463 469 Tspecial_address_t re_new = in_INSERT_NUM_REG_RE_PHY_NEW [i]->read(); 464 470 465 471 LABEL("INSERT [%d] - Accepted",i); 466 LABEL(" * read_ra : %d",read_ra );467 LABEL(" * reg_ra : %d",ra );468 LABEL(" * status[%d]._is_free : %d",ra,spr_status[ra]._is_free );469 LABEL(" * status[%d]._is_link : %d",ra,spr_status[ra]._is_link );470 LABEL(" * status[%d]._is_valid : %d",ra,spr_status[ra]._is_valid);471 LABEL(" * status[%d]._counter : %d",ra,spr_status[ra]._counter );472 LABEL(" * read_rb : %d",read_rb );473 LABEL(" * reg_rb : %d",rb );474 LABEL(" * status[%d]._is_free : %d",rb,spr_status[rb]._is_free );475 LABEL(" * status[%d]._is_link : %d",rb,spr_status[rb]._is_link );476 LABEL(" * status[%d]._is_valid : %d",rb,spr_status[rb]._is_valid);477 LABEL(" * status[%d]._counter : %d",rb,spr_status[rb]._counter );478 LABEL(" * read_rc : %d",read_rc );479 LABEL(" * reg_rc : %d",rc );480 LABEL(" * status[%d]._is_free : %d",rc,spr_status[rc]._is_free );481 LABEL(" * status[%d]._is_link : %d",rc,spr_status[rc]._is_link );482 LABEL(" * status[%d]._is_valid : %d",rc,spr_status[rc]._is_valid);483 LABEL(" * status[%d]._counter : %d",rc,spr_status[rc]._counter );472 // LABEL(" * read_ra : %d",read_ra ); 473 // LABEL(" * reg_ra : %d",ra ); 474 // LABEL(" * status[%d]._is_free : %d",ra,spr_status[ra]._is_free ); 475 // LABEL(" * status[%d]._is_link : %d",ra,spr_status[ra]._is_link ); 476 // LABEL(" * status[%d]._is_valid : %d",ra,spr_status[ra]._is_valid); 477 // LABEL(" * status[%d]._counter : %d",ra,spr_status[ra]._counter ); 478 // LABEL(" * read_rb : %d",read_rb ); 479 // LABEL(" * reg_rb : %d",rb ); 480 // LABEL(" * status[%d]._is_free : %d",rb,spr_status[rb]._is_free ); 481 // LABEL(" * status[%d]._is_link : %d",rb,spr_status[rb]._is_link ); 482 // LABEL(" * status[%d]._is_valid : %d",rb,spr_status[rb]._is_valid); 483 // LABEL(" * status[%d]._counter : %d",rb,spr_status[rb]._counter ); 484 // LABEL(" * read_rc : %d",read_rc ); 485 // LABEL(" * reg_rc : %d",rc ); 486 // LABEL(" * status[%d]._is_free : %d",rc,spr_status[rc]._is_free ); 487 // LABEL(" * status[%d]._is_link : %d",rc,spr_status[rc]._is_link ); 488 // LABEL(" * status[%d]._is_valid : %d",rc,spr_status[rc]._is_valid); 489 // LABEL(" * status[%d]._counter : %d",rc,spr_status[rc]._counter ); 484 490 LABEL(" * read_rd : %d",write_rd); 485 491 LABEL(" * reg_rd_new : %d",rd_new ); … … 495 501 LABEL(" * status[%d]._counter : %d",re_new,spr_status[re_new]._counter ); 496 502 497 if (read_ra)498 {499 gpr_status[ra]._counter ++;500 }501 if (read_rb)502 {503 gpr_status[rb]._counter ++;504 }505 if (read_rc)506 {507 spr_status[rc]._counter ++;508 }503 // if (read_ra) 504 // { 505 // gpr_status[ra]._counter ++; 506 // } 507 // if (read_rb) 508 // { 509 // gpr_status[rb]._counter ++; 510 // } 511 // if (read_rc) 512 // { 513 // spr_status[rc]._counter ++; 514 // } 509 515 if (write_rd) 510 516 { … … 544 550 { 545 551 Tcontrol_t restore = in_RETIRE_RESTORE [i]->read(); 546 Tcontrol_t read_ra = in_RETIRE_READ_RA [i]->read();547 Tgeneral_address_t ra = in_RETIRE_NUM_REG_RA_PHY [i]->read();548 Tcontrol_t read_rb = in_RETIRE_READ_RB [i]->read();549 Tgeneral_address_t rb = in_RETIRE_NUM_REG_RB_PHY [i]->read();550 Tcontrol_t read_rc = in_RETIRE_READ_RC [i]->read();551 Tspecial_address_t rc = in_RETIRE_NUM_REG_RC_PHY [i]->read();552 // Tcontrol_t read_ra = in_RETIRE_READ_RA [i]->read(); 553 // Tgeneral_address_t ra = in_RETIRE_NUM_REG_RA_PHY [i]->read(); 554 // Tcontrol_t read_rb = in_RETIRE_READ_RB [i]->read(); 555 // Tgeneral_address_t rb = in_RETIRE_NUM_REG_RB_PHY [i]->read(); 556 // Tcontrol_t read_rc = in_RETIRE_READ_RC [i]->read(); 557 // Tspecial_address_t rc = in_RETIRE_NUM_REG_RC_PHY [i]->read(); 552 558 Tcontrol_t write_rd = in_RETIRE_WRITE_RD [i]->read(); 553 559 Tcontrol_t restore_rd_old = in_RETIRE_RESTORE_RD_PHY_OLD [i]->read(); … … 561 567 LABEL("RETIRE [%d] - Accepted",i); 562 568 LABEL(" * restore : %d",restore); 563 LABEL(" * read_ra : %d",read_ra );564 LABEL(" * reg_ra : %d",ra );565 LABEL(" * status[%d]._is_free : %d",ra,spr_status[ra]._is_free );566 LABEL(" * status[%d]._is_link : %d",ra,spr_status[ra]._is_link );567 LABEL(" * status[%d]._is_valid : %d",ra,spr_status[ra]._is_valid);568 LABEL(" * status[%d]._counter : %d",ra,spr_status[ra]._counter );569 LABEL(" * read_rb : %d",read_rb );570 LABEL(" * reg_rb : %d",rb );571 LABEL(" * status[%d]._is_free : %d",rb,spr_status[rb]._is_free );572 LABEL(" * status[%d]._is_link : %d",rb,spr_status[rb]._is_link );573 LABEL(" * status[%d]._is_valid : %d",rb,spr_status[rb]._is_valid);574 LABEL(" * status[%d]._counter : %d",rb,spr_status[rb]._counter );575 LABEL(" * read_rc : %d",read_rc );576 LABEL(" * reg_rc : %d",rc );577 LABEL(" * status[%d]._is_free : %d",rc,spr_status[rc]._is_free );578 LABEL(" * status[%d]._is_link : %d",rc,spr_status[rc]._is_link );579 LABEL(" * status[%d]._is_valid : %d",rc,spr_status[rc]._is_valid);580 LABEL(" * status[%d]._counter : %d",rc,spr_status[rc]._counter );569 // LABEL(" * read_ra : %d",read_ra ); 570 // LABEL(" * reg_ra : %d",ra ); 571 // LABEL(" * status[%d]._is_free : %d",ra,spr_status[ra]._is_free ); 572 // LABEL(" * status[%d]._is_link : %d",ra,spr_status[ra]._is_link ); 573 // LABEL(" * status[%d]._is_valid : %d",ra,spr_status[ra]._is_valid); 574 // LABEL(" * status[%d]._counter : %d",ra,spr_status[ra]._counter ); 575 // LABEL(" * read_rb : %d",read_rb ); 576 // LABEL(" * reg_rb : %d",rb ); 577 // LABEL(" * status[%d]._is_free : %d",rb,spr_status[rb]._is_free ); 578 // LABEL(" * status[%d]._is_link : %d",rb,spr_status[rb]._is_link ); 579 // LABEL(" * status[%d]._is_valid : %d",rb,spr_status[rb]._is_valid); 580 // LABEL(" * status[%d]._counter : %d",rb,spr_status[rb]._counter ); 581 // LABEL(" * read_rc : %d",read_rc ); 582 // LABEL(" * reg_rc : %d",rc ); 583 // LABEL(" * status[%d]._is_free : %d",rc,spr_status[rc]._is_free ); 584 // LABEL(" * status[%d]._is_link : %d",rc,spr_status[rc]._is_link ); 585 // LABEL(" * status[%d]._is_valid : %d",rc,spr_status[rc]._is_valid); 586 // LABEL(" * status[%d]._counter : %d",rc,spr_status[rc]._counter ); 581 587 LABEL(" * read_rd : %d",write_rd); 582 588 LABEL(" * restore_rd_old : %d",restore_rd_old); … … 604 610 LABEL(" * status[%d]._counter : %d",re_new,spr_status[re_new]._counter ); 605 611 606 if (read_ra)607 {608 gpr_status[ra]._counter --;609 }610 if (read_rb)611 {612 gpr_status[rb]._counter --;613 }614 if (read_rc)615 {616 spr_status[rc]._counter --;617 }612 // if (read_ra) 613 // { 614 // gpr_status[ra]._counter --; 615 // } 616 // if (read_rb) 617 // { 618 // gpr_status[rb]._counter --; 619 // } 620 // if (read_rc) 621 // { 622 // spr_status[rc]._counter --; 623 // } 618 624 if (write_rd) 619 625 { … … 721 727 delete [] in_INSERT_VAL ; 722 728 delete [] out_INSERT_ACK ; 723 724 725 726 727 728 729 //delete [] in_INSERT_READ_RA ; 730 //delete [] in_INSERT_NUM_REG_RA_PHY ; 731 //delete [] in_INSERT_READ_RB ; 732 //delete [] in_INSERT_NUM_REG_RB_PHY ; 733 //delete [] in_INSERT_READ_RC ; 734 //delete [] in_INSERT_NUM_REG_RC_PHY ; 729 735 delete [] in_INSERT_WRITE_RD ; 736 delete [] in_INSERT_NUM_REG_RD_PHY_OLD; 730 737 delete [] in_INSERT_NUM_REG_RD_PHY_NEW; 731 738 delete [] in_INSERT_WRITE_RE ; 739 delete [] in_INSERT_NUM_REG_RE_PHY_OLD; 732 740 delete [] in_INSERT_NUM_REG_RE_PHY_NEW; 733 741 delete [] in_RETIRE_VAL ; 734 742 delete [] out_RETIRE_ACK ; 735 743 delete [] in_RETIRE_RESTORE ; 736 737 738 739 740 741 744 //delete [] in_RETIRE_READ_RA ; 745 //delete [] in_RETIRE_NUM_REG_RA_PHY ; 746 //delete [] in_RETIRE_READ_RB ; 747 //delete [] in_RETIRE_NUM_REG_RB_PHY ; 748 //delete [] in_RETIRE_READ_RC ; 749 //delete [] in_RETIRE_NUM_REG_RC_PHY ; 742 750 delete [] in_RETIRE_WRITE_RD ; 743 751 delete [] in_RETIRE_RESTORE_RD_PHY_OLD;
Note: See TracChangeset
for help on using the changeset viewer.