URL
https://opencores.org/ocsvn/or1200_soc/or1200_soc/trunk
Subversion Repositories or1200_soc
[/] [or1200_soc/] [trunk/] [boards/] [de1_board/] [sw/] [tests/] [debug/] [de1_or1200.h] - Rev 21
Compare with Previous | Blame | View Log
// // // #ifndef __DE1_OR1200_H #define __DE1_OR1200_H /* Register access macros */ #define REG8(add) *((volatile unsigned char *)(add)) #define REG16(add) *((volatile unsigned short *)(add)) #define REG32(add) *((volatile unsigned long *)(add)) #define LSR_BASE ( REG8(0x50000005) ) #define THR_BASE ( REG8(0x50000000) ) #endif