lab6 - EE 271 Lab 6 Communicating Sequential Logic...

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

EE 271 Lab 6 Communicating Sequential Logic University of Washington - Department of Electrical Engineering Lab Objectives In the last lab we developed a single, simple FSM. Now we want to build a more complex system with multiple FSMs. Careful creation of a block diagram, and design and testing of each individual piece, will be key to getting this working well. Please note that this lab will take significantly more time than the previous labs you have done. So please start early, be methodical, and thoroughly test each individual FSM before connecting the FSMs together. Design Problem – Tug of War Sweat pouring from their brow, body straining, muscles pulsing back and forth, we have the epic conflict which is: Tug Of War! It’s time to update this rope-based team sport into an electronic analog of finger-pounding power! We’re going to build a 2-player game using the KEY[0] and KEY[3] buttons, and the leds from LEDG0 to LEDR8, skipping LEDR9, as the playfield. When the game starts, only the centermost LED is lit (LEDR0). Each time the green player presses the KEY[0] button, the light moves one LED right. Each time the red player presses the KEY[3] button, the light moves one LED to the left. If the light ever goes off the end of the playfield, the player that moved it off the end wins, and the HEX0 7-segment display shows 0 for green player, 3 for red player. You can use SW9 as the reset signal. If you try to design this as one big state machine, you will never get anything working. Instead, think about breaking it down into smaller pieces. We will help you with some ideas, but we STRONGLY advise putting together a block diagram of the system early in the design process. For this sequential logic, you may create FSMs in the style of lab #5.

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.

{[ snackBarMessage ]}

Page1 / 4

lab6 - EE 271 Lab 6 Communicating Sequential Logic...

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

View Full Document
Ask a homework question - tutors are online