Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The purpose of this project is to design a basketball scoreboard system. The designed system has the following specification There are two teams: Home (

The purpose of this project is to design a basketball scoreboard system. The designed system has the following specification 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 display segments starting with 00.
Each team will be given 5 seconds in order to try scoring points. A countdown will appear on display segment 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 its score 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 and LEDG2 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.
1
Figure 1. Prayers track system
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_2

Step: 3

blur-text-image_3

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

Modern Database Management

Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi

13th Edition Global Edition

1292263350, 978-1292263359

More Books

Students also viewed these Databases questions

Question

4. Make sure students know if and when guessing is appropriate.

Answered: 1 week ago

Question

I don't understand this is their anyway

Answered: 1 week ago

Question

Explain the concept of equal employment opportunity.

Answered: 1 week ago

Question

Explain the various job analysis methods.

Answered: 1 week ago

Question

Describe the components of a job description.

Answered: 1 week ago