URL
https://opencores.org/ocsvn/csa/csa/trunk
[/] [csa/] [trunk/] [pc/] [misc.h] - Diff between revs 30 and 38
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 30 |
Rev 38 |
/*
|
/*
|
* =====================================================================================
|
* =====================================================================================
|
*
|
*
|
* Filename: misc.h
|
* Filename: misc.h
|
*
|
*
|
* Description: some stuff
|
* Description: some stuff
|
*
|
*
|
* Version: 1.0
|
* Version: 1.0
|
* Created: 04/16/2009 08:19:32 PM
|
* Created: 04/16/2009 08:19:32 PM
|
* Revision: none
|
* Revision: none
|
* Compiler: gcc
|
* Compiler: gcc
|
*
|
*
|
* Author: mengxipeng@gmail.com
|
* Author: mengxipeng@gmail.com
|
*
|
*
|
* =====================================================================================
|
* =====================================================================================
|
*/
|
*/
|
|
|
|
|
#ifndef __MISC__
|
#ifndef __MISC__
|
#define __MISC__
|
#define __MISC__
|
|
|
#include <stdio.h>
|
#include <stdio.h>
|
|
//#include <unistd.h>
|
|
|
#define DEBUG_LINE(fmt,arg...) \
|
#define DEBUG_LINE(fmt,arg...) \
|
do{ printf(fmt,##arg);printf("\n");fsync(stdout);}while(0)
|
do{ printf(fmt,##arg);printf("\n");fflush(stdout);}while(0)
|
|
|
#endif
|
#endif
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.