Changeset 85 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/Ifetch_unit_Glue/SelfTest/src/main.cpp
- Timestamp:
- May 14, 2008, 3:09:48 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/Ifetch_unit_Glue/SelfTest/src/main.cpp
r81 r85 8 8 #include "Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/Ifetch_unit_Glue/SelfTest/include/test.h" 9 9 10 #define NB_PARAMS 010 #define NB_PARAMS 1 11 11 12 12 void usage (int argc, char * argv[]) … … 14 14 err (_("<Usage> %s name_instance list_params.\n"),argv[0]); 15 15 err (_("list_params is :\n")); 16 err (_(" * ()\n"));16 err (_(" * size_address (uint32_t)\n")); 17 17 18 18 exit (1); … … 30 30 uint32_t x = 1; 31 31 32 string name = argv[x++]; 33 //const uint32_t size_data = atoi(argv[x++]); 34 //const uint32_t nb_port = atoi(argv[x++]); 32 string name = argv[x++]; 33 uint32_t _size_address = fromString<uint32_t>(argv[x++]); 35 34 36 35 int _return = EXIT_SUCCESS; … … 38 37 { 39 38 morpheo::behavioural::core::multi_front_end::front_end::ifetch_unit::ifetch_unit_glue::Parameters * param = new morpheo::behavioural::core::multi_front_end::front_end::ifetch_unit::ifetch_unit_glue::Parameters 40 (//size_data, 41 //nb_port 42 ); 39 (_size_address); 43 40 44 41 msg(_("%s"),param->print(1).c_str());
Note: See TracChangeset
for help on using the changeset viewer.