source: trunk/IPs/systemC/processor/Morpheo/Common/src/Debug.cpp @ 88

Last change on this file since 88 was 88, checked in by rosiere, 15 years ago

Almost complete design
with Test and test platform

  • Property svn:keywords set to Id
File size: 528 bytes
Line 
1/*
2 * $Id: Debug.cpp 88 2008-12-10 18:31:39Z rosiere $
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Common/include/Debug.h"
9#include "Common/include/Environment.h"
10
11namespace morpheo {
12
13static uint32_t _debug_depth = 0;
14
15#undef  FUNCTION
16#define FUNCTION "debug_tab"
17std::string debug_tab (void)
18{
19  return std::string(_debug_depth,'\t');
20}
21
22#undef  FUNCTION
23#define FUNCTION "debug_tab_inc"
24void debug_tab_inc (void)
25{
26//   _debug_depth ++;
27}
28
29#undef  FUNCTION
30#define FUNCTION "debug_tab_dec"
31void debug_tab_dec (void)
32{
33//   _debug_depth --;
34}
35
36}; // end namespace morpheo
Note: See TracBrowser for help on using the repository browser.