1. This document describes a digital clock lab project to design a 24-hour format digital clock and demonstrate it using a Basys 3 board.
2. The clock will be built using a 1Hz clock signal from the board to count seconds and minutes and display the time.
3. An alarm will also be added that can be set using incrementing hour and minute inputs and will output when the running time matches the set alarm time.
Download as PPTX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
47 views
Digital Electronics Circuits Lab Project
1. This document describes a digital clock lab project to design a 24-hour format digital clock and demonstrate it using a Basys 3 board.
2. The clock will be built using a 1Hz clock signal from the board to count seconds and minutes and display the time.
3. An alarm will also be added that can be set using incrementing hour and minute inputs and will output when the running time matches the set alarm time.
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 5
Digital Electronics Circuits
Lab Project Name: Chalikonda Bhanu Deepak Roll No: 18EC01013 Group No: 06 Problem Statement
In this lab project, you are going to design a digital clock in 24
hour format and demonstrate the functionality using Basys 3 board. Solution: The steps that we are supposed to follow to get this are: 1. Make a 1Hz frequency clock from the internal clock present in Basys 3 board which has the frequency of the 100MHz. 2. Now this clock can be considered as seconds and count the seconds to get minutes. 3. Now count the minutes to obtain the hours. Additional Instructions The additional things that should be added is the Alarm in the digital clock. For this, the steps that should be followed is: 1. The alarm time should be set by using the incrementing hours and incrementing minutes as inputs. 2. When the running time matches the set alarm time, then there should be an output indicating that. Code of the Digital Clock The inputs that I want to consider in the coding are: 1. Clk_1sec→ The clock input with 1Hz frequency. 2. reset→ Used for resetting the time to 00:00:00. 3. alaram_set→ Used to control the alarm setting. 4. time_set→ Used to control the time setting. 5. alaram_ON→ Used to switch on the alarm. 6. inc_hr→ Used for incrementing hours while setting time & alarm. 7. inc_min→ Used for incrementing minutes while setting time & alarm. The outputs that should be appeared are: 1. seconds→ Represents the seconds of the running digital clock. 2. minutes→ Represents the minutes of the running digital clock. 3. hours→ Represents the hours of the running digital clock. 4. alaram_OUT→ Represenst whether the running time meets the set alarm time.