![fpga simulation waveform fpga simulation waveform](https://numato.com/help/wp-content/uploads/2016/04/simwaveform.png)
In fact, most FPGA boards including Numato Lab Mimas A7 has a built-in oscillator that does exactly the same thing. Generating square wave is as simple as turning ON an IO, wait for x amount time, turn OFF the IO, wait for x amount of time and continue the cycle indefinitely. Square Wave (generated using numpy and scipy. Simply put, a digital signal with exact same ON time and OFF time can be considered as a square wave. This is also known as the signal having a 50% duty cycle.
![fpga simulation waveform fpga simulation waveform](https://s3.studylib.net/store/data/008234294_1-e5f33661e1ec448f4eac77f2c27215bf-768x994.png)
The primary requirement is that the ON time (where the signal stays at HIGH state) and OFF time (where the signal stays at LOW state) are equal. A square wave is a signal that changes between HIGH state (Eg: 5V) and low state (Eg: 0V).
#Fpga simulation waveform how to
This article talks about how to generate a square wave using FPGA. Doing this exercise helps the learner get familiar with IOs, their configuration, and simple language constructs. While learning FPGAs or embedded systems, generating a square wave is probably one of the simplest experiments to try out.