Professional Documents
Culture Documents
Learning Outcomes
At the end of this lesson, student should able: Understanding adder component in ALU such as Half Adder, Full Adder, Parallel Binary Adder, Binary Code Decimal Adder etc. Understanding shift register operation in ALU Understanding logical operations in ALU Realize multiplexer in ALU with eight input multiplexer.
Introduction
A logic circuit, which is used to perform arithmetic functions like addition, subtraction, multiplication, division etc. is called arithmetic circuit. Typically, an addition operation takes less than 1 s. The logic functions that are commonly used are EX-OR, OR and AND.
Adder
In electronics an adder is digital circuit that perform addition of numbers. In modern computer adder reside in the arithmetic logic unit (ALU). Adders are important not only in the computer but also in many types of digital systems in which the numeric data are processed. There are two basic types of adder: Half Adder & Full Adder
Logic Circuits
Simplify to
HOW ???
Drawback of half adder is, it doesnt cater to carry i.e. it fails in multi-bit addition. It will add A0 and B0, but in next stage we have to add three bits, which will not be done by the circuit, hence we require a FULL ADDER
Exercise
Using an AND gate and two NOR gates to construct a half adder
A full adder can be constructed from two half adders by connecting A and B to the input of one half adder, connecting the sum from that to an input to the second adder, connecting Ci to the other input and OR the two carry outputs. Equivalently, S could be made the threebit XOR of A, B, and Ci, and Co could be made the three-bit majority function of A,
The Full-Adder
Exercise
Write the equation to perform the full adder logic circuits.
The carry output of each adder is connected to the carry input of the next higher-order adder as indicated. These are called internal carries.
cache memory von nuemann number system mnemonic, operand flip-flop (jk flip-flop)