Академический Документы
Профессиональный Документы
Культура Документы
6.Bölüm Cevapları
Include a two input NAND gate with the register of Fig. 6-1 and connect the gate output to the C inputs of all flip-
1 flops.One input of the NAND gate receives the clock pulses from the clock generator,and the other input of the
NAND gate provides paralel load control.Explain the operation of the modified register.
I0 D A0
I1 D A1
Clock Load Operation
C X 0 No change
Load 0 1 No change
I2 D A2 1 1 Load
CLK
I3 D A3
C
Include a synchronous clear input to the register of Fig 6.2.The modified register will have a parallel load capability and a
2 synchronous clear capability.The register is cleared synchronously when the clock goes through a positive transition and the
clear input is equal to 1.
Load
Clear D A0
I0
C
D A1
I1 C
D A2
I2 Clear Load Operation
C 0 0 No change
1 0 0
X 1 Load inputs
A3
D
I3
C
CLK
3 What is the difference between serial and parallel transfer?Explain how to convert serial data to parallel and parallel
data to serial.
• Paralel transferi seri transfere çevirmek için ise ilk başta veri paralel
yüklenip çıkışta bitler teker teker iletilir.
4
The content of a 4-Bit register is initially 1101.The register is shifted six times to the right with the serial input being
101101.What is the content of the register after each shift?
S.I=101101
Initial 1.Shift 2.Shift 3.Shift 4.Shift 5.Shift 6.Shift
1101 1110 0111 1011 1101 0110 1011
5 The 4-Bit universal shift register shown in Fig. 6-7 is enclosed within one IC package.
a Draw a block diagram of the IC showing all inputs and outputs.Include two pins for the power supply.
A4 A3 A2 A1 Vcc GND
Sağa Sola
Kaydırıcı Kaydırıcı
S0
CLR
S1
I0 I1 I2 I3 CLK
5 b Draw a block diagram using two ICs to produce an 8-Bit universal shift register.
Sola Sola
Sağa kaydırıcı Sağa kaydırıcı
kaydırıcı kaydırıcı
S0 S0
CLR CLR
S1 S1
I0 I1 I3 I4 CLK I0 I1 I3 I4 CLK
6
Design a 4 bit shift register with parallel load using D flip-flops.There are two
control inputs:shift and load.When shift=1,the content of the register is shift by
one position.New data is transfered into the register when load =1 and
shift=0.If both control inputs are equal to 0,the content of the register does not
change.
6 Load
Shift
S.I. D
I0
C
D
I1
C
D
I2
C
D
I3
C
7
Draw the logic diagram of a 4-bit register with four D flip-flops and four 4x1
multiplexers with mode selection inputs s1 and s0.The register operates
according to the following function table.
s1 s0 Register Operation
0 0 No change
0 1 Complement the four outputs
1 0 Clear register to 0(synchronous with the clock)
1 1 Load parallel data
7S 1
S0
4x1 D Q0
0 C Q 0’
I0
D Q1
4x1
C Q1’
I1
4x1 D Q2
C Q 2’
I2
4x1 D Q3
C Q 3’
I3
8 The serial adder of Fig. 6-6 uses two 4-Bit registers.Register A holds the binary number 0101 and regiser B holds 0111.The
carry flip-flop is initially reset to 0.List the binary values in register A and the carry flip-flop after each shift.
a Using the circuit of Fig. 6-5,show the changes needed to perform A+2’s complement of B.
x
Shift Register
Q
D
C
CLK
A binary ripple counter uses flip-flops that trigger on the positive edge of the clock.What will be the count if; a)the
11 normal outputs of the flip-flops are connected to the clock and b)the complement outputs of the flip-flops are
connected to the clock?
a T A0
C
Count
T A1
T A2
A3
T
Lojik 1 Reset
12
b T A0
C A0’
Count
T A1
C A1’
T A2
C A2’
A3
T
C A3’
Lojik 1 Reset
13 Show that a BCD ripple counter can be constructed using a 4-bit binary ripple counter with
asynchronous clear and a NAND gate that detects the occurence of count 1010.
Q0 0
BCD
Q1 1
Ripple Counter Q2 0
Clear Q4 1
14 How many flip-flop will be complemented in a 10-bit binary ripple counter to reach the next count after the
following count:
a) 100110 0111
4
100110 1000
b) 0 011111111
9
1 000000000
c) 1111111111
10
0000000000
15 A flip-flops has a 5 ns delay from the time the clock edge occurs to the time the output is complemented.What
is the maximum delay in a 10-bit binary ripple counter that uses these flip-flops?What is the maximum
frequency the counter can operate reliably?
T flip-flop’tan D flip-flop
şekildeki gibi elde edildiği
D
için; D flip-flop’la
TAi yapılacak senkron sayıcının
C girişleri aşağıdaki gibi olur:
T A0
Down C
Görüldüğü gibi inputlar 1 iken AND kapıları daima 0 çıktısı verip T flip-flop’unun durumunun
değişmemesini sağlar
19 The flip-flop input equations for a BCD counter using T flip-flops are given in section 6-4.Obtain the input equations
for a BCD counter that uses;
a J-K flip-flops
01 1 1 1 01 1
DQ8=Q8Q1’+Q4Q2Q1
11 X X X X 11 X X X X
10 X X 10 1 X X
DQ4=Q4Q1’+Q4Q2’+ Q4’Q2 Q1
20 Enclose the binary counter with paraller load of Fig. 6-14 in a block diagram showing all inputs and outputs.
a) Show the connections of four such blocks to produce a 16-bit counter with parallel load.
A3 A2 A1 A0
Load Carry
Count 16 bitlik sayıcı oluşturmak için her bir
CLK devrenin carry çıkışını bir sonrakinin
Clear Count girişine bağlamalıyız.Bu işlem
için bu devreden 4 tane gereklidir.
I3 I2 I1 I0
CLK CLK
Load
4-Bit counter CLR Carry 4-Bit counter CLR
Carry Load
Count Count
0 0
21 The counter of Fig. 6-14 has two control inputs Load(L) and Count(C) and a data input ,(Ii).
a) Derive the flip-flop input equations for J and K of the first stage in terms of L,C,and I.
b) The logic diagram of the first stage of an equivalent integrated circuit is shown in Fig. P6-21.Verift that this
circuit is equivalent to the one in a.
A3 A2 A1 A0
A3 A2 A1 A0
Count
3-bit
T İlk başta 1’e
sayıcı
eşit.
0 1 X 0 1 X 0 1 X
0 1 X 0 1 X 0 X 1
TA =A + B TB = B + C TC = A + C
Devrenin kullanılmayan bir duruma girdiğinde çıkıp çıkmadığını kontrol etmek
gerekirse;
010 101 010 olduğu ve devrenin kendini düzeltmediği görülür.Bunun
için;
BC
A 00 01 11 10
0 1 X
Şeklinde sadeleştirirsek bu durumda devre
0 X 1 kendini düzeltir.
101 010 100
It is necessary to generate six repeated timing signals T0 through T5 similar to the ones shown in Fig. 6-17(c).Design
25 the timing circuit using:
a)Flip-flops only b)A counter and a decoder.
T0 T1 T2 T3 T4 T5
Sağa kaydır
0 T0
b 1 T1
2 T2
3-Bit Counter 3 X 8 Counter
4 T3
5 T4
6 T5
26 A digital system has a clock generator that produces pulses at a frequency of 80 Mhz.Design a circuit that
provides a clock with a cycle time of 50 ns.
A B C E
D D D D
E’
C C C C
A B C D E Outputs
0 0 0 0 0 A’E’
1 0 0 0 0 A B’ Görüldüğü gibi 5 flip-flop’tan 10
1 1 0 0 0 B C’ farklı durum oluştu.
1 1 1 0 0 C D’
Show that a Johnson counter with n flip-flops produces a sequence of 2n
1 1 1 1 0 D E’ states.List the 10 states produced with five flip-flops and the Boolean
terms of each of the 10 AND gate outputs.
1 1 1 1 1 AE
0 1 1 1 1 A’B
0 0 1 1 1 B’C
0 0 0 1 1 C’D
0 0 0 0 1 D’E