source: trunk/IPs/systemC/Environment/Common/include/Debug.h@ 112

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

Almost complete design
with Test and test platform

  • Property svn:keywords set to Id
File size: 670 bytes
Line 
1#ifndef ENVIRONMENT_COMMON_DEBUG_H
2#define ENVIRONMENT_COMMON_DEBUG_H
3
4#define DEBUG_ENVIRONMENT true
5#define DEBUG_CACHE true
6#define DEBUG_DATA true
7#define DEBUG_ENDIANNESS true
8#define DEBUG_QUEUE true
9#define DEBUG_RAMLOCK true
10#define DEBUG_SIM2OS true
11#define DEBUG_TTY true
12
13// #ifdef DEBUG
14# define _cout(component, str...) \
15 do \
16 { \
17 if ( DEBUG_ ## component == true ) \
18 { \
19 fprintf(stdout,str); \
20 } \
21 } \
22 while(0)
23// #else
24// # define _cout(component, str...)
25// do
26// {
27// }
28// while(0)
29// #endif
30
31#endif
Note: See TracBrowser for help on using the repository browser.