[CTB] - Modified memory map address shift for the interface between FPGA and Blackfin SOM. Shift has to be set to 1 since the basic AMC data transfers is 8-bit and not 16-bit.

This commit is contained in:
2018-04-27 15:11:37 +02:00
parent c35203ebfb
commit 516336963e
7 changed files with 156 additions and 152 deletions

View File

@ -3,8 +3,10 @@
#define CSP0 0x20200000
#define MEM_SIZE 0x100000
#define MEM_MAP_SHIFT 1
#include <sys/types.h>
#include <sys/types.h>
int mapCSP0(void);
u_int16_t bus_r16(u_int32_t offset);