Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

There are two teams: Home ( H ) , and Away ( A ) . Reset switch can be used to start the game. The

There are two teams: Home (H), and Away (A). Reset switch can be used to start the game. The current score for each team will be shown on two displaysegments starting with 00. Each team will be given 5 seconds in order to try scoring points. A countdown will appear on displaysegment 4 starting from 5 reaching to 0. The two teams cant play simultaneously. H plays first then A gets the turn then H again. When it is team H turn, LEDR1 will be on and LEDR2 will be off. On the other hand, when it is team A turn, LEDR2 will be on and LEDRR1 will be off. In each attempt, the team may score 0,1,2, or 3 points. The attempt score will be inserted by turning on one of the score switches for that team. For example, team H inserted score can be 0,1,2, or 3 by turning on sw1, sw2, sw3, or sw4, respectively. In the same way, team A points can be inserted during it attempt through switches sw5, sw6, sw8, or sw9. Each attempts scored points will be added to the teams total score. Team H score will be shown using displays 0 and 1 while team A score will be shown using displays 2 and 3. If the countdown ends before inserting a score, the turn will simply move to the other team. Please note that turning on a score switch for a team outside its attempt time wont be counted and itsscore will not be changed. In this project you can consider that the maximum score any team can reach is 15. During the game, LEDG1 will be 1 if team H is winning while LEDG2 will be on if team A is winning.If the result is a tie, both LEDS go off. We assume that the user may switch on one score switch only during each attempt. You may need to use the clock from experiment 8 in order to calculate the required delays. Example: The user turns on the reset switch and both teams start with 00 score with both LEDG1 andLEDG2 are off. The first attempt is given to team H and the countdown display will count from 5 to 0 while LEDR1 is on. During the countdown sw3 will be turned on and two points will be added to the team H score to be 02. Moreover, LEDG1 will be on as team H is winning. Next, the turn goes to team A and hence the countdown display starts counting again from 5 to 0 with LEDR1 goes off and LEDR2 goes on. A3 sw9 is turned on before the countdown ends. As a result, three points will be added to team A score to become 03. LEGR2 will be on and LEDG1 will be off as team A is winning. The attempt is now returns to team H. However, the countdown reaches 0 while no score switch is turned on. As a result, the score will not change and the attempt goes back to team A Try to design all circuit by using basic things like decoder ,encoder multiplexer ,regesters and it is required to use FBGA as a pic .
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

JDBC Database Programming With J2ee

Authors: Art Taylor

1st Edition

0130453234, 978-0130453235

Students also viewed these Databases questions

Question

c. What groups were least represented? Why do you think this is so?

Answered: 1 week ago