Writing ne code for Slave FPGA