

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


EE 231 Fall 2008
Homework 8 Due October 22, 2008
Left Turn Right Turn LC LB LA RA RB RC
R
R
R
L3 L
IDLE
L
LR
XXX
1XX
XXX
XXX XXX
01X
001
XXX
XXX
XXX
000
EE 231 Fall 2008
(a) Derive the state transition table for the circuit (b) Draw a state diagram for the circuit. (c) Write a Verilog program to implement the functionality of the circuit.
D Q
D Q
Q 1
Q 2
B^ Q 3
A
1
Z
D Q
Clock
Present Input Next Output State State A B x A B z 0 0 0 0 1 0 0 0 1 1 1 0 0 1 0 1 0 0 0 1 1 0 1 0 1 0 0 0 1 1 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 1 0 0
(a) Draw a state diagram for the system. (b) Write a Verilog program to implement the system.