数字逻辑_chapter3_答案

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

C HAPTER 3 Exercise 3.1

Exercise 3.3

Exercise 3.5

Exercise 3.7

The circuit is sequential because it involves feedback and the output de-pends on previous values of the inputs. This is a SR latch. When S = 0 and R = 1, the circuit sets Q to 1. When S = 1 and R = 0, the circuit resets Q to 0. When both S and R are 1, the circuit remembers the old value. And when both S and R are 0, the circuit drives both outputs to 1.

Exercise 3.9

Exercise 3.11

If A and B have the same value, C takes on that value. Otherwise, C retains its old value.

Exercise 3.13

Exercise 3.15

Exercise 3.17

If N is even, the circuit is stable and will not oscillate.

Exercise 3.19

The system has at least five bits of state to represent the 24 floors that the elevator might be on.

Exercise 3.21

The FSM could be factored into four independent state machines, one for each student. Each of these machines has five states and requires 3 bits, so at least 12 bits of state are required for the factored design.

Exercise 3.23

This finite state machine asserts the output Q when A AND B is TRUE.

10

S000

S101

S210

TABLE 3.1State encoding for Exercise 3.23

1010

000X000

001X010

01X0000

01X1100

1011101

1000000

1001000

1010000 TABLE 3.2Combined state transition and output table with binary encodings for Exercise 3.23

=

S'1S1S0B S1AB

+

=

S'0S1S0A

=

Q'S1AB

Exercise 3.25

s t a t e e n c o d i n g

s1:0

S0000

S1001

TABLE 3.3State encoding for Exercise 3.25

10

S2010

S3100

S4101

TABLE 3.3State encoding for Exercise 3.25

210210

00000000 00010010 00100000 00110100 01001000 01011010 10000000 10010011 10101001 10111010 TABLE 3.4Combined state transition and output table with binary encodings for Exercise 3.25

=

S'2S2S1S0S2S1S0

+

=

S'1S2S1S0A

=

()

+

S'0A S2S0S2S1

=

Q S2S1S0A S2S1S0A

+

Exercise 3.27

FIGURE 3.1

20

20

000001001011011010010110110111111101101100100

000

TABLE 3.5State transition table for Exercise 3.27

S '2S 1S 0S 2S 0+=S '1S 2S 0S 1S 0+=S '0S 2S 1 =Q 2S 2=Q 1S 1=Q 0S 0

=

FIGURE 3.2Hardware for Gray code counter FSM for Exercise 3.27

Exercise 3.29

(a)

FIGURE 3.3Waveform showing Z output for Exercise 3.29

(b) This FSM is a Mealy FSM because the output depends on the current value of the input as well as the current state.

相关文档
最新文档