Spring 2003 ENGR 212 Homework 5

This homework is due 19 March, 4:30 PM.

Problem 1

In this problem you are going to implement a PLA that receives four bits, a1, a0, b1, and b0, as input and produces the four bit result of multiplying a1a0 by b1b0. For example, if the four input bits are 1011, that's 10 and 11, and four output bits should be 0110.

Write the boolean expressions you will use to implement this function. You will probably need to use espresso to get your implementation to fit into the PLA.

Program the PLA show below by marking connections with an "X" to contstruct the two-bit multiplier. Label used inputs and outputs with the appropriate signal names.

Problem 2

Program the PLA below to construct a 3-to-8 Decoder. Include one active-low enable signal and one active-high enable signal.

Problem 3

Design a 2-bit 4:1 MUX using discrete logic gates. The 2-bit data inputs are A, B, C, and D. The 2-bit data output is Y. Individual bits of A are A0 and A1, etc. Assume the select control signals must be decoded.

Problem 4

Show how to build a quadruple 4-line to 1-line multiplexers using three quadruple 2-line to 1-line data selectors, in particular the 74157. Use the datasheet for TI's SN74F157A in generating your implementation.

Problem 5

Design a 2-bit comparator for two-bit values A and B. The comparator has a single output, but two control inputs C1 and C0. The output is set using the control inputs as follows:

C1 C0 output
000
01AB
10AB
11AB