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

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

View Full Document Right Arrow Icon
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 _______________________________
Background image of page 1

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

View Full DocumentRight Arrow Icon
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
Background image of page 2
Page: 3 Problem 2 (10 points): Von-Neumann model The following LC-3 program fragment, represented as three hexadecimal numbers, is stored in
Background image of page 3

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

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

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 Right Arrow Icon
Ask a homework question - tutors are online