18
SIMON Presented By: Amanda Buczkowski James Jenkins Fadi Hanna

SIMON Presented By: Amanda Buczkowski James Jenkins Fadi Hanna

Embed Size (px)

Citation preview

Page 1: SIMON Presented By: Amanda Buczkowski James Jenkins Fadi Hanna

SIMON

Presented By:Amanda Buczkowski

James JenkinsFadi Hanna

Page 2: SIMON Presented By: Amanda Buczkowski James Jenkins Fadi Hanna

HOW DO YOU PLAY THE GAME:

1. Flip switch one to reset the game.

2. Push button 1 to start a game.

3. In level one, a random LED between 5 and 8 will light, delay, and then turn off. The player must press the corresponding button.

4. The game then moves on to level two where two random LED’s will light and the playermust press the buttons in that sequence. A correct answer will light LED’s 5-8 , and an incorrect answer will light LED’s 1-4.

5. The process of following the sequence with the corresponding button will continue untilthe fourth and final level is reached UNLESS at anytime during the game a wrong button ispushed. This will terminate the game, and cause the player to reset and start over.

Page 3: SIMON Presented By: Amanda Buczkowski James Jenkins Fadi Hanna

switches

7-segment displaysLEDs

pushbuttons

Page 4: SIMON Presented By: Amanda Buczkowski James Jenkins Fadi Hanna

Correct ChoiceIncorrect Choice

1st Button to Start the Game

1st switch to reset the game

THEN, ALL 8 LEDS WILL LIGHT AFTER ALL 4 LEVELS HAVE BEEN SUCCESSFULLY COMPLETED

Page 5: SIMON Presented By: Amanda Buczkowski James Jenkins Fadi Hanna

ReturnStack

RmuxPmux

PCclrclk

pload

pinc

IRclrclkirload

W8Y_rom

W8Y_control

plus1

R

DS

Rin

R T

P

Pin

M

M P1

R

M

SW(1:8)

LDreg

LD(1:8)

T

ldloadclkclr

step_display

A(3:0) AtoG(6:0)

clk

clr

TN

BTN(1)

BTN(4)

clr

step

The W8YMicrocontroller

clkclr

rpop

rpush

psel rinsel

dssel(1:0)

rload

rdec

rsel

T

icode

E

BTN(1:4)

DataStack_ALUclkclr

dpop

dpush

ssel

nloadnsel

tload

tsel(1:0)

alusel(3:0)

T

0 11

1

0

0 2 3DSmux

Button clrclk

clr

clkRandom

BTN

Pushed

THE WHITE WORDS AND THE RED BLOCKS ARE THE EXTRAS WE ADDED TO OUR PROJECT, EVERYTHING ELSE IS SAME AS LAB 9

SW1

SW4

Page 6: SIMON Presented By: Amanda Buczkowski James Jenkins Fadi Hanna

This is the BUTTON.VHD file we created

Page 7: SIMON Presented By: Amanda Buczkowski James Jenkins Fadi Hanna

This is part one for the RANDOM.VHD

Page 8: SIMON Presented By: Amanda Buczkowski James Jenkins Fadi Hanna

This is part two for the RANDOM.VHD

Page 9: SIMON Presented By: Amanda Buczkowski James Jenkins Fadi Hanna

This is the main program (PROJECT.VHD)

Page 10: SIMON Presented By: Amanda Buczkowski James Jenkins Fadi Hanna

This is the instructions we added for the W8Y_CONTROL

Page 11: SIMON Presented By: Amanda Buczkowski James Jenkins Fadi Hanna

This is the instructions we added for the W8Y_CODES

Page 12: SIMON Presented By: Amanda Buczkowski James Jenkins Fadi Hanna
Page 13: SIMON Presented By: Amanda Buczkowski James Jenkins Fadi Hanna
Page 14: SIMON Presented By: Amanda Buczkowski James Jenkins Fadi Hanna
Page 15: SIMON Presented By: Amanda Buczkowski James Jenkins Fadi Hanna
Page 16: SIMON Presented By: Amanda Buczkowski James Jenkins Fadi Hanna
Page 17: SIMON Presented By: Amanda Buczkowski James Jenkins Fadi Hanna
Page 18: SIMON Presented By: Amanda Buczkowski James Jenkins Fadi Hanna