Fundamentals of Computer Engineering

Submitted by: Submitted by

Views: 384

Words: 277

Pages: 2

Category: Science and Technology

Date Submitted: 10/11/2011 01:44 AM

Report This Essay

Fundamentals of Computer Engineering

Q.1. Design a combinational circuit that detects an error in the representation of a decimal digit in BCD. In other words, obtain a logic diagram whose output is equal to 1 when the inputs contain any one of the six unused bit combinations in the BCD code.

Q.2. Implement a full-adder using a dual 4x1 multiplexer.

Q.3. It is required to design a 4-bit ripple-borrow subtractor to find the subtraction X-Y for the two unsigned numbers, X=X3-X0, and Y=Y3-Y0. Design a 1-bit full subtractor and show how it can be used to construct the 4-bit subtractor.

Q.4. Design two simplified combinational circuits that generate the 9’s complement of (a) a BCD digit and (b) an excess-3 digit. Then compare the gate and literal count of the two circuits. Assume in both cases that input combinations not corresponding to decimal digits give don’t care outputs.

Q.5. Construct a BDC adder-subtractor using a BCD adder and the 9’s complement designed in Q3, as well as other logic or functional blocks as necessary. Use block diagrams for the components, showing only inputs and outputs where possible.

Q.6. The D-latch shown below can be constructed with only four NAND gates. This can be done by removing the inverter and connecting the output of the upper NAND gate (connected to the D input) to the input of the lower NAND gate (Connected to D’). Use manual or computer-based logic simulation to verify that the new circuit is functionally the same as the original one.