source:
trunk/IPs/systemC/shared/macro.h
@
74
Last change on this file since 74 was 2, checked in by , 18 years ago | |
---|---|
File size: 242 bytes |
Rev | Line | |
---|---|---|
[2] | 1 | #ifndef MACRO_H |
2 | #define MACRO_H | |
3 | ||
4 | #include "processor/M_CPU/Include/debug.h" | |
5 | #include "processor/M_CPU/Include/log2.h" | |
6 | ||
7 | #define ERROR(msg) do {fprintf(stderr,"<%s> : %s\n",NAME,msg);sc_stop();exit(0);} while(0); | |
8 | ||
9 | #endif // !MACRO_H |
Note: See TracBrowser
for help on using the repository browser.