Quantcast
Channel: Question and Answer » pwm
Viewing all articles
Browse latest Browse all 108

Where to start on emulating a Pulse Width Modulation

$
0
0

This is a homework assignment and I don’t really want the whole answer just a place to start on this assignment. Here’s what I’m supposed to do.

“Emulate a PWM (pulse width modulation) generator. The inputs to the module are a clock signal (Clk) and two select lines. Your module must meet the following specification.

“Pulse width modulation is a popular technique used to control the effective voltage at a source by modifying the duty cycle of the input voltage (the percentage of time in which the voltage is high).

In this problem, you will emulate a PWM generator. The inputs to the module are a clock signal (Clk) and two select lines (s). Your module must meet the following specification: If s = 00, the output must stay high for 1 clock cycle and go low for the next three clock cycles. If s = 01, the output must stay high for 2 clock cycles and go low for the next 2 clock cycles. If s = 10, the output must stay high for 3 clock cycles and go low for the next clock cycle. If s = 11, the output must stay always high.”

Thank’s.


Viewing all articles
Browse latest Browse all 108

Trending Articles