thw_mod4_no4 - ECE 270 Introduction to Digital System...

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

View Full Document Right Arrow Icon
ECE 270 Introduction to Digital System Design Fall 2011 TakeHomaWork for Module 4 – Due October 21 1. [10 pts] Design a state machine that serves as a simple two-floor elevator controller. When the elevator is on floor one, the digit “1” should be output on a 7-segment display; when the elevator is on floor two, the digit “2” should be displayed. Input M should control the direction of the elevator: if M=0, the elevator should descend from floor two to floor one (and stay there once it reaches floor one); if M=1, the elevator should rise from floor one to floor two (and stay there once it reaches floor two). When the elevator is rising, the segments of the display should be sequenced in the order D G A (i.e., bottom middle top segment); when the elevator is descending, the segments of the display should be sequenced A G D (i.e., top middle bottom segment). The following diagram illustrates the desired mode of operation:
Background image of page 1

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

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

This note was uploaded on 02/12/2012 for the course ECE 270 taught by Professor Staff during the Spring '08 term at Purdue University-West Lafayette.

Page1 / 2

thw_mod4_no4 - ECE 270 Introduction to Digital System...

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

View Full Document Right Arrow Icon
Ask a homework question - tutors are online