Docsity

9 Questions for Assignment 8 - Background Study Digital Logic | ECE 349, Assignments of Electrical and Electronics Engineering

Toggle sidebar
bg1
ECE 349 Homework Assignment #8
Show your work! You will not receive full credit for the answer alone.
1. Design a counter that counts in the sequence: 101, 100, 011, 010, 001, 000, 101, ...
Use clocked D flip-flops. Draw the circuit diagram. What will happen if your counter
starts in an invalid state?
2. Repeat problem (1) using J-K flip-flops. You do not need to draw the circuit diagram.
3. Design a counter that counts in the sequence: 000, 010, 001, 100, 011, 110, 000, ...
Use clocked T flip-flops. Design your counter to go to state 000 from all invalid states.
There is no need to draw a circuit diagram.
4. Do problem 14.4 on page 380 of your text.
5. Do problem 14.7 on page 380 of your text.
6. (Optional, 2 points) Do problem 14.13 on page 381 of your text.
7. Design the state diagram for a Mealy-style clocked sequential network that investigates
an input sequence Xand will produce an output Z= 1 for any input sequences ending
in 1101 or 011. Example:
X=001101101011010
Z=000101101001010
8. A 1-block is a consecutive sequence of 1s bounded on the left by 0 or by the left
end of the sequence. Design a state table for a clocked sequential state machine that
investigates an input sequence and will produce an output Z= 1 coincident with an
input X= 0 that terminates a 1-block of even length (containing an even number of
1s). Example:
X=1101110010001101111010
Z=0010000000000010000100
9. (6 points) Design a clocked Mealy sequential network that investigates an input se-
quence Xand that will produce an output Z= 1 if the total number of 1s received is
even (consider zero 1s to be an even number of 1s) and the sequence 00 has occurred
at least once. The total number of 1s received includes those received before and after
00. Example:
X=10101001101
Z=00000001001
A minimum of six states is required. Design your network using NAND gates, NOR
gates, and three J-K flip-flops. Assign 000 to the start state.
pf2

Partial preview of the text

Download 9 Questions for Assignment 8 - Background Study Digital Logic | ECE 349 and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

ECE 349 Homework Assignment #

Show your work! You will not receive full credit for the answer alone.

  1. Design a counter that counts in the sequence: 101, 100, 011, 010, 001, 000, 101, ... Use clocked D flip-flops. Draw the circuit diagram. What will happen if your counter starts in an invalid state?
  2. Repeat problem (1) using J-K flip-flops. You do not need to draw the circuit diagram.
  3. Design a counter that counts in the sequence: 000, 010, 001, 100, 011, 110, 000, ... Use clocked T flip-flops. Design your counter to go to state 000 from all invalid states. There is no need to draw a circuit diagram.
  4. Do problem 14.4 on page 380 of your text.
  5. Do problem 14.7 on page 380 of your text.
  6. (Optional, 2 points) Do problem 14.13 on page 381 of your text.
  7. Design the state diagram for a Mealy-style clocked sequential network that investigates an input sequence X and will produce an output Z = 1 for any input sequences ending in 1101 or 011. Example:

X = 0 0 1 1 0 1 1 0 1 0 1 1 0 1 0 Z = 0 0 0 1 0 1 1 0 1 0 0 1 0 1 0

  1. A 1-block is a consecutive sequence of 1s bounded on the left by 0 or by the left end of the sequence. Design a state table for a clocked sequential state machine that investigates an input sequence and will produce an output Z = 1 coincident with an input X = 0 that terminates a 1-block of even length (containing an even number of 1s). Example:

X = 1 1 0 1 1 1 0 0 1 0 0 0 1 1 0 1 1 1 1 0 1 0 Z = 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0

  1. (6 points) Design a clocked Mealy sequential network that investigates an input se- quence X and that will produce an output Z = 1 if the total number of 1s received is even (consider zero 1s to be an even number of 1s) and the sequence 00 has occurred at least once. The total number of 1s received includes those received before and after
    1. Example:

X = 1 0 1 0 1 0 0 1 1 0 1 Z = 0 0 0 0 0 0 0 1 0 0 1

A minimum of six states is required. Design your network using NAND gates, NOR gates, and three J-K flip-flops. Assign 000 to the start state.