Ignore:
Timestamp:
Apr 15, 2008, 8:40:01 PM (16 years ago)
Author:
rosiere
Message:
  • Finish Environment (and test)
  • Continue predictor_unit
  • Add external tools
  • svn keyword "Id" set
Location:
trunk/IPs/systemC/processor/Morpheo/Common/include
Files:
16 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Common/include/Address.h

    • Property svn:keywords set to Id
  • trunk/IPs/systemC/processor/Morpheo/Common/include/Average.h

    • Property svn:keywords set to Id
  • trunk/IPs/systemC/processor/Morpheo/Common/include/BitManipulation.h

    • Property svn:keywords set to Id
  • trunk/IPs/systemC/processor/Morpheo/Common/include/ChangeCase.h

    • Property svn:keywords set to Id
  • trunk/IPs/systemC/processor/Morpheo/Common/include/Debug.h

    • Property svn:keywords set to Id
    r78 r81  
    6969    {                                                                   \
    7070    } while(0)
     71
    7172#endif // DEBUG
     73
     74#define breakpoint(str...)                                              \
     75  do                                                                    \
     76    {                                                                   \
     77      msg(_("Breakpoint : file %s, line %d. Enter Any key to continue\n"),__FILE__,__LINE__); \
     78      msg(str);                                                         \
     79      msg(_("\n"));                                                     \
     80      getchar();                                                        \
     81    } while(0)
     82
    7283#endif // !DEBUG_H
  • trunk/IPs/systemC/processor/Morpheo/Common/include/ErrorMorpheo.h

    • Property svn:keywords set to Id
  • trunk/IPs/systemC/processor/Morpheo/Common/include/FromString.h

    • Property svn:keywords set to Id
  • trunk/IPs/systemC/processor/Morpheo/Common/include/Log2.h

    • Property svn:keywords set to Id
  • trunk/IPs/systemC/processor/Morpheo/Common/include/Max.h

    • Property svn:keywords set to Id
  • trunk/IPs/systemC/processor/Morpheo/Common/include/Message.h

    • Property svn:keywords set to Id
    r71 r81  
    1515namespace morpheo {
    1616
    17 #ifdef NO_TRANSLATION
     17#ifdef NO_TRANSLATE
    1818# define _(String) (String)
    1919#else
  • trunk/IPs/systemC/processor/Morpheo/Common/include/Percent.h

    • Property svn:keywords set to Id
  • trunk/IPs/systemC/processor/Morpheo/Common/include/Test.h

    • Property svn:keywords set to Id
    r75 r81  
    8787
    8888
     89#define LABEL(str...)                                                   \
     90  {                                                                     \
     91    msg (_("{%d} "),static_cast<uint32_t>(sc_simulation_time()));       \
     92    msg (str);                                                          \
     93    msg (_("\n"));                                                      \
     94  } while(0)
     95
     96
     97#ifndef CYCLE_MAX
     98# error "CYCLE_MAX must be defined";
     99#endif
     100
     101#define SC_START(cycle_offset)                                          \
     102  do                                                                    \
     103    {                                                                   \
     104      /*cout << "SC_START (begin)" << endl;*/                           \
     105                                                                        \
     106      uint32_t cycle_current = static_cast<uint32_t>(sc_simulation_time()); \
     107      if (cycle_offset != 0)                                            \
     108        {                                                               \
     109          cout << "##########[ cycle "<< cycle_current+cycle_offset << " ] (" << __LINE__ << ")" << endl; \
     110        }                                                               \
     111                                                                        \
     112      if (cycle_current > CYCLE_MAX)                                    \
     113        {                                                               \
     114          TEST_KO("Maximal cycles Reached");                            \
     115        }                                                               \
     116                                                                        \
     117      sc_start(cycle_offset);                                           \
     118                                                                        \
     119      /*cout << "SC_START (end  )" << endl;*/                           \
     120    } while(0)
     121
     122
     123
    89124};
    90125#endif
  • trunk/IPs/systemC/processor/Morpheo/Common/include/Time.h

    • Property svn:keywords set to Id
  • trunk/IPs/systemC/processor/Morpheo/Common/include/ToBase2.h

    • Property svn:keywords set to Id
  • trunk/IPs/systemC/processor/Morpheo/Common/include/ToString.h

    • Property svn:keywords set to Id
  • trunk/IPs/systemC/processor/Morpheo/Common/include/Types.h

    • Property svn:keywords set to Id
Note: See TracChangeset for help on using the changeset viewer.