Digital Technology - Lecture 7
Digital Technology - Lecture 7
Program
2
DIGITAL TECHNOLOGY
Lecture 7
• most VHDL users now prefer to use the function "rising_edge(clk)" and "falling_edge(clk)"
over the clk'event style. There is also “WAIT UNTIL clock=’1’”;
• case statements can't be used outside of processes
3
DIGITAL TECHNOLOGY Lecture 7
4
DIGITAL TECHNOLOGY Lecture 7
PWM
• PWM is the most used regulation form in digital electronics. It
is actually a Digital to Analog converter in most cases.
• Light dimming, LED Taillights on cars (brake/normal).
• Power supplies (switchmode)
• Class D amplifiers (ICEPower)
• DC Motor control
5
DIGITAL TECHNOLOGY Lecture 7
PWM
• Resolution in bits of the PWM (D/A-converter) is equal to the
number of bits used in the (T) counter.
• High resolution requires high clock frequency.
6
DIGITAL TECHNOLOGY Lecture 7
Asignment
• Implement a PWM for adjusting the light output of a LED.
(light-dimmer).
• Min. Resolution 256 steps (8bit).
• Hand in VHDL and .UCF file before 31/12-2010