Generating Multiple Clocks on NI FPGA

Updated Jun 5, 2018

Reported In


  • PXI FPGA Module for FlexRIO


  • LabVIEW FPGA Module

Issue Details

I want to generate multiple clocks on my NI FPGA and export it to one of my output pins. How can I do this?


The are multiple ways to generate a clock on your FPGA, three of the widely used methods are :

1.  Using Timed Loops
2.  Using Square wave generator
3.  Using PWM generator

Refer to the example programs in the NI Forum - Three (3) Examples of Exporting a Clock Signal on an FPGA Device  for more information. It also includes an attached example for each of the methods.

Additional Information

You could also use Verilog or VHDL code for implementing the above described or any custom logic. This Verilog or VHDL code can be imported into LabVIEW and executed on the NI FPGA. For more information on this refer to Importing External IP Into LabVIEW FPGA.