Name:
ECE 201 Fall98 Quiz
3 Page 1 of 6
Feel free to pull the pages apart if it makes it easier to refer
to figures. Put your name on every loose page!!!
|
JA =A+B
KA = x'A
DB = S(0,3,5,6)
2.) Write the output Function:(4 pts)
Z = xB'
3.) Create the state table, including inputs and outputs(15pts)
| PS | Input | FF | Inp | NS | Output | |||
| A | B | X | JA | KA | DB | A | B | Z |
| 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 |
| 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
| 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 |
| 0 | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 |
| 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 |
| 1 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 |
| 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 |
| 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 |
|
Mealy- Output function Z is a function of the state variables (B')
AND the inputs (x)
For the State Diagram Below, and using only T Flip Flops:
|
| P. | S. | In | N. | S. | FF | In. | Out |
| A | B | X | A | B | TA | TB | Y |
| 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 |
| 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 |
| 0 | 1 | 0 | 1 | 0 | 1 | 1 | 1 |
| 0 | 1 | 1 | 0 | 1 | 0 | 0 | 1 |
| 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 |
| 1 | 0 | 1 | 0 | 1 | 1 | 1 | 0 |
| 1 | 1 | 0 | X | X | X | X | X |
| 1 | 1 | 1 | X | X | X | X | X |
|
|
| A | B | X | TA | TB | A | B |
| 1 | 1 | 0 | 1 | 0 | 0 | 1 |
| 1 | 1 | 1 | 1 | 1 | 0 | 0 |
10.) Fill in the line for Q in the timing diagrams below, assuming Rising-edge triggered Flip Flops, and all inputs high-active. You may assume Q is initially 0.(10 pts)
|
|
|