Docsity

Constructing a 16-bit ALU Overflow Circuit using INV, 2-input NAND, and 3-input NAND Gates, Assignments of Electrical and Electronics Engineering

Toggle sidebar
bg1
1. Using only INV, 2-input NAND, and 3-input NAND gates, construct a circuit that will implement the
overflow (OV) function for a 16-bit ALU. Assume the inputs are A (A
15
… A
0
) and B (B
15
… B
0
) and
output (sum) is S (S15 … S0). Assume that only non-inverted inputs (i.e., X but not X’) are available.
HINT: You should be able to do this with 2 inverters and 3 NAND gates.
2. Briefly explain the difference between a microprocessor, a microcontroller, and an embedded system.
3. You have designed a microcontroller that must interface to 256k (262,144 bytes) of memory, with 8-bits
stored in each address.
a. How many data line are needed for the data bus?
b. How many address lines are needed for the address bus?

Partial preview of the text

Download Constructing a 16-bit ALU Overflow Circuit using INV, 2-input NAND, and 3-input NAND Gates and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

  1. Using only INV, 2-input NAND, and 3-input NAND gates, construct a circuit that will implement the overflow (OV) function for a 16-bit ALU. Assume the inputs are A (A 15 … A 0 ) and B (B 15 … B 0 ) and output (sum) is S (S15 … S0). Assume that only non-inverted inputs (i.e., X but not X’) are available. HINT: You should be able to do this with 2 inverters and 3 NAND gates.
  2. Briefly explain the difference between a microprocessor, a microcontroller, and an embedded system.
  3. You have designed a microcontroller that must interface to 256k (262,144 bytes) of memory, with 8-bits stored in each address.

a. How many data line are needed for the data bus?

b. How many address lines are needed for the address bus?