Experiments

 

 

 

 Experiment #6: Twelve Segment Display

  • To implement a code converter.

 Theory

12-segment display

To the left is a 12-segment letter display (read about the 7-segment digit display in your textbook for background information). Each segment is "turned-on" by a signal value of "1". The segments are labelled "a" through "k", and the dot is labelled "x". 

We will first build a converter that will take 5 digits as input and convert it to a 12 digit signal as output to display the appropiate alphabet letter or special character.

Fill out the table below to figure out the appropiate input/output combination. Use the figure to the left of the table to see what segments should light up for each character. 


 
 
 

Character

Code

xabcdefghijk

a

00000

011101110000

b

00001

000111110000

...

...

...

z

 

 

blank

11010

 

period

11011

 

exclamation

11100

 

question mark

11101

 

dash

11110

 

under_score

11111

000010000000

Click here for the entire table you can print out.

 Procedure

  1. Now that you have filled out the table, write VHDL code that takes the 5 binary digits as input and converts it to the appropriate 12-segment display value.
     
  2. Test that your converter works and save it as twelveto5 in the folder Converter.

 What to turn in

  • Folder Converter.