Anda di halaman 1dari 3

Buffers

In circuits where a logic gate has to drive a large capacitive load, buffers are often used to improved performance Buffers can be created with different amounts of drive capability (depending on the size of the transistors used to construct them)
Larger transistors => more current handling capability A common use of a buffer is to control a lightemitting diode (LED)

ECE380 Digital Logic


Implementation Technology: Buffers, Tri-state gates, Transmission gates

Buffers have greater fan-out than other (regular) logic gates


Electrical & Computer Engineering Dr. D. J. Jackson Lecture 12-2

Electrical & Computer Engineering

Dr. D. J. Jackson Lecture 12-1

Buffers

Tri-state Buffers (Gates)


A tri-state buffer (gate) has
One input (x) One output (f) One control input (e) e x f=x if e=1 A tri-state buffer f

x f=x

x f=x

A non-inverting buffer

An inverting buffer

Electrical & Computer Engineering

Dr. D. J. Jackson Lecture 12-3

Electrical & Computer Engineering

Dr. D. J. Jackson Lecture 12-4

Tri-state Buffers (Gates)


When e=1, the buffer drives the value of x onto f, causing f=x When e=0, the buffer is completely disconnected from the output f
e=0 x f x e=1 f

Tri-state Buffers (Gates)


In truth table form, e 0 0 1 1 x 0 1 0 1 f Z Z 0 1 For the rows where e=0, the output is denoted by the logic value Z This Z is called the highimpedance state The name tri-state derives from the fact that there are two normal states for a logic signal (0 and 1) and Z represents a third state that has no output

Equivalent circuit
Electrical & Computer Engineering Dr. D. J. Jackson Lecture 12-5 Electrical & Computer Engineering Dr. D. J. Jackson Lecture 12-6

Four type of tri-state buffers


There are four possible configurations of tristate buffers
based on two types of outputs
Inverting and non-inverting outputs

Four type of tri-state buffers


e x f
e x f Z Z 0 1 f 0 1 Z Z

e x f

f Z Z 1 0 f 1 0 Z Z

0 0 0 1 1 0 1 1

0 0 0 1 1 0 1 1

and two types of control signals (e)


Active high and active low enables

Active low enables implies the output is active (f=x) when the enable is low (e=0)
x

e f

0 0 0 1 1 0 1 1

e x f

0 0 0 1 1 0 1 1

Electrical & Computer Engineering

Dr. D. J. Jackson Lecture 12-7

Electrical & Computer Engineering

Dr. D. J. Jackson Lecture 12-8

Tri-state buffer application


x1 s x2 f
s x1 x2 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1 f 0 0 1 1 0 1 0 1

Transmission gate
A transmission gate acts as a switch, connecting an input (x) to an output (f)
Commonly used to implement XOR gate and multiplexer circuits

s x x s f s=1 x f=x s=0 f=Z s 0 1 f Z x

Note the outputs of the tri-state gates are wired together


This is possible only because we know that (in this configuration) one or the other of the tri-state gates will be in the high impedance (Z) state This type of wired connection is not possible with ordinary logic gates
Electrical & Computer Engineering Dr. D. J. Jackson Lecture 12-9

Electrical & Computer Engineering

Dr. D. J. Jackson Lecture 12-10

Multiplexer with transmission gates


x 1

XOR with transmission gates


x 1 x 2

x 2

f =x x 1 2

Electrical & Computer Engineering

Dr. D. J. Jackson Lecture 12-11

Electrical & Computer Engineering

Dr. D. J. Jackson Lecture 12-12

Anda mungkin juga menyukai