beautypg.com

Virtex memory map – Sundance SMT395 User Manual

Page 23

background image

Version 1.1.7

Page 23 of 26

SMT395 User Manual

Virtex Memory Map

See general firmware description.

The memory mapping is as follows:

#define CP0

(volatile unsigned int *)0x90000000

#define CP1

(volatile unsigned int *)0x90008000

#define CP2

(volatile unsigned int *)0x90010000

#define CP3

(volatile unsigned int *)0x90018000

#define CP4

(volatile unsigned int *)0x90020000

#define CP5

(volatile unsigned int *)0x90028000

#define CP0_STAT

(volatile unsigned int *)0x90004000

#define CP1_STAT

(volatile unsigned int *)0x9000C000

#define CP2_STAT

(volatile unsigned int *)0x90014000

#define CP3_STAT

(volatile unsigned int *)0x9001C000

#define CP4_STAT

(volatile unsigned int *)0x90024000

#define CP5_STAT

(volatile unsigned int *)0x9002C000

#define GB_STAT

(volatile unsigned int *)0x90034000

#define SDB_STAT

(volatile unsigned int *)0x90038000

#define

STAT (volatile

unsigned

int

*)0x9003C000

#define

SDBA (volatile

unsigned

int

*)0x90040000

#define SDBB

(volatile unsigned int *)0x90050000

#define

SDBC (volatile

unsigned

int

*)0x90060000

#define SDBD

(volatile unsigned int *)0x90070000

#define SDBA_STAT

(volatile unsigned int *)0x90048000

#define SDBB_STAT

(volatile unsigned int *)0x90058000

#define SDBA_INPUTFLAG

(volatile unsigned int *)0x90044000

#define SDBB_INPUTFLAG

(volatile unsigned int *)0x90054000

#define SDBA_OUTPUTFLAG

(volatile unsigned int *)0x9004C000

#define SDBB_OUTPUTFLAG

(volatile unsigned int *)0x9005C000

#define GLOBAL_BUS

(volatile unsigned int *)0x900A0000

#define GLOBAL_BUS_CTRL

(volatile unsigned int *)0x90080000

#define GLOBAL_BUS_START

(volatile unsigned int *)0x90088000

#define GLOBAL_BUS_LENGTH

(volatile unsigned int *)0x90090000

#define TCLK

(volatile unsigned int *)0x900C0000

#define TIMCONFIG

(volatile unsigned int *)0x900C8000

#define LED

(volatile unsigned int *)0x900D0000

#define INTCTRL4

(volatile unsigned int *)0x900E0000