- Timestamp:
- Mar 18, 2009, 11:36:26 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/SelfTest/src/main.cpp
r111 r112 45 45 err (_(" * nb_reg_free [nb_rename_bloc] (uint32_t )\n")); 46 46 err (_(" * nb_rename_unit_bank [nb_rename_bloc] (uint32_t )\n")); 47 err (_(" * size_read_counter [nb_rename_bloc] (uint32_t )\n"));47 // err (_(" * size_read_counter [nb_rename_bloc] (uint32_t )\n")); 48 48 49 49 err (_(" * nb_read_bloc (uint32_t )\n")); … … 209 209 uint32_t * _nb_reg_free ;//[nb_rename_bloc] 210 210 uint32_t * _nb_rename_unit_bank ;//[nb_rename_bloc] 211 uint32_t * _size_read_counter ;//[nb_rename_bloc]211 // uint32_t * _size_read_counter ;//[nb_rename_bloc] 212 212 213 213 // Read bloc … … 374 374 SELFTEST0(_nb_rename_bloc ,uint32_t ,argv,x); 375 375 376 if (argc < static_cast<int>(2+NB_PARAMS+5*_nb_thread+6*_nb_decod_bloc+ 10*_nb_rename_bloc))376 if (argc < static_cast<int>(2+NB_PARAMS+5*_nb_thread+6*_nb_decod_bloc+9*_nb_rename_bloc)) 377 377 usage (argc, argv); 378 378 … … 386 386 SELFTEST1(_nb_reg_free ,uint32_t ,argv,x,_nb_rename_bloc); 387 387 SELFTEST1(_nb_rename_unit_bank ,uint32_t ,argv,x,_nb_rename_bloc); 388 SELFTEST1(_size_read_counter ,uint32_t ,argv,x,_nb_rename_bloc);388 // SELFTEST1(_size_read_counter ,uint32_t ,argv,x,_nb_rename_bloc); 389 389 390 390 // Read bloc … … 392 392 SELFTEST0(_nb_read_bloc ,uint32_t ,argv,x); 393 393 394 if (argc < static_cast<int>(2+NB_PARAMS+5*_nb_thread+6*_nb_decod_bloc+ 10*_nb_rename_bloc+3*_nb_read_bloc))394 if (argc < static_cast<int>(2+NB_PARAMS+5*_nb_thread+6*_nb_decod_bloc+9*_nb_rename_bloc+3*_nb_read_bloc)) 395 395 usage (argc, argv); 396 396 … … 403 403 SELFTEST0(_nb_write_bloc ,uint32_t ,argv,x); 404 404 405 if (argc < static_cast<int>(2+NB_PARAMS+5*_nb_thread+6*_nb_decod_bloc+ 10*_nb_rename_bloc+3*_nb_read_bloc+3*_nb_write_bloc))405 if (argc < static_cast<int>(2+NB_PARAMS+5*_nb_thread+6*_nb_decod_bloc+9*_nb_rename_bloc+3*_nb_read_bloc+3*_nb_write_bloc)) 406 406 usage (argc, argv); 407 407 … … 414 414 SELFTEST0(_nb_load_store_unit ,uint32_t ,argv,x); 415 415 416 if (argc < static_cast<int>(2+NB_PARAMS+5*_nb_thread+6*_nb_decod_bloc+ 10*_nb_rename_bloc+3*_nb_read_bloc+3*_nb_write_bloc+8*_nb_load_store_unit))416 if (argc < static_cast<int>(2+NB_PARAMS+5*_nb_thread+6*_nb_decod_bloc+9*_nb_rename_bloc+3*_nb_read_bloc+3*_nb_write_bloc+8*_nb_load_store_unit)) 417 417 usage (argc, argv); 418 418 … … 431 431 SELFTEST0(_nb_functionnal_unit ,uint32_t ,argv,x); 432 432 433 if (argc < static_cast<int>(2+NB_PARAMS+5*_nb_thread+6*_nb_decod_bloc+ 10*_nb_rename_bloc+3*_nb_read_bloc+3*_nb_write_bloc+8*_nb_load_store_unit+1*_nb_functionnal_unit))433 if (argc < static_cast<int>(2+NB_PARAMS+5*_nb_thread+6*_nb_decod_bloc+9*_nb_rename_bloc+3*_nb_read_bloc+3*_nb_write_bloc+8*_nb_load_store_unit+1*_nb_functionnal_unit)) 434 434 usage (argc, argv); 435 435 … … 474 474 SELFTEST0(_nb_front_end ,uint32_t ,argv,x); 475 475 476 if (argc < static_cast<int>(2+NB_PARAMS+5*_nb_thread+6*_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))476 if (argc < static_cast<int>(2+NB_PARAMS+5*_nb_thread+6*_nb_decod_bloc+9*_nb_rename_bloc+3*_nb_read_bloc+3*_nb_write_bloc+8*_nb_load_store_unit+1*_nb_functionnal_unit+31*_nb_front_end)) 477 477 usage (argc, argv); 478 478 … … 501 501 SELFTEST0(_nb_ooo_engine ,uint32_t ,argv,x); 502 502 503 if (argc < static_cast<int>(2+NB_PARAMS+5*_nb_thread+6*_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+19*_nb_ooo_engine))503 if (argc < static_cast<int>(2+NB_PARAMS+5*_nb_thread+6*_nb_decod_bloc+9*_nb_rename_bloc+3*_nb_read_bloc+3*_nb_write_bloc+8*_nb_load_store_unit+1*_nb_functionnal_unit+31*_nb_front_end+19*_nb_ooo_engine)) 504 504 usage (argc, argv); 505 505 … … 529 529 SELFTEST0(_nb_execute_loop ,uint32_t ,argv,x); 530 530 531 if (argc < static_cast<int>(2+NB_PARAMS+5*_nb_thread+6*_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+19*_nb_ooo_engine+11*_nb_execute_loop))531 if (argc < static_cast<int>(2+NB_PARAMS+5*_nb_thread+6*_nb_decod_bloc+9*_nb_rename_bloc+3*_nb_read_bloc+3*_nb_write_bloc+8*_nb_load_store_unit+1*_nb_functionnal_unit+31*_nb_front_end+19*_nb_ooo_engine+11*_nb_execute_loop)) 532 532 usage (argc, argv); 533 533 … … 547 547 printf(" * Link\n"); 548 548 549 if (argc < static_cast<int>(2+NB_PARAMS+6*_nb_thread+6*_nb_decod_bloc+1 1*_nb_rename_bloc+4*_nb_read_bloc+4*_nb_write_bloc+9*_nb_load_store_unit+2*_nb_functionnal_unit+31*_nb_front_end+19*_nb_ooo_engine+11*_nb_execute_loop))549 if (argc < static_cast<int>(2+NB_PARAMS+6*_nb_thread+6*_nb_decod_bloc+10*_nb_rename_bloc+4*_nb_read_bloc+4*_nb_write_bloc+9*_nb_load_store_unit+2*_nb_functionnal_unit+31*_nb_front_end+19*_nb_ooo_engine+11*_nb_execute_loop)) 550 550 usage (argc, argv); 551 551 … … 601 601 _sum_cache_port += _nb_cache_port[i]; 602 602 603 if (argc != static_cast<int>(2+NB_PARAMS+6*_nb_thread+6*_nb_decod_bloc+1 1*_nb_rename_bloc+4*_nb_read_bloc+4*_nb_write_bloc+9*_nb_load_store_unit+2*_nb_functionnal_unit+31*_nb_front_end+19*_nb_ooo_engine+11*_nb_execute_loop+603 if (argc != static_cast<int>(2+NB_PARAMS+6*_nb_thread+6*_nb_decod_bloc+10*_nb_rename_bloc+4*_nb_read_bloc+4*_nb_write_bloc+9*_nb_load_store_unit+2*_nb_functionnal_unit+31*_nb_front_end+19*_nb_ooo_engine+11*_nb_execute_loop+ 604 604 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)) 605 605 usage (argc, argv); … … 657 657 _nb_reg_free , 658 658 _nb_rename_unit_bank , 659 _size_read_counter ,659 // _size_read_counter , 660 660 661 661 _nb_read_bloc ,
Note: See TracChangeset
for help on using the changeset viewer.