13.07.2015 Views

Digital Electronics: Principles, Devices and Applications

Digital Electronics: Principles, Devices and Applications

Digital Electronics: Principles, Devices and Applications

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Programmable Logic <strong>Devices</strong> 315ABCiSCoFigure 9.14Solution to problem 9.2 using a PROM.Example 9.3We have two two-bit binary numbers A 1 A 0 <strong>and</strong> B 1 B 0 . Design a PLA device to implement a magnitudecomparator to produce outputs for A 1 A 0 being ‘equal to’, ‘not equal to’, ‘less than’ <strong>and</strong> ‘greater than’B 1 B 0 SolutionTable 9.2 shows the function table with inputs <strong>and</strong> desired outputs. The Boolean expressions for thedesired outputs are given in the following equations:Output 1equal to = A 1 A 0 B 1 B 0 + A 1 A 0 B 1 B 0 + A 1 A 0 B 1 B 0 + A 1 A 0 B 1 B 0 (9.5)Output 2 (not equal to)= A 1 A 0 B 1 B 0 + A 1 A 0 B 1 B 0 + A 1 A 0 B 1 B 0 + A 1 A 0 B 1 B 0 + A 1 A 0 B 1 B 0 + A 1 A 0 B 1 B 0 + A 1 A 0 B 1 B 0+ A 1 A 0 B 1 B 0 + A 1 A 0 B 1 B 0 + A 1 A 0 B 1 B 0 + A 1 A 0 B 1 B 0 + A 1 A 0 B 1 B 0 (9.6)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!