Changeset 72 for trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/SelfTest/src/test.cpp
- Timestamp:
- Jan 29, 2008, 1:34:47 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/SelfTest/src/test.cpp
r71 r72 13 13 #define CYCLE_MAX (128*NB_ITERATION) 14 14 15 #define LABEL(str ) \15 #define LABEL(str...) \ 16 16 { \ 17 msg (_("{%d} %s\n"),static_cast<uint32_t>(sc_simulation_time()),str); \ 18 } while(0) 17 msg (_("{%d} "),static_cast<uint32_t>(sc_simulation_time())); \ 18 msg (str); \ 19 msg (_("\n")); \ 20 } while(0) 19 21 20 22 #define SC_START(cycle_offset) \ … … 100 102 for (uint32_t iteration=0; iteration<NB_ITERATION; iteration ++) 101 103 { 102 LABEL("Iteration "+toString(iteration));104 LABEL("Iteration %d",iteration); 103 105 104 106 SC_START(1);
Note: See TracChangeset
for help on using the changeset viewer.