Moving Wave via LEDs


Please sign in to view the rest of this entry.

Moving Wave via LEDs
Moving Wave via LEDsIn this application, we will form a moving wave application via LEDs on the Basys3 board. To do so, we will benefit from the pulse width modulation (PWM) which forms digital periodic pulses with varying width (duty cycle). Hence, the PWM is used to obtain analog signals from a digital system most of the times [32]. We provide the Verilog description to generate a PWM signal in Listing 13.14. This module has two inputs. These are clk (main clock signal) and dutyc (duty cycle). The output of the module is pwm_out which is the PWM signal.
Citation
Cem √únsalan, Ph.D.; Bora Tar, Ph.D.: Digital System Design with FPGA: Implementation Using Verilog and VHDL. Moving Wave via LEDs, Chapter (McGraw-Hill Professional, 2017), AccessEngineering Export