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/SelfTest/src/main.cpp

    r88 r97  
    2525  err (_(" * ras_size_queue                          [nb_thread]                                  (uint32_t         )\n"));
    2626  err (_(" * upt_size_queue                          [nb_thread]                                  (uint32_t         )\n"));
     27  err (_(" * ufpt_size_queue                         [nb_thread]                                  (uint32_t         )\n"));
    2728
    2829  err (_(" * nb_decod_bloc                                                                        (uint32_t         )\n"));
     
    183184  uint32_t              * _ras_size_queue                                ;//[nb_thread]
    184185  uint32_t              * _upt_size_queue                                ;//[nb_thread]
     186  uint32_t              * _ufpt_size_queue                               ;//[nb_thread]
    185187
    186188  // Decod_bloc
     
    335337  SELFTEST0(_nb_thread                                     ,uint32_t                ,argv,x);
    336338
    337   if (argc < static_cast<int>(2+NB_PARAMS+4*_nb_thread))
     339  if (argc < static_cast<int>(2+NB_PARAMS+5*_nb_thread))
    338340    usage (argc, argv);
    339341 
     
    346348  SELFTEST1(_ras_size_queue                                ,uint32_t                ,argv,x,_nb_thread);
    347349  SELFTEST1(_upt_size_queue                                ,uint32_t                ,argv,x,_nb_thread);
     350  SELFTEST1(_ufpt_size_queue                               ,uint32_t                ,argv,x,_nb_thread);
    348351
    349352  // Decod bloc
     
    351354  SELFTEST0(_nb_decod_bloc                                 ,uint32_t                ,argv,x);
    352355
    353   if (argc < static_cast<int>(2+NB_PARAMS+4*_nb_thread+5*_nb_decod_bloc))
     356  if (argc < static_cast<int>(2+NB_PARAMS+5*_nb_thread+5*_nb_decod_bloc))
    354357    usage (argc, argv);
    355358 
     
    364367  SELFTEST0(_nb_rename_bloc                                ,uint32_t                ,argv,x);
    365368
    366   if (argc < static_cast<int>(2+NB_PARAMS+4*_nb_thread+5*_nb_decod_bloc+10*_nb_rename_bloc))
     369  if (argc < static_cast<int>(2+NB_PARAMS+5*_nb_thread+5*_nb_decod_bloc+10*_nb_rename_bloc))
    367370    usage (argc, argv);
    368371 
     
    382385  SELFTEST0(_nb_read_bloc                                  ,uint32_t                ,argv,x);
    383386
    384   if (argc < static_cast<int>(2+NB_PARAMS+4*_nb_thread+5*_nb_decod_bloc+10*_nb_rename_bloc+3*_nb_read_bloc))
     387  if (argc < static_cast<int>(2+NB_PARAMS+5*_nb_thread+5*_nb_decod_bloc+10*_nb_rename_bloc+3*_nb_read_bloc))
    385388    usage (argc, argv);
    386389 
     
    393396  SELFTEST0(_nb_write_bloc                                 ,uint32_t                ,argv,x);
    394397
    395   if (argc < static_cast<int>(2+NB_PARAMS+4*_nb_thread+5*_nb_decod_bloc+10*_nb_rename_bloc+3*_nb_read_bloc+3*_nb_write_bloc))
     398  if (argc < static_cast<int>(2+NB_PARAMS+5*_nb_thread+5*_nb_decod_bloc+10*_nb_rename_bloc+3*_nb_read_bloc+3*_nb_write_bloc))
    396399    usage (argc, argv);
    397400 
     
    404407  SELFTEST0(_nb_load_store_unit                            ,uint32_t                ,argv,x);
    405408
    406   if (argc < static_cast<int>(2+NB_PARAMS+4*_nb_thread+5*_nb_decod_bloc+10*_nb_rename_bloc+3*_nb_read_bloc+3*_nb_write_bloc+8*_nb_load_store_unit))
     409  if (argc < static_cast<int>(2+NB_PARAMS+5*_nb_thread+5*_nb_decod_bloc+10*_nb_rename_bloc+3*_nb_read_bloc+3*_nb_write_bloc+8*_nb_load_store_unit))
    407410    usage (argc, argv);
    408411 
     
    421424  SELFTEST0(_nb_functionnal_unit                           ,uint32_t                ,argv,x);
    422425
    423   if (argc < static_cast<int>(2+NB_PARAMS+4*_nb_thread+5*_nb_decod_bloc+10*_nb_rename_bloc+3*_nb_read_bloc+3*_nb_write_bloc+8*_nb_load_store_unit+1*_nb_functionnal_unit))
     426  if (argc < static_cast<int>(2+NB_PARAMS+5*_nb_thread+5*_nb_decod_bloc+10*_nb_rename_bloc+3*_nb_read_bloc+3*_nb_write_bloc+8*_nb_load_store_unit+1*_nb_functionnal_unit))
    424427    usage (argc, argv);
    425428 
     
    464467  SELFTEST0(_nb_front_end                                  ,uint32_t                ,argv,x);
    465468
    466   if (argc < static_cast<int>(2+NB_PARAMS+4*_nb_thread+5*_nb_decod_bloc+10*_nb_rename_bloc+3*_nb_read_bloc+3*_nb_write_bloc+8*_nb_load_store_unit+1*_nb_functionnal_unit+31*_nb_front_end))
     469  if (argc < static_cast<int>(2+NB_PARAMS+5*_nb_thread+5*_nb_decod_bloc+10*_nb_rename_bloc+3*_nb_read_bloc+3*_nb_write_bloc+8*_nb_load_store_unit+1*_nb_functionnal_unit+31*_nb_front_end))
    467470    usage (argc, argv);
    468471 
     
    491494  SELFTEST0(_nb_ooo_engine                                 ,uint32_t                ,argv,x);
    492495 
    493   if (argc < static_cast<int>(2+NB_PARAMS+4*_nb_thread+5*_nb_decod_bloc+10*_nb_rename_bloc+3*_nb_read_bloc+3*_nb_write_bloc+8*_nb_load_store_unit+1*_nb_functionnal_unit+31*_nb_front_end+18*_nb_ooo_engine))
     496  if (argc < static_cast<int>(2+NB_PARAMS+5*_nb_thread+5*_nb_decod_bloc+10*_nb_rename_bloc+3*_nb_read_bloc+3*_nb_write_bloc+8*_nb_load_store_unit+1*_nb_functionnal_unit+31*_nb_front_end+18*_nb_ooo_engine))
    494497    usage (argc, argv);
    495498 
     
    518521  SELFTEST0(_nb_execute_loop                               ,uint32_t                ,argv,x);
    519522
    520   if (argc < static_cast<int>(2+NB_PARAMS+4*_nb_thread+5*_nb_decod_bloc+10*_nb_rename_bloc+3*_nb_read_bloc+3*_nb_write_bloc+8*_nb_load_store_unit+1*_nb_functionnal_unit+31*_nb_front_end+18*_nb_ooo_engine+11*_nb_execute_loop))
     523  if (argc < static_cast<int>(2+NB_PARAMS+5*_nb_thread+5*_nb_decod_bloc+10*_nb_rename_bloc+3*_nb_read_bloc+3*_nb_write_bloc+8*_nb_load_store_unit+1*_nb_functionnal_unit+31*_nb_front_end+18*_nb_ooo_engine+11*_nb_execute_loop))
    521524    usage (argc, argv);
    522525 
     
    536539  printf(" * Link\n");
    537540
    538   if (argc < static_cast<int>(2+NB_PARAMS+5*_nb_thread+6*_nb_decod_bloc+11*_nb_rename_bloc+4*_nb_read_bloc+4*_nb_write_bloc+9*_nb_load_store_unit+2*_nb_functionnal_unit+31*_nb_front_end+18*_nb_ooo_engine+11*_nb_execute_loop))
     541  if (argc < static_cast<int>(2+NB_PARAMS+6*_nb_thread+6*_nb_decod_bloc+11*_nb_rename_bloc+4*_nb_read_bloc+4*_nb_write_bloc+9*_nb_load_store_unit+2*_nb_functionnal_unit+31*_nb_front_end+18*_nb_ooo_engine+11*_nb_execute_loop))
    539542    usage (argc, argv);
    540543 
     
    590593    _sum_cache_port += _nb_cache_port[i];
    591594 
    592   if (argc != static_cast<int>(2+NB_PARAMS+5*_nb_thread+6*_nb_decod_bloc+11*_nb_rename_bloc+4*_nb_read_bloc+4*_nb_write_bloc+9*_nb_load_store_unit+2*_nb_functionnal_unit+31*_nb_front_end+18*_nb_ooo_engine+11*_nb_execute_loop+
     595  if (argc != static_cast<int>(2+NB_PARAMS+6*_nb_thread+6*_nb_decod_bloc+11*_nb_rename_bloc+4*_nb_read_bloc+4*_nb_write_bloc+9*_nb_load_store_unit+2*_nb_functionnal_unit+31*_nb_front_end+18*_nb_ooo_engine+11*_nb_execute_loop+
    593596                               3*_nb_thread+_nb_front_end+_sum_inst_issue*_nb_read_bloc+_nb_load_store_unit*(_nb_read_bloc+_nb_write_bloc+_nb_thread)+_nb_functionnal_unit*(_nb_read_bloc+_nb_write_bloc)+_sum_cache_port))
    594597    usage (argc, argv);
     
    626629         _ras_size_queue                                ,
    627630         _upt_size_queue                                ,
     631         _ufpt_size_queue                               ,
    628632
    629633         _nb_decod_bloc                                 ,
Note: See TracChangeset for help on using the changeset viewer.