need advice on howto access memory from fpga and cpu