Fpga based interfacing for 8 bit and 32 bit electronic devices