OpenCores
URL https://opencores.org/ocsvn/rio/rio/trunk

Subversion Repositories rio

[/] [rio/] [trunk/] [sw/] [stack/] [rioconfig.h] - Rev 49

Compare with Previous | Blame | View Log

/*******************************************************************************
 * 
 * RapidIO IP Library Core
 * 
 * This file is part of the RapidIO IP library project
 * http://www.opencores.org/cores/rio/
 * 
 * Description:
 * This file contains the implementation dependent information needed to build 
 * the riostack. Replace declarations and definitions in this file to customize 
 * for your own compiler environment.
 *
 * No copyright for this file since it has to be changed.
 *
 * To Do:
 * -
 * 
 * Author(s): 
 * - Magnus Rosenius, magro732@opencores.org 
 * 
 *******************************************************************************/
 
#ifndef __RIO_CONFIG
#define __RIO_CONFIG
 
/*******************************************************************************
* Includes
*******************************************************************************/
 
#include <stdint.h>
 
/*******************************************************************************
* Global typedefs
*******************************************************************************/
 
#ifndef ASSERT
#ifdef MODULE_TEST
#include <stdio.h>
#define ASSERT(c, s) (c)?:fprintf(stderr, s)
#endif
#endif
 
#ifndef ASSERT0
#ifdef MODULE_TEST
#include <stdio.h>
#define ASSERT0(s) fprintf(stderr, s)
#endif
#endif
 
#ifndef DEBUG_OUT
#define DEBUG_OUT(...) fprintf(stderr, __VA_ARGS__)
#endif
 
/*******************************************************************************
* Global declarations
*******************************************************************************/
 
/*******************************************************************************
* Global function prototypes
*******************************************************************************/
 
#endif // __RIO_CONFIG
 
/*************************** end of file **************************************/
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.