Implementing the ata protocol based on FPGA