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.   ::545.5.51.4..0619:  3.60 ''%"!&'.31.297.3.. "329&5.#.739:.5.

65  09.&45.50.51  .550..:66915.94:.:73.65:151.473 69:.:   #%':50619.:6336:       9:.91!4/9 45..739.581.647345..51 3..

.

51/151.9.: ..:.1145.581.5169   .5699:..:6336:              6954/9./5.94 : .51:6:151.694:69   .:6336: .9   .5581.:3::.

3602.3.3:" .985062 5...

3:" ...3.3602.985062 5.

3:" .985062 5.3.3602...

694:   979:5...3:" '...3602.985062 5.3.

.365.4:631/:0.7    & '"!:5#&# .:69..: &"# 79::6569..51.5.73947345.65:...451.65:6   ...65.:33 .94.3...51.7..9:6556919 9.045.4:631/:0 .65:6   . .945..  3.46    .9.94.&"#50.451./3:.6694.4.9. .:..451.779679../6:5..51:.6/:156919.:1:09/1.516.36..65   :.50../6   :#%".:5.945/..9:964.33602:69   .:1:09/1 .6.51.3&4"#9610.95.9../6 5031.365.3357./6...9...915./5.3376::/3064/5.7  / 061947345.6567.647345....647345. /:155.51..:33.104.454..6694.43.:.. .651:09/1.51../6:5 43.3376::/3064/5.43.06550.739 :.3.:/:.:..6.51.51.694:<   > '35./6.61./:155....615.739090...& 113.10619   :#%"./.5.779679..651:09/1.694:<   > '35.9.65  47345.451./6 .656919    .9.9061.4:   :#&#.. & .:.104.46    .73947345..../6 5031.: 1:09/1..51.045.:69.9:6556919 9.50.36.9../3/..7   .779679.9.