15
Digital Components and Combinational Circuits Sachin Kharady

Digital Components and Combinational Circuits Sachin Kharady

Embed Size (px)

Citation preview

Page 1: Digital Components and Combinational Circuits Sachin Kharady

Digital Components and Combinational Circuits

Sachin Kharady

Page 2: Digital Components and Combinational Circuits Sachin Kharady

SECTION 3.4Digital Components

Page 3: Digital Components and Combinational Circuits Sachin Kharady

• All digital components inside a computer are essentially built with collections of gates.

• All gates use Boolean algebra to accomplish tasks.

• Two categories of logic – combinational logic, and sequential logic

Page 4: Digital Components and Combinational Circuits Sachin Kharady

Relationship to Boolean algebra

• Logic diagrams can be built to represent functions as well as physical circuits

• The complexity of a Boolean function reflects the complexity of the circuit

Page 5: Digital Components and Combinational Circuits Sachin Kharady

Integrated circuits

• Typically, gates are sold as units called integrated circuits.

• A chip is a small electronic device consisting of various gates.

• The chips already consist various electrical components such as transistors, resistors and capacitors to implement gates

Page 6: Digital Components and Combinational Circuits Sachin Kharady

• The necessary connections are welded from the chip to the external pins to form an IC.

• First ICs contained up to 100 components per chip, but now it has grown to more than 1 million

Page 7: Digital Components and Combinational Circuits Sachin Kharady

SECTION 3.5Combinational Circuits

Page 8: Digital Components and Combinational Circuits Sachin Kharady

Basic concepts

• Combinational logic is used to build circuits that contain basic Boolean operators, inputs and outputs.

• The output is a function of the inputs.

Page 9: Digital Components and Combinational Circuits Sachin Kharady

Typical Combinational Circuits

• Half-adder – specifies a circuit with two inputs to add two binary digits, and two outputs – one for sum, and one for carry.– The sum is an XOR gate

and the carry is an AND gate

Page 10: Digital Components and Combinational Circuits Sachin Kharady

Full Adder

• Full-Adder – consists of two half adders and an OR gate

• To add a 16-bit word, this circuit is replicated 16 times to create the ripple carry adder.

Page 11: Digital Components and Combinational Circuits Sachin Kharady

Decoder• A decoder decodes binary info

from a set of n inputs to a maximum of 2n inputs.

• It uses inputs and their respective values to select one specific output line. – it means that one output is set to 1 and all others are set to 0

• 3-to-8 decoder – 3 inputs and 8 outputs.

• Computer memory is written in binary numbers and and to determine the address of a stored block, a decoder is used.

Page 12: Digital Components and Combinational Circuits Sachin Kharady

Multiplexer

• Selects binary info from on of many input lines and directs it to a single output line.

• Selection is base on a couple of control lines

Page 13: Digital Components and Combinational Circuits Sachin Kharady

Parity

• Parity Generator and parity checker circuits– Parity generator – creates the necessary partiy bit

to add to a word– Parity checker – checks to make sure proper parity

(odd or even) is present in the word, detecting an error if the parity bit is incorrect.

Page 14: Digital Components and Combinational Circuits Sachin Kharady
Page 15: Digital Components and Combinational Circuits Sachin Kharady

Arithmetic Logic Unit

• Consists of these combinational circuits

• Carries out at least four basic operations, AND, OR, NOT and addition.