LAB 13 - SEQUENTIAL CIRCUIT

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/33

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

34 Terms

1
New cards

What is sequential state?

Can move from this state to another, or can stay at a state for a period of time.

2
New cards

How many types of sequential systems there are?

2 which are:

  • Mealy

  • Moore

3
New cards

What is a Mealy FSM?

Sequential CC in which the output depends on both the inputs and the present state.

There is a carry in during the transition from this state to the next state.

4
New cards

What is a Moore FSM?

Sequential CC in which the output depends on only the present state.

Each state has a fixed output regardless of how you construct that.

5
New cards

Comparison between Moore and Mealy.

  • Moore: more predictable since each state has fixed output. However, it could be slower since for 4 inputs, each input having 4 states. Therefore, we have to evaluate 16 states.

  • Mealy: faster, yet it is harder to predict since the O/P is not fixed. Furthermore, a new carry bit added can affect the whole system.

6
New cards

What is synchronous sequential system?

A sequential system depends on a specific signal to change states, e.g: clock.

7
New cards

What is asynchronous sequential system?

No need to depend on signal to change state.

8
New cards
9
New cards
<p>Whose state table is this?</p>

Whose state table is this?

Mealy.

10
New cards
<p>Whose state table is this?</p>

Whose state table is this?

Moore.

11
New cards
<p>In this <strong>state table</strong> of <strong>Mealy</strong>, why <strong>cell</strong> of the <strong>first row</strong> at <strong>column ‘11’</strong> has <strong>“S1, 0”</strong>?</p>

In this state table of Mealy, why cell of the first row at column ‘11’ has “S1, 0”?

  • x1 + x2 (1 + 1) = 0 → sum = 0 and has a carry of 1.

  • Since there is a carry, the state changes from S0 to S1 (S1 is a state of having a carry to be input into the next state).

12
New cards
<p>In this state table of Mealy, why <strong>cell</strong> of the <strong>second row</strong> at <strong>column ‘11’</strong> has <strong>“S1, 1”</strong></p>

In this state table of Mealy, why cell of the second row at column ‘11’ has “S1, 1”

  • x1 + x2 = 1. Yet, since there is Cout from previous state being Cin of this present state → x1 + x2 + Cin = 1 with a carry of 1.

  • Since there is a carry, the state will become S1 (has a carry).

13
New cards

How can carry out be calculated?

(A AND B) OR (A AND Cin) OR (B AND Cin).

14
New cards

How is an addition performed?

A XOR B XOR Cin.

15
New cards
<p>In this <strong>state table</strong> of <strong>Moore</strong>, what does “<strong>S11</strong>” stand for?</p>

In this state table of Moore, what does “S11” stand for?

S11 has 2 digits:

  • First digit ‘1’ means that there is a carry of 1.

  • Second digit ‘1’ means that there is a sum of 1.

16
New cards
<p>In this <strong>state table</strong> of <strong>Moore, </strong>how can a <strong>state</strong> at a <strong>column of a combination</strong> of inputs <strong>determined</strong>?</p>

In this state table of Moore, how can a state at a column of a combination of inputs determined?

  • Sum is determined by x1 XOR x2 XOR Cin. Where x1 and x2 are inputs from the corresponding column, while Cin is got from the corresponding row (PS column).

17
New cards
<p>In this <strong>state table</strong> of <strong>Moore, </strong>how can<strong> output column</strong> determined?</p>

In this state table of Moore, how can output column determined?

Output column is the sum corresponding to the state in the same row at the PS column since in Moore, output is not affected by inputs but just state.

18
New cards

What does “bistable” means?

A logical device that has 2 stable states, which are ‘0’ and ‘1’. It can indefinitely stay in that state until you flip it.

19
New cards

How many output gates do a memory device has?

There are 2:

  • Q: output gate.

  • Q’: compliment output gate.

20
New cards

How many types of bistable devices are there?

There are 2:

  • Flip flop: synchronous sequential system.

  • Latch: asynchronous sequential system.

21
New cards

What is a RS Latch?

It depends on 2 inputs ‘S’ and ‘R"‘.

  • S’ = 0 and R’ = 1 → set → Q = 1 and Q’ = 0.

  • S’ = 1 and R’ = 0 → reset → Q = 0 and Q’ =1

  • S’ = 0 and R’ = 0 → Q = 0 and Q’ = 0

  • S’ = 1 and R’ = 1 → Q = latch and Q’ = latch

22
New cards

When happens to the outputs of RS Latch if both S and R = 0?

Q = latch and Q’ = latch.

23
New cards

What is a D Latch?

Characteristic equation: D = Q.

Output is the same as input captured.

<p>Characteristic equation: <strong>D = Q</strong>.</p><p>→ <strong>Output</strong> is the <strong>same</strong> as<strong> input</strong> captured.</p>
24
New cards

What is a RS flip flop?

  • Has 2 inputs R and S which control.

  • If R = 0 → reset → Q = 0 and vice versa.

  • If both R and S = 1 → forbidden state.

  • If both R and S = 0 → no change.

25
New cards

Truth table of a RS flip flop?

knowt flashcard image
26
New cards

What is a JK flip flop?

  • Depends on J (Jack) and K (Kill)

  • J = 0 → set → Q = 1 and vice versa.

  • Both J, K = 0 → no change.

  • Both J, K = 1 → toggle → Q = Q’ and Q’ = Q.

27
New cards

What is T flip flop?

  • Depends on an input T.

  • If T = 0 → no change.

  • If T = 1 → toggle → Q = Q’ and Q’ = Q.

28
New cards

Truth table of a JK flip flop?

knowt flashcard image
29
New cards

Truth table of a T flip flop?

knowt flashcard image
30
New cards

What is a D flip flop?

  • Depends on D - a source of input.

  • Whenever meet a new rising edge, flip flop will capture the value of D at that current moment.

31
New cards

Truth table of a D flip flop?

knowt flashcard image
32
New cards

What are those flip flops that do not depend on a synchronous signal?

D and RS

33
New cards

What are those flip flops that depend on a synchronous signal?

JK and T

34
New cards