Question

Consider the following sequential circuit, which has no external inputs. REG3 is a 3-bit register. REG3 DO 00 00 DI 01 Q1 XOR

The following is an equivalent way of creating the circuit above.

D[2] DIUI D[O D Flip Flop Flip Flop sw_in on sw in sw in clock clock clock 0121 0111 Q[o]

Below is the truth table

Present State Q2 Q1 0 QO Next State D2 D1 0 DO 0 0 0 1 0 0 1 0 1 0 0 1 0 0 1 0 1 1 1 0 1 0 0 1 0 1 0 1 0 1 0 1 0 1 1 1 1 0 1

Q2, Q1, and Q0 are LED outputs from left to right respectively and D2, D1, and D0 are switches from left to right respectively

Answer the following questions:

1. What signal(s) represent the present state and next state of the circuit?

2. Sketch a Finite State Machine diagram of the circuit (Be sure to show inputs and outputs).

3. Describe the high-level behavior of the circuit (what does it do?)

4. Given the function of the circuit, what does the state of the circuit represent?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answer 1:

the signals that represent the present state.

(these are those signals which give the output of flip flop at the current clock cycle)

hence, Q0,Q1,Q2 are present state variables.

the next state variables are:

the variables that define what will be the next state of the FSM. when the next clock pulse arrives.

hence next state variables are D0,D1,D2

answer 2.)

outputs are given in state since its a moore machine. 000 111 there are no inputs except the clock. 001 110 101 010 100 011

answer 3:

the circuit has an output taken from

Q2,Q1,Q0.

from the table given and the state diagram we see that the value is binary is counting up. until it reaches 111 and then reverts back to 0 every time a clock pulse arrives.

hence the circuit is counting clock pulses. hence the circuit is an 3 bit Synchronous up counter.

answer 4:

the current state of the above circuit represents the number of clock cycles which has passed or supplied to the circuit in range from 0-7.

counting up.

hence the circuit is called an up counter.

Add a comment
Know the answer?
Add Answer to:
The following is an equivalent way of creating the circuit above. Below is the truth table...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT