- Timestamp:
- Dec 19, 2008, 4:34:00 PM (16 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/SelfTest
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/SelfTest/config-min.cfg
r88 r97 7 7 2 2 +1 # ras_size_queue [0] [nb_thread] 8 8 1 1 +1 # upt_size_queue [0] [nb_thread] 9 1 1 +1 # ufpt_size_queue [0] [nb_thread] 9 10 1 1 +1 # nb_decod_bloc 10 11 1 1 +1 # size_decod_queue [0] [nb_decod_bloc] -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/SelfTest/config-w1a.cfg
r88 r97 7 7 4 4 +1 # ras_size_queue [0] [nb_thread] 8 8 4 4 +1 # upt_size_queue [0] [nb_thread] 9 2 2 +1 # ufpt_size_queue [0] [nb_thread] 9 10 1 1 +1 # nb_decod_bloc 10 11 4 4 +1 # size_decod_queue [0] [nb_decod_bloc] -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/SelfTest/src/main.cpp
r88 r97 25 25 err (_(" * ras_size_queue [nb_thread] (uint32_t )\n")); 26 26 err (_(" * upt_size_queue [nb_thread] (uint32_t )\n")); 27 err (_(" * ufpt_size_queue [nb_thread] (uint32_t )\n")); 27 28 28 29 err (_(" * nb_decod_bloc (uint32_t )\n")); … … 183 184 uint32_t * _ras_size_queue ;//[nb_thread] 184 185 uint32_t * _upt_size_queue ;//[nb_thread] 186 uint32_t * _ufpt_size_queue ;//[nb_thread] 185 187 186 188 // Decod_bloc … … 335 337 SELFTEST0(_nb_thread ,uint32_t ,argv,x); 336 338 337 if (argc < static_cast<int>(2+NB_PARAMS+ 4*_nb_thread))339 if (argc < static_cast<int>(2+NB_PARAMS+5*_nb_thread)) 338 340 usage (argc, argv); 339 341 … … 346 348 SELFTEST1(_ras_size_queue ,uint32_t ,argv,x,_nb_thread); 347 349 SELFTEST1(_upt_size_queue ,uint32_t ,argv,x,_nb_thread); 350 SELFTEST1(_ufpt_size_queue ,uint32_t ,argv,x,_nb_thread); 348 351 349 352 // Decod bloc … … 351 354 SELFTEST0(_nb_decod_bloc ,uint32_t ,argv,x); 352 355 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)) 354 357 usage (argc, argv); 355 358 … … 364 367 SELFTEST0(_nb_rename_bloc ,uint32_t ,argv,x); 365 368 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)) 367 370 usage (argc, argv); 368 371 … … 382 385 SELFTEST0(_nb_read_bloc ,uint32_t ,argv,x); 383 386 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)) 385 388 usage (argc, argv); 386 389 … … 393 396 SELFTEST0(_nb_write_bloc ,uint32_t ,argv,x); 394 397 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)) 396 399 usage (argc, argv); 397 400 … … 404 407 SELFTEST0(_nb_load_store_unit ,uint32_t ,argv,x); 405 408 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)) 407 410 usage (argc, argv); 408 411 … … 421 424 SELFTEST0(_nb_functionnal_unit ,uint32_t ,argv,x); 422 425 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)) 424 427 usage (argc, argv); 425 428 … … 464 467 SELFTEST0(_nb_front_end ,uint32_t ,argv,x); 465 468 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)) 467 470 usage (argc, argv); 468 471 … … 491 494 SELFTEST0(_nb_ooo_engine ,uint32_t ,argv,x); 492 495 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)) 494 497 usage (argc, argv); 495 498 … … 518 521 SELFTEST0(_nb_execute_loop ,uint32_t ,argv,x); 519 522 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)) 521 524 usage (argc, argv); 522 525 … … 536 539 printf(" * Link\n"); 537 540 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)) 539 542 usage (argc, argv); 540 543 … … 590 593 _sum_cache_port += _nb_cache_port[i]; 591 594 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+ 593 596 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)) 594 597 usage (argc, argv); … … 626 629 _ras_size_queue , 627 630 _upt_size_queue , 631 _ufpt_size_queue , 628 632 629 633 _nb_decod_bloc ,
Note: See TracChangeset
for help on using the changeset viewer.