0% found this document useful (0 votes)
12 views

Experiment No7

This experiment aims to write VHDL code for a BCD to 7-segment decoder. A 7-segment display represents decimal numbers using LED segments, while BCD encodes each digit with a 4-bit binary pattern. A BCD to 7-segment decoder chip converts the 4-bit BCD input into the specific high or low signals needed to illuminate the correct LED segments to display that digit. The VHDL code will model this decoder chip to interface between a BCD input and a 7-segment display.

Uploaded by

fazfemtqe
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views

Experiment No7

This experiment aims to write VHDL code for a BCD to 7-segment decoder. A 7-segment display represents decimal numbers using LED segments, while BCD encodes each digit with a 4-bit binary pattern. A BCD to 7-segment decoder chip converts the 4-bit BCD input into the specific high or low signals needed to illuminate the correct LED segments to display that digit. The VHDL code will model this decoder chip to interface between a BCD input and a 7-segment display.

Uploaded by

fazfemtqe
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Experiment no : 7

Aim:
Write a VHDL code to model a BCD to 7 segment decoder.

Theory:
In Binary Coded Decimal (BCD) encoding scheme each of the decimal numbers (0-9) is
represented by its equivalent binary pattern (which is generally of 4-bits). Whereas, Seven
segment display is an electronic device which consists of seven Light Emitting Diodes (LEDs)
arranged in some definite pattern (common cathode or common anode type), which is used to
display Hexadecimal numerals (in this case decimal numbers, as input is BCD i.e. 0-9).

Two types of seven segment LED display:

 Common Cathode Type: In this type of display all cathodes of the seven LEDs
are connected together to the ground or -Vcc(hence common cathode) and LED
displays digits when some ‘HIGH’ signal is supplied to the individual anodes.
 Common Anode Type: In this type of display all the anodes of the seven LEDs
are connected to battery or +Vcc an LED displays digits when some ‘LOW’
signal is supplied to the individual cathodes.

But, seven segment displays does not works by directly supplying voltage to different
segments of LEDs. First, our decimal numbers is changed to its BCD equivalent signal then
BCD to seven segment decoder converts that signals to the form which is fed to seven segment
display.

This BCD to seven segment decoder has four input lines (A,B,C and D) and 7 output lines
(a,b,c,d,e,f,and g) this output is given to seven segment LED display which displays.
Truth Table:

Circuit Diagram:

You might also like