Unformatted text preview:

EE 231 Fall 2009EE 231Homework 8Due October 21, 20091. The tail lights on classic Ford Thunderbirds operated in segments, as shown below. For a leftturn, the sequence would be: no lights, then LA, then LA and LB, then LA and LB and LC,then back to no lights. When the Hazard switch was engaged, all six segments would turnon and off together. A state diagram for the system is shown. Write a Verilog program toimplement the T-bird tail lights. The inputs are (hazard, left turn, right turn). The outputsare the six light segments LA, LB, LC, RA, RB, RC. If the hazard switch is on (regardlessof the left or right switches), the system will go back and forth b e tween IDLE (no segmentson) and LR3 (all six segments on). The left-turn and right-turn sequences should be obviousfrom the state table. Write a Verilog program to implement the T-bird tail lights.Left Turn Right TurnLC LALB RA RB RCR1R2R3L3 L1IDLEL2LR3XXX1XXXXXXXX XXX01X001XXXXXXXXX0001EE 231 Fall 20092. Consider the circuit below. It has three inputs (A, B, and clock), and one output (Z). Atreset, the circuit starts with the outputs of all flip-flops at 0.(a) Is this a Mealy machine or a Moore machine?(b) Derive the state transition table for the circuit(c) Draw a state diagram for the circuit.(d) Write a Verilog program to implem ent the functionality of the circuit.RD QD QBA1ZD QClockRRRRRQ1Q2Q33. Consider the following state transition table:Present Input Next OutputStateStateA B x A B z0 0 0 1 1 00 0 1 0 0 00 1 0 0 0 00 1 1 1 1 01 0 0 0 1 01 0 1 0 0 11 1 0 0 0 11 1 1 1 0 0(a) Is this a Mealy machine or a Moore machine?(b) Draw a state diagram for the system.(c) Write a Verilog program to implement the


View Full Document

NMT EE 231 - EE 231 - Homework 8

Download EE 231 - Homework 8
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view EE 231 - Homework 8 and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view EE 231 - Homework 8 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?