297
Unit 12 Design Solutions
Solutions to Unit 12 Design and Simulation Problems
Problem 12.10 is a simulation exercise where students are required to design and simulate a counter. The problem has
14 parts of equal difculty, so that different students can be assigned different parts. We ask students to do the following
preparation and lab work:
1. Read Unit 12 in the course textbook, completing Study Guide parts 1 through 5.
3. Answer the following questions:
(a) How can a D ip-op be set to logic 0 without using the clock input?
4. Design a counter that counts in the sequence assigned to you. Use D ip-ops, NAND gates, and inverters.
Draw your circuit explicitly showing all connections to gate and ip-op inputs. Explicitly means that you
should draw in all wires, don’t just label the inputs and outputs. Show switches connected to the Preset
and Clear inputs of the ip-ops. Use one switch for all clears and a separate switch for each preset.
5. Explain in detail how you can set the ip-ops to the two missing states not in the prescribed counting sequence
without using the clock input. Your explanation should describe each change you make to a switch position.
After you have cleared or set a ip-op, in what position (0 or 1) should you leave the switches?
C B A C+ B+ A+
0 0 0 0 0 1
0 0 1 0 1 1
0 1 0 0 0 0
C
B A 0 1
00
0
X
C
B A 0 1
00
0
X
C
B A 0 1
00
1
X
12.10(a)