The invention discloses an FSK
signal generator based on digital logic and an implementation method. The generator comprises a synchronization module, lookup tables LUT1 and LUT2, an accumulator
ADDER and a trigger. The synchronous module processes a DATA / SELECT
signal by using a high-frequency
clock which is not lower than ten times of the highest output frequency, the LUT1 stores a frequency division coefficient, the LUT2 stores a pulse
width ratio parameter and supports 1%-99% adjustment, the accumulator counts to a threshold according to the frequency division coefficient and is reset and triggered, and the trigger stably outputs an FSK (
Frequency Shift Keying)
signal. The implementation method comprises the following steps: the synchronization module processes a DATASELECT signal by using a high-frequency
clock, the synchronized signal drives the LUT1 to output a frequency division coefficient, the accumulator counts to a threshold value, zero clearing is carried out to generate a trigger signal, the LUT2 controls level overturning by combining a parameter and the trigger signal, and the trigger latches and outputs a stable FSK (
Frequency Shift Keying) signal. The method can be used for FPGA
verification, burr and
delay are avoided, the test cost and difficulty are reduced, and the application range is wide.