CS1101: Laboratory 9

7-Segment Converter

Academic Year 2006-2007

Lecturer: Dr. Barry O'Sullivan
Department of Computer Science
University College Cork

b.osullivan@cs.ucc.ie


Objective of this Lab


Figure 1

The objective of this lab is to develop a digital circuit which displays 4-bit binary numbers on a 7-segment display. The segments of the display used in this lab are presented in Figure 1.


Submission

To submit your assignment please put your designs for the required circuits in a file called Segments.v. To submit your designs, type the following from the command prompt from one of the lab machines:
cs1101submit Segments.v

The submission deadline is 5pm on Monday 26th of February.


Tasks

  1. Using the Sum-Of-Products approach develop a logic circuit which displays a 4-bit number on a 7-segment decimal display by turning on the appropriate segments on the display. You can use LEDs to represent the segments of the display - arrange them in a fashion similar to the layout in Figure 1.
  2. To make things easier for you, here is the truth table:

    Inputs Outputs
    W X Y Z a b c d e f g
    0 0 0 0 1 1 1 1 1 1 0
    0 0 0 1 0 1 1 0 0 0 0
    0 0 1 0 1 1 0 1 1 0 1
    0 0 1 1 1 1 1 1 0 0 1
    0 1 0 0 0 1 1 0 0 1 1
    0 1 0 1 1 0 1 1 0 1 1
    0 1 1 0 0 0 1 1 1 1 1
    0 1 1 1 1 1 1 0 0 0 0
    1 0 0 0 1 1 1 1 1 1 1
    1 0 0 1 1 1 1 1 0 1 1

  3. Before you design the circuit for each output try to simply the Sum-Of-Products representation using the Boolean Identities below.

Here is a table of boolean identities which you will find useful (in particular, De Morgan's Law):


b.osullivan@cs.ucc.ie

Return to the CS1101 Home Page