Combinational Logic (Seven Segment Driver)
Combinational Logic (Seven Segment Driver)
Combinational Logic (Seven Segment Driver)
41
CHAPTER 4. COMBINATIONAL LOGIC (SEVEN SEGMENT DRIVER)
4.2 Objectives
In this section, the following items will be covered:
4.3 Materials
1. Xilinx ISE 12 software (Currently installed on the lab computers)
4.4 Procedure
There are 5 steps to digital logic design:
Figure 4.1: Use this process for designing the seven segment display.
1. High Level Preparation: Figure 4.2 shows all of the different outputs that the seven segment decoder should
produce. Shade in the segments that should be on for each input, 0-F.
Add the power source used for each of the three blocks.
Label all Port and Port pins that are used for this project on the block diagram.
Figure 4.3: This is the block diagram for the remote control
Use the shading in Figure 4.2 to fill in the functional truth table below.
Input Hex Inputs, ABCD SegA SegB SegC SegD SegE SegF SegG
0 0000 1 1 1 1 1 1 0
1 0001
2 0010
3 0011
4 0100
5 0101
6 0110
7 0111
8 1000
9 1001
A 1010
B 1011
C 1100
D 1101
E 1110
F 1111
Use seven K-maps to make minimized logic for SegA , SegB , SegC , SegD , SegE , SegF , and SegG . Write
out the minimized Boolean Equations for each output.
2. Design Entry: Enter the design using the same process as in Section 2.
A larger workspace in Xilinx will be needed to fit the entire minimized schematic. To change
the schematic size click Edit → Change Sheet Size... In the dialog box use the dropdown
menu to select a larger sheet size.
2011
c Oregon State University ECE 272 Manual 43
CHAPTER 4. COMBINATIONAL LOGIC (SEVEN SEGMENT DRIVER)
3. Design Verification: Simulate the desgin to verify correct operation of the digital logic. Use Section 3 as a guide
for this process.
4. Design Adaptation to Target Device: Follow the same process for using PACE and iMPACT as in Section 2.
5. Design Implementation: Program the Xilinx CPLD with the Universal Programmer software.
TA Signature:
(Seven Segment display is working and all lab steps are shown)
Make a two digit seven segment display. Use the MAN 6940 seven segment display, which has two digits. Each digit
has an independent common cathode. There should be eight inputs to this decoder. There should be seven outputs
for the seven segments, and two outputs for the two common cathodes. Design the electrical circuits for driving the
common cathodes and the digital logic for displaying the turning on the correct segments when the corresponding
common cathode is enabled.
4.6.2 Option 2
Design and simulate the Xilinx for a two digit seven segment display. Create your outputs as if they were going to be
used by the pins on the MAN 6940.