monday_written (1)

# monday_written (1) - ECE 190 Midterm Exam 2 Spring 2011...

This preview shows pages 1–4. Sign up to view the full content.

ECE 190 Midterm Exam 2 Spring 2011 Monday, March 14, 2011 Attach label here Workstation #: Be sure your exam booklet has 9 pages. Do not tear the exam booklet apart; you can only detach pages 8 and 9. This is a closed book exam. You may not use a calculator. You are allowed two handwritten 8.5 x 11" sheets of notes. Absolutely no interaction between students is allowed. Be sure to clearly indicate any assumptions that you make. Don’t panic, and good luck! Problem 1 10 points _______________________________ Problem 2 10 points _______________________________ Problem 3 5 points _______________________________ Problem 4 5 points _______________________________ Problem 5 10 points _______________________________ Total 40 points _______________________________

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Page: 2 Problem 1 (10 points): FSM Design FSM and combinational circuit necessary to implement the FSM logic for controlling 4-state traffic light. A four-state traffic light displays traffic signals in the following order: 1) Red, 2) Red & Yellow, 3) Green, 4) Yellow. Part A (3 points): Draw state diagram. State 00 in which Red light is ON is pre-filled as an example. Assume that transition between states is triggered by an internal timer, thus no external inputs are used. Red ON 00 01 10 11 Part B (4 points): Fill in state transition and output truth tables. Present state Next state Output S 1 present S 0 present S 1 next S 0 next Red Yellow Green 0 0 0 1 1 0 1 1 Part C (3 points): Using Programmable Logic Array below, design combinational logic circuit that implements the 4-state traffic light controller logic. S 0 next S 1 next Red Yellow Green S 0 present S 1 present
Page: 3 Problem 2 (10 points): Von-Neumann model The following LC-3 program fragment, represented as three hexadecimal numbers, is stored in

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 03/08/2012 for the course ECE 190 taught by Professor Hutchinson during the Spring '08 term at University of Illinois, Urbana Champaign.

### Page1 / 9

monday_written (1) - ECE 190 Midterm Exam 2 Spring 2011...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online