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

Subversion Repositories or1k

[/] [or1k/] [tags/] [nog_patch_42/] [or1ksim/] [testbench/] [support/] [support.h] - Diff between revs 600 and 915

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 600 Rev 915
Line 8... Line 8...
#include <stdarg.h>
#include <stdarg.h>
#include <stddef.h>
#include <stddef.h>
#include <limits.h>
#include <limits.h>
 
 
#if OR1K
#if OR1K
#include <_ansi.h>
//#include <_ansi.h>
 
 
/* Register access macros */
/* Register access macros */
#define REG8(add) *((volatile unsigned char *)(add))
#define REG8(add) *((volatile unsigned char *)(add))
#define REG16(add) *((volatile unsigned short *)(add))
#define REG16(add) *((volatile unsigned short *)(add))
#define REG32(add) *((volatile unsigned long *)(add))
#define REG32(add) *((volatile unsigned long *)(add))

powered by: WebSVN 2.1.0

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