Implement the functionality for a simple stopwatch interface

Assignment Help Other Subject
Reference no: EM133680178

Assignment - Digital Stopwatch

For this assignment, you are going to implement the functionality for a simple stopwatch interface as shown above. The interface itself is already provided as a Logisim file named main.circ .

Your assignment must be built using this file as the interface. Failure to do so will result in no marks for Completeness of Solution

You are encouraged to use multiple circuits to implement specific components however your whole circuit must be operable and displayed using the buttons and display components in this file. That is, your solution should not require any additional interface components (e.g., buttons, displays, pins etc) in order to test the functionality of your circuit.

Logisim Version
Your assignment must be implemented using Logisim Evolution 3.8.0, which can be downloaded

This is the version we will test with, and we will not be using any other version, or making special accommodations. If your solution is incompatible with ours, it will not be able to be tested and thus will be ineligible for most marks on offer.

You can verify that your version is correct by loading the provided main.circ file with the interface as shown above.
Allowable Logisim Components
Only the following components may be used to develop your solution:
Logic Gates: any
Flip Flops: JK, D, S-R, T
LEDs
Clock (only one)
Hex Digit Display (already provided in interface)
Buttons (already provided in interface)

Pins (for connecting circuits)
Constants (for setting inputs that will not change)
Splitter (everywhere, please)
The use of any other components will be penalised - in particular, you must not use any pre-built circuits such as registers, shift registers, etc).

Implementation Stages
To break the problem down, you will implement the functionality of the stopwatch in stages. Each stage has a percentage weighting of marks contributing to the overall total of 100% You should implement each stage in order, and upon completion of each stage, save your file using the naming convention: stageX.circ.
This assignment will take a long time to complete in full. You should start early and work methodically through each stage. Note however that a good mark for this assignment does not require all stages being complete. In particular, Stages 5 and 6 are considered more advanced,

Stage 1: Implement the Start/Stop button
Using the Start/Stop button provided in main.circ, wire up a simple circuit that toggles between the
Start and Stop states every time the button is clicked. Your solution should:
Use the "Clock Started" LED and ensure it is turned on when the Stopwatch is in the Start state, and off when in the Stop state,
Make use of a Flip Flop to keep track of the current state.

Stage 2: Implement a single digit "Seconds" display
This stopwatch will provide 1 second precision, and so needs to display the number of seconds that have elapsed since the Start button was pressed. As such, this will require the implementation of a counter. You will start by implementing a single digit "Seconds" counter for the units column of the "Seconds" display. That is, a counter that increments the "Seconds" display by 1s every clock tick, between "0" and "9". Specifically:
Replace your flashing LED in Stage 1 with a counter that keeps track of the number of
"seconds" (in increments of 1s, between 0s and 9s).
The "Seconds" display should start from "00" when the Start/Stop button is first pressed
The "Seconds" display should Stop when the Start/Stop button is pressed in the Start state.
The "Seconds" display should resume counting when the Start/Stop button is pressed in the Stop state
Your circuit should explicitly ensure no illegal values are displayed (e.g., no hex values displayed)
For this stage you can assume a single clock pulse equals 1s, and the display will only show the units column in seconds. As such, your "Seconds" display should only show values: "00, 01, 02, 03, 04, 05 ...09", and then wrap back to "00".

Stage 3: Implement the full two-digit "Seconds" display
You're now going to implement full "Seconds" display for your stopwatch. Modify your circuit so that:

the seconds display now shows "Seconds" in 1s increments using both the units and tens column. That is, the display will now show values: "00, 01, 02 .... 57, 58, 59", and then wrap
back to "00".
the display resets to all zeros whenever the Reset button is clicked, and enters the Stop state (i.e., the Elapsed Time remains 00:00).
Your circuit should explicitly ensure no illegal values are displayed (e.g., no hex values displayed or digits above "5" in the tens column, etc).

Stage 4: Implement the "Minutes" display
In this stage you will implement the remaining time display components (i.e., "Minutes"). These are described in two sub-stages below. Implement a "Minutes" display using the two hex digit displays labelled "Minutes". Specifically, your "Minutes" display should:
display decimal values only from "00:00" to "99:59", and then wrap back to "00:00" (no hex values should appear)
only increment when the "Seconds" display is wrapping back to "00" (and this should be at the same time).
ensure the Start/Stop and Reset buttons work for the "Minutes" display as they do for the
"Seconds" display.

Stage 5: Implement the "Split" button
Most stop watches provide a "Split" button that allows intermediate times (i.e., lap times) to be recorded and displayed. In this stage you will implement the "Split" display. For this you will use the second "Split Time" display as shown on the Interface above to show the stopwatch time at the time the "Split" button is pressed.
Specifically, your circuit should:
display the elapsed time on the "Split Time" display at the moment when the "Split" button is
pressed, and only when the stopwatch is not in the Stop state
Ensure the displayed "Split" time remains displayed and unchanged until the next time "Split" is pressed, or the "Reset" button is pressed.
If the Reset button is pressed, the "Split" Time display should read "00:00"
Note that the "Split" button should not impact the "Elapsed Time" display. It should continue to
count as normal.

Stage 6: Implement multi-"Split" time recording
It is often useful to be able to see each "Split" time recorded (e.g., the time of each lap completed) upon completion of a timed activity. In this stage you will implement the logic required to record up to 5 separate "Split" times during a single timed activity.
When the stopwatch is active (i.e., not in the Stop state), your circuit should:
record the current "Split" time when the "Split" button is pressed
ensure up to the last 5 split times remain recorded (if more than 5 split times are recorded, it should forget the earliest split time to make room).

It must use Flip Flops to implement the storage.
Ensure the most recent split time is displayed on the "Split Time" display at all times
Set all recorded split times to 0 when the Reset button is pressed

Provide Hex Digit Displays to verify the contents of each time being stored (this should be separate from the main interface but obvious for markers to find).

When the stopwatch is in the Stop state (i.e., not currently timing an activity:

Ensure the most recent split time is displayed in the "Split Time" display at the moment the Stop state is entered.

Reference no: EM133680178

Questions Cloud

Currently regarding online retail industry : Currently regarding the online retail industry, apart from Amazon, we know Alibaba Group, Walmart, eBay and Walmart.
Discuss the impact of stress on eating behaviors : Discuss the impact of stress on eating behaviors, such as emotional eating or unhealthy food choices, and explore strategies for promoting mindful eating.
What is market segmentation in marketing : What is market segmentation in marketing? How do companies use data in the different zip codes for marketing purposes?
How does your role as the dnp-prepared nurse contribute : What is the difference between a gap in practice and a practice change? How does your role as the DNP-prepared nurse contribute to meeting a stakeholder need?
Implement the functionality for a simple stopwatch interface : Implement the functionality for a simple stopwatch interface as shown above. The interface itself is already provided as a Logisim file named
How much of the transport serviced departments variable cost : how much of the transport serviced departments variable cost should be charged to each plant? how much of the transport service department's fixed cost should b
How the aacn dnp essentials will relate to the completion : Explain how the AACN DNP Essentials will relate to the completion of a Practicum/Field Experience. Be specific.
Establish culture of ethical behavior : You are opening your own small business and want to establish a culture of ethical behavior.
Discuss what symptoms are associated with hypersensitivity : Discuss what symptoms are associated with hypersensitivity and anaphylaxis. How will the nurse differentiate these from other conditions or issues?

Reviews

len3680178

4/21/2024 11:47:09 PM

Also I need audio. How does this work , why is it used here and what to expect from it, and what challenges faced during completing project

Write a Review

Other Subject Questions & Answers

  Describe how law or policy from the federal

Think about your agency setting and describe how a law or policy from the federal, state or local level would impact a family having mixed immigration status.

  Describe what life span considerations you might use

Describe what life span considerations you might use in applying the nursing process to infants, school-age children, younger adults, and older adults.

  What are the pros of insisting that the entire family attend

What would you do if you learned that some of the family members refused to engage in therapy stating that the presenting problem, a recent traumatic event

  Why intelligence officials called zarqawi terrorist attacks

Explain why intelligence officials and terrorism experts called the Zarqawi terrorist attacks cunning and "brilliant strategy." Explain how the President's statements on the deck of the aircraft carrier USS Abraham Lincoln affected.

  How data used to aid in problem solving in criminal justice

Explain why this data is important and how it might be used to aid in problem solving in criminal justice.

  Identify significant specific instances

1. America's Founding Fathers identified themselves as elites requiring protection against majority factions. Were they more concerned about overreaching govern

  Separation and black power jones tried to depict

With all of this being said, do you think the style of the play worked to show the separation and black power Jones tried to depict?

  What group do viruses belong to?

What group do viruses belong to? Do they belong to the category of bacteria, archaea, or protists? Which shape has? How is your activity?

  What age should children be encouraged to read huck finn

Create a thread in which you give your opinions on these questions. There are no right or wrong answers here, but you need to address both parts

  Police patrolling the streets decrease criminal activity

Does increasing the number of police patrolling the streets decrease criminal activity?

  What is your analysis of the situation at adhikari

Based on the data provided in the case, what's your analysis of the situation at Adhikari? Is the organization in trouble? If so, how big is the problem?

  What impact did the behavior have on the around

How the person behaved, using specifics from one of the "difficult" personality types in the article. What impact did the behavior have on those around them?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd