Вы находитесь на странице: 1из 4

EC-252: Computer Architecture and Microprocessors

Problem Set 1
Policy for submission of solutions: Submit by 22.01.2012. Late submissions will NOT be evaluated (solutions will be uploaded on 23.01.2012). Solve the problems in A4 sheets and submit all sheets stapled together. There should be one title sheet with the students name, class, roll number, serial number, and problem set number.

1. Simplify the following Boolean functions, using 3-variable maps: a. F (x,y,z) = (0,2,6,7) b. F(A,B,C) = (0,2,3,4,6) 2. Simplify the following Boolean functions, using 4-variable maps: a. wz + xz + xy + wxz b. wxy + yz + xyz + xy 3. Simplify the following Boolean function F, together with the dont-care conditions d, and then express the simplified function in sum of min-terms: a. F(x,y,z) = (0,1,2,4,5), d(x,y,z) = (3,6,7) b. F(A,B,C,D) = (1,3,5,7,9,15), d(A,B,C,D) = (4,6,12,13) 4. Given the Boolean function F = xyz + xyz + xyz a. List the truth table b. Draw the logic diagram of the original function using 2-input gates c. Simplify the function using Boolean algebra d. List the truth table of the simplified function e. Draw the logic diagram of the simplified function (using 2-input gates) f. Draw the logic diagram of the simplified function using only 2-input NAND gates 5. Implement the following Boolean function together with the dont-care conditions d, using no more than three NOR gates: F(A,B,C,D) = (0,1,9,11) d(A,B,C,D) = (2,8,10,14,15) 6. Derive the circuits for a three-bit parity generator and four-bit parity checker using odd parity bit. 7. Consider the combinational circuit in the figure below. a. Derive the Boolean expressions for T1 through T4. Derive outputs F1 and F2 as function of the four inputs. b. List the truth table (4 variables). Then list T1 through T4, F1 and F2.

c. Use K-maps to simplify these expressions and show that they are equivalent to the ones obtained in (a).

8. Design a combinational circuit that converts a 4-bit gray code to a 4-bit binary number. Implement the circuit using exclusive-OR gates. 9. A BCD-to-seven-segment decoder is a combinational circuit that converts a decimal digit in BCD to an appropriate code for the selection of segments in a display indicator used for displaying the decimal digit in a familiar form. The seven outputs of the decoder (a, b, c, d, e, f, g) select the corresponding segments in the display, as shown in Figure a. The numeric display chosen to represent the decimal digit is shown Figure b. Design this decoder using a minimum number of gates. The six invalid combinations should result in a blank display.

10. Design a binary multiplier that multiplies two 4-bit numbers. Use AND gates and binary adders. 11. Construct a 4-to-16-line decoder with five 2-to-4 line decoders with enable. 12. A combinational circuit is defined by the following three Boolean functions: F1 = xyz + xz F2 = xyz + xy F3 = xyz + xy Design the circuit with a decoder and external gates.

13. Construct a 16 x 1 multiplexer with two 8 x 1 and one 2 x 1 multiplexers. Use block diagram. 14. Implement the following Boolean function with a multiplexer: F(A, B, C, D) = (0, 1, 3, 4, 8, 9, 15) 15. An 8 x 1 multiplexer has inputs A, B, and C connected to the selection inputs S2, S1, and S0, respectively. The data inputs I0 through I7, are as follows: I1= I2 = I7 = 0; I3 = I5 = 1; I0 = I4 = D; and I6 = D. Determine the Boolean function that the multiplexer implements. 16. From the following state diagram, create the state table, and corresponding circuit using D flip-flops.

17. Derive the state diagram for the following circuit. Transitions should be marked based on both inputs x and y, using the convention XY. Output Z should be encoded in the state.

18. Design a four bit binary synchronous counter with D flip-flops and logic gates. 19. Design a counter which cycles through the binary sequence (1,2,4,5,6,7) using J/K flipflops. Show that when states 000 and 011 are used as dont care statements the counter may not operate properly. Suggest how to correct this problem. 20. How many address lines and data lines are needed for the following memory? a. 16K x 8 b. 256K x 64 c. 2G x 16 d. 20 x 4 21. Show the Parity bits for a 16-bit and 32-bit number. What is the parity value for the 8bit binary number 10110101? Place the bits into the appropriate places in the parity+data word. 22. Create the truth table for a ROM that implements the Boolean functions: A(x,y,z) = (0,3,6) B(x,y,z) = (1,2,3,6) C(x,y,z) = (1,5) D(x,y,z) = (0,1,5,6,7) How big should the ROM be? What is the memory content at addresses 0 and 5?

Вам также может понравиться