Ignore:
Timestamp:
Dec 19, 2008, 4:34:00 PM (16 years ago)
Author:
rosiere
Message:

1) Update Prediction Table : statistics
2) Size instruction address on 30 bits
3) Change Log File
4) Add debug_level in simulation configuration file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/src/Commit_unit_transition.cpp

    r88 r97  
    7575                  log_printf(TRACE,Commit_unit,FUNCTION,"    * front_end_id   : %d",front_end_id);
    7676                  log_printf(TRACE,Commit_unit,FUNCTION,"    * context_id     : %d",context_id);
    77                   log_printf(TRACE,Commit_unit,FUNCTION,"    * type           : %s",toString_type(type).c_str());
     77                  log_printf(TRACE,Commit_unit,FUNCTION,"    * type           : %s",toString(type).c_str());
    7878                  log_printf(TRACE,Commit_unit,FUNCTION,"    * operation      : %d",operation );
    7979                  log_printf(TRACE,Commit_unit,FUNCTION,"    * exception      : %d",exception );
     
    478478             it++)
    479479          {
    480             log_printf(TRACE,Commit_unit,FUNCTION,"      [%d] %.8x (%.8x) %s - ptr : %d",
     480            log_printf(TRACE,Commit_unit,FUNCTION,"      [%.4d] %.4d %.4d %.4d %.4d, %.3d %.3d, %.8x %.1d, %.1d %.4d, %.1d %.4d, %s - %d",
    481481                       x,
    482                        (*it)->address,
    483                        (*it)->address<<2,
    484                        toString((*it)->state).c_str(),
    485                        (*it)->ptr);
     482                       (*it)->front_end_id            ,
     483                       (*it)->context_id              ,
     484                       (*it)->rename_unit_id          ,
     485                       (*it)->depth                   ,
     486                       (*it)->type                    ,
     487                       (*it)->operation               ,
     488                       (*it)->address                 ,
     489                       (*it)->is_delay_slot           ,
     490                       (*it)->use_store_queue         ,
     491                       (*it)->store_queue_ptr_write   ,
     492                       (*it)->use_load_queue          ,
     493                       (*it)->load_queue_ptr_write    ,
     494                       toString((*it)->state).c_str() ,
     495                       (*it)->ptr                     );
     496            log_printf(TRACE,Commit_unit,FUNCTION,"             %.1d %.5d %.6d, %.1d %.5d %.6d, %.1d %.5d %.6d, %.1d %.1d %.6d %.6d, %.1d %.1d %.6d %.6d ",
     497                       (*it)->read_ra                 ,
     498                       (*it)->num_reg_ra_log          ,
     499                       (*it)->num_reg_ra_phy          ,
     500                       (*it)->read_rb                 ,
     501                       (*it)->num_reg_rb_log          ,
     502                       (*it)->num_reg_rb_phy          ,
     503                       (*it)->read_rc                 ,
     504                       (*it)->num_reg_rc_log          ,
     505                       (*it)->num_reg_rc_phy          ,
     506                       (*it)->write_rd                ,
     507                       (*it)->num_reg_rd_log          ,
     508                       (*it)->num_reg_rd_phy_old      ,
     509                       (*it)->num_reg_rd_phy_new      ,
     510                       (*it)->write_re                ,
     511                       (*it)->num_reg_re_log          ,
     512                       (*it)->num_reg_re_phy_old      ,
     513                       (*it)->num_reg_re_phy_new      );
     514           
     515            log_printf(TRACE,Commit_unit,FUNCTION,"             %.2d %.2d %.1d %.1d %.8x %s",
     516                       (*it)->exception     ,
     517                       (*it)->exception_use ,
     518                       (*it)->flags         ,
     519                       (*it)->no_sequence   ,
     520                       (*it)->data_commit   ,
     521                       toString((*it)->event_state).c_str()
     522                       );
     523
    486524            x++;
    487525          }
Note: See TracChangeset for help on using the changeset viewer.