Changeset 78 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Victim/Victim_Pseudo_LRU/SelfTest/src/main.cpp
- Timestamp:
- Mar 27, 2008, 11:04:49 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Victim/Victim_Pseudo_LRU/SelfTest/src/main.cpp
r15 r78 14 14 cerr << "<Usage> " << exec << " name_instance list_params" << endl 15 15 << "list_params is :" << endl 16 << " - nb_entity (unsigned int)" << endl 17 << " - nb_access (unsigned int)" << endl 18 << " - nb_update (unsigned int)" << endl 19 << " - size_table (unsigned int)" << endl; 16 << " - nb_entity (unsigned int)" << endl 17 << " - nb_access (unsigned int)" << endl 18 // << " - nb_update (unsigned int)" << endl 19 << " - size_table (unsigned int)" << endl 20 << " - table_global (bool )" << endl; 20 21 exit (1); 21 22 } … … 30 31 usage (argv[0]); 31 32 32 const string name = argv[1]; 33 const uint32_t nb_entity = atoi(argv[2]); 34 const uint32_t nb_access = atoi(argv[3]); 35 const uint32_t nb_update = atoi(argv[4]); 36 const uint32_t size_table = atoi(argv[5]); 37 38 morpheo::behavioural::generic::victim::victim_pseudo_lru::Parameters param (nb_entity , 39 nb_access , 40 nb_update , 41 size_table); 33 const string name = argv[1]; 34 const uint32_t nb_entity = atoi(argv[2]); 35 const uint32_t nb_access = atoi(argv[3]); 36 // const uint32_t nb_update = atoi(argv[4]); 37 const uint32_t size_table = atoi(argv[4]); 38 const bool table_global = atoi(argv[5]); 39 morpheo::behavioural::generic::victim::victim_pseudo_lru::Parameters param 40 (nb_entity , 41 nb_access , 42 // nb_update , 43 size_table, 44 table_global); 42 45 43 46 test (name,param);
Note: See TracChangeset
for help on using the changeset viewer.