The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 2 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
Please make verilog code following the pdf file. The code a Verilog model to implement an alarm clock as described in this document.
The objective of this lab is to apply your Verilog coding skills to something somewhat useful.For this lab, you will code a Verilog model to implement an alarm clock as described in thisdocument.Design Specifications for the Alarm ClockTime should be displayed on the 4-digits of the 7-segment display.oThe left two digits will be the hour and the right two digits will display the minutes.oThe decimal point between the left two digits and the right two digits should always beon so as to visually separate the hours from the minutes.oHours will be displayed in “military time” (meaning 00 through 23).oWhenever the “alarm set” switch is on (SW12), the 4-digit 7-segment display shoulddisplay the alarm setting rather than the current time.oWhenever the “alarm clear” button (BTNC) is pressed, the 4-digit 7-segment displayshould display the first 4 characters of your last name again rather than the time.NOTE: If your last name contains fewer than 4 characters, the unused characters inthe display may remain blank.BTNC takes priority over SW12 meaning that if it is pressed at the same time thatSW12 is active, the display should display the first 4 characters of your last nameTiming / Clock generationoThe alarm clock should be accurate. Divide down the 100MHz clock at pin W5 asnecessary to achieve this.oLED15 should continually count the seconds by blinking at a 1 second interval (on forhalf a second, off for half a second).Switch functionsoSW14 will act as a reset. Both the time and the alarm time should be reset to zero ifSW14 goes active. SW14 has priority over any other switchoSW13 is the “time set” switch. When it is on, the display freezes at whatever the timewas when the button was pushed, and by pressing switches 1 and 0 at this time one canset the time to a new value.oSW12 is the “alarm set” switch. When it is on, the display shows whatever value thealarm is currently set to (which should be 00.00 after reset) and can be adjusted withswitches 1 and 0 as described below.oSW11 is the “alarm activated” switch. It must be on in order for an alarm to occur.oSW10 is a 128x speed demo/debug mode. In this setting the minutes will increment atapproximately a half second speed.oSW1 – When either SW13 or 14 are active, this switch causes the hours characters tocount up at about a half second rate so that one can set the hours on the clockoSW0 - When either SW13 or 14 are active, this switch causes the minutes characters tocount up at about a half second rate so that one can set the minutes on the clock
Attachments:
-----------