You are on page 1of 1

# Assignment Digit-Part A

Oleh Cik Ir · Suntingan akhir pada Jumaat lalu · Edit Doc DAE21203 DIGITAL ELECTRONICS DUE DATE: 23th Sept. 2011 Assignment 2: Decoders, Multiplexers and 7-Segment Displays

PART A Using Decoder and Multiplexer to implement a Function A certain function f is defined as follows: F(A, B, C, D) = å(first 5 unique digits of your Identity Card Number + minterms 12 and 13). Example: If your IC is 921013-12-5206 then your first 5 unique digits are 0,1,2,3 and 9 so F is defined as follows: F(A, B, C, D) = å (0,1,2,3,9,10,14). If your IC number has less than 5 unique digits, add minterm(s) 12 and/or 15. Let binary waveforms for A, B, C, and D be defined as follows: A - Clock with a frequency of 5 kHz, initial value is LOW B - Clock with a frequency of 10 kHz, initial value is LOW C - Clock with a frequency of 20 kHz, initial value is LOW D - Clock with a frequency of 40 kHz, initial value is LOW The 4 waveforms A,B,C,D represent a 4-bit binary code that varies from 0 to 15 in order. 1. Determine by hand a minimal Sum Of Products (SOP) expression for the function F described above using a Karnaugh map. 2. SIMULATION Using PSPICE (a) 8x1 Multiplexer Implementation (i) Use a multiplexer implementation table by hand to determine the appropriate connections to be used in order to implement the function f described above. Be aware that A is the MSB and D is the LSB. Add labels to define all inputs and outputs by standard names. (ii) Use PSPICE to implement the multiplexer circuit above using 74151A 8x1 multiplexer. Use Digital Clocks for A, B, C, and D as described above. (iii) Use PROBE to form a timing diagram of A, B, C, D, and f above as well as a bus defining the decimal value of the 4 waveforms {A, B, C, D}. The length of the timing diagram should be such that all 16 possible combinations of A, B, C, and D are shown in order. Verify that f is HIGH for each minterm as described above. Include an appropriate title on the graph (b) 4 x 16 Decoder Implementation (i) Implement the SOP function of part 1 using a 4 x 16 decoder. (ii) Use PROBE to form a timing diagram of A, B, C, D, and f above as well as a bus defining the decimal value of the 4 waveforms {A, B, C, D}. The length of the timing diagram should be such that all 16 possible combinations of A, B, C, and D are shown in order. Verify that f is HIGH for each minterm as described above. Include an appropriate title on the graph.

9.&7.1.   ::545.5.51.4..0619:  3.60 ''%"!&'.31.297.3.. "329&5.#.739:.5.

65  09.&45.50.51  .550..:66915.94:.:73.65:151.473 69:.:   #%':50619.:6336:       9:.91!4/9 45..739.581.647345..51 3..

.

51/151.9.: ..:.1145.581.5169   .5699:..:6336:              6954/9./5.94 : .51:6:151.694:69   .:6336: .9   .5581.:3::.

3602.3.3:" .985062 5...

3:" ...3.3602.985062 5.

3:" .985062 5.3.3602...

694:   979:5...3:" '...3602.985062 5.3.

.365.4:631/:0.7    & '"!:5#&# .:69..: &"# 79::6569..51.5.73947345.65:...451.65:6   ...65.:33 .94.3...51.7..9:6556919 9.045.4:631/:0 .65:6   . .945..  3.46    .9.94.&"#50.451./3:.6694.4.9. .:..451.779679../6:5..51:.6/:156919.:1:09/1.516.36..65   :.50../6   :#%".:5.945/..9:964.33602:69   .:1:09/1 .6.51.3&4"#9610.95.9../6 5031.365.3357./6...9...915./5.3376::/3064/5.7  / 061947345.6567.647345....647345. /:155.51..:33.104.454..6694.43.:.. .651:09/1.51../6:5 43.3376::/3064/5.43.06550.739 :.3.:/:.:..6.51.51.694:<   > '35./6.61./:155....615.739090...& 113.10619   :#%"./.5.779679..651:09/1.694:<   > '35.9.65  47345.451./6 .656919    .9.9061.4:   :#&#.. & .:.104.46    .73947345..../6 5031.: 1:09/1..51.045.:69.9:6556919 9.50.36.9../3/..7   .779679.9.