Professional Documents
Culture Documents
Required Changed Momentarily: Inputs Logic
Required Changed Momentarily: Inputs Logic
As discussed in Section 11.8, gating the clock with another signal can cause timing
hlems, If flip-flops with clock enable are available, the register can be designed as shown
p r o b i
in Figure 12-1(6). The load signal is connected to all four CE inputs. When Load = 0, the
dlock is disabled and the register holds its data. When Load is 1, the clock is enabled, and
the data applied to the D inputs will be loaded into the flip-flops, following the falling edge
of the clock. Figure 12-1(c) shows a symbol for the 4-bit register using bus notation for the
D inputs and Q outputs. A group of wires that perform a common function is often referred
to as a bus. A heavy line is used to represent a bus,
and a slash with a number beside it
indicates the number of bits in the bus.
data between registers is a common operation in digital systemns.
Transferring
can be transferred from the output of one of
two registers into
Figure 12-2 shows how data
a third register using tri-state
buffers. If En 1 and Load 1, the output of register A is
=
=
edge of the =
Tri-State Bus
Register FF
A
Register A =
En-
Flip-fiops Aj and A2
FF
FF
Register B = Register
Flip-flops Bj and Ba2
FF FF
Repister
Register Q =
Flip-flops Q1 and Q2
CIk
FF
Between Registers
Transfer Learning
2014
Data O Cengage
FIGURE 12-2:
Registers and Counters 641
Serial in
Serial out
(SO)
Shift H
lk
Cock
R SI. Thus.
=SI and
=
O are S
Figure pical timing diagram.
12-9 shows a typica timing diagram.
clocked, and if SI
C a , and =
0, a 0 is shifted in.
Parallel-in implies
4-bit parallel-in. parallel-out shirt register.
Figure 12-10(a) shows a
time, and parallel-out implies that all bits can
same
l four bits can be loaded at the two control inputs, shift enable (Sh)
two control
shift register has
read Out at the s a m e
time. The
I or L =
register causes the
0), clocking the register cau
I (and L
=
If Sh
=
CP
a,
0001 0011 0111 1111 Data in register
0000
O
(o).
tokon tal
X
0-1 wR X
fox,
4n x
Gnx T
T-QH
-
dulewodu
n
xD-Fll-Flop
D-data Pnpu
Tgutal oDFoop
. D
X
0
D D
O
QonD
rueetelt0nta
n
O
D oH
N D P D
0
O
O.
O
O
X
9 9, 90 94,
o
x
D 4, o , 9 , +0,,
gfole dia0
0, Seo)
Tothtabie Fer1p}'
c T
X
Ont
chanacdwtic Hab lo
T Gn+ n Cn
On ToD
druant O On T lo
Cn
T+CAT
xitation Table
T
COn
O
1
Cn &rnt
1) Shift register is used Parallel to
as
serial converter, which converts the
parallel data into serial data. It is utilized
at the transmitter section after Analog to
Digital Converter ADC block.
VaN
Qupuk SRGF
pasko
Op
Tggov Lrou
NC
RAaLepu
VENCC
Caarh uotcqe
t t =k apagke
Nallaq unnu 3 Ncc
epaComp.oakorOuh
ou
AF 9atan Os &
apasko dadana ks Ouur qou LCu
644 Digital Electronics
Figure 12-12(a) shows a 3-bit shift register with the O, nutut nom the laat i
nop Ted back into the D input of the tirst tlip-flop. Ir the initial atale ot the regialor i
000, the initial value of D, is 1. so ater the first eloek pulae, the regiater slate ia
100. Successive states are shown on the transition graph of ligure 12-1241) When
CL
LLoad H
Sh (Shift)
D. D.Da
(
01 0
o)i i1
(MM0)
D (001) (1000) (010)
CLK-
(o11) (110) (101)
(111
(a) Flip-flop ponnections (b) Tnsition graph