FPGA Access on cc9p9215

Tring to interface an FPGA with cc9p9215 on Dev Board. Does anyone have any sample code using buffered address and data lines to do this? Any pointers would be appreciated - I see a note in the documentation that D0 to D15 are only active when CS0 or CS2 are active?
Thanks in advance

Resloved. unsigned int *mptr; int fd, offset, num;
fd = open(“/dev/mem”, O_RDWR); //open
mptr = mmap(0,0x8000,PROT_READ + PROT_WRITE, MAP_SHARED,fd,(0x60000000+offset)); //map
mptr[0] = 0x00010001 // <<