06-02-2015 01:18 PM
Hello all,
I am trying to build a PWM sinal bycomparing a sinusoidal signal with atriangular wave i can see a in built function for sine wave but not for triangular wave Can abyone help me?.
06-21-2015 10:26 AM
Hi,
the triangular wareform can be simply generated by an up counter, if you want an asymmentrical carrier. Otherwise, you can implement and up-down counter on the FPGA to have symmentrical carrier signal.
Use smallest integer data-type that fits your requirements, FPGA resources are precious.