The invention discloses a radio 
fiber connection interface communication 
library based on a FPGA and a realization method thereof. The radio 
fiber connection interface communication 
library makes the FPGA connect with a universal 
software-defined radio 
peripheral through an 
optical fiber interface. The radio 
fiber connection interface communication 
library comprises an 
external interface and an internal module. Through the 
external interface, the radio fiber connection interface communication library is connected with a 
wireless local area network reconfigurable 
physical layer and the radio 
peripheral. The internal module comprises a 
peripheral management module, a packager, a fiber interface module, an unpacking device, and a 
data transmission module. Through using a high-speed low-
delay data transmission method, a dynamic 
radio frequency parameter configuring method, a flow control method based on speed, and a 
clock domain 
conversion method based on FIFO and other methods, the radio fiber connection interface communication library and the method solve connection problems of a 
software-defined radio development platform based on the FPGA and the radio peripheral, and communication library and the method are characterized by high speed, 
low delay, easy configuration, and support multi-sampling rate and 
user defined clock domain.