How Can I generate PWM Signal on FPGA?

Updated Jun 14, 2019

Reported In


  • LabVIEW
  • LabVIEW FPGA Module

Issue Details

I am looking for a simple method to output a PWM Signal using the FPGA, I tried using few example codes however they don't work the way I want, I would like to be able to specify the frequency of the signal in Hz and the duty cycle in percentage, where can I find code like this? 


The FPGA Code can be as shown in the Snippet below: 


Note: This image is a LabVIEW snippet, which includes LabVIEW code that you can reuse in your project. To use a snippet, right-click the image, save it to your computer, and drag the file onto your LabVIEW diagram.