Ignore:
Timestamp:
Jan 29, 2008, 1:34:47 PM (16 years ago)
Author:
rosiere
Message:
  • SystemC de l'unite fonctionnelle.
  • gestion des groupes / instructions custom
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/SelfTest/src/test.cpp

    r71 r72  
    1313#define CYCLE_MAX     (128*NB_ITERATION)
    1414
    15 #define LABEL(str)                                                      \
     15#define LABEL(str...)                                                   \
    1616  {                                                                     \
    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)
    1921
    2022#define SC_START(cycle_offset)                                                       \
     
    100102  for (uint32_t iteration=0; iteration<NB_ITERATION; iteration ++)
    101103    {
    102       LABEL("Iteration "+toString(iteration));
     104      LABEL("Iteration %d",iteration);
    103105
    104106      SC_START(1);
Note: See TracChangeset for help on using the changeset viewer.