資源簡介
設(shè)計一個多功能數(shù)字時鐘,具有以下幾個功能:
2.1 記時、記分、記秒
計秒:1hz計數(shù)脈沖,0-59循環(huán)計數(shù),計數(shù)到59時產(chǎn)生進位信號。
計分:以秒計數(shù)器進位信號作為分計數(shù)脈沖,0-59循環(huán)計數(shù),59時產(chǎn)生進位。
計時:以分計數(shù)器進位信號作為時計數(shù)脈沖,0-23循環(huán)計數(shù),23時清零。
2.2 校時、校分、秒清0
利用按鍵開關(guān)快速調(diào)整時間:時、分
按下時鍵,時位迅速遞增,滿23清0;
按下分鍵,分位迅速遞增,滿59清0;
按reset鍵,將時分秒進行清0。
消抖功能 :一次按鍵時的彈跳現(xiàn)象,通常實驗板上的脈沖按鍵所用的開關(guān)為機械彈性開關(guān),由于多個機械觸點的作用,按鍵開關(guān)在閉合時不能馬上接通,而斷開時又不能立即彈開,導(dǎo)致開關(guān)通斷瞬間伴隨一系列的電壓抖動,從而出現(xiàn)“一次按鍵,多次隨機技術(shù)”的現(xiàn)象,嚴(yán)重影響了時間校對的準(zhǔn)確性。可利用D觸發(fā)器來消抖。
2.3 秒表功能
通過開關(guān)控制秒表的開始和結(jié)束。
2.4 倒計時功能
通過按鍵開關(guān)設(shè)定倒計時的時間,通過開關(guān)啟動倒計時,倒計時為0時發(fā)出提示音,提示音長度為1分鐘
2.5 鬧時功能
通過按鍵開關(guān)設(shè)定鬧鈴時間,到了設(shè)定時間發(fā)出提示音,提示音長度為1分鐘。到鬧鐘時刻揚聲器會進行高音響鈴,同時能進行正常的時、分、秒計時,分別用6個七段數(shù)碼管動態(tài)掃描顯示時、分、秒的十位和個位。

代碼片段和文件信息
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????1068544??2019-04-12?15:27??數(shù)邏課設(shè)\數(shù)字邏輯課程設(shè)計.doc
?????目錄???????????0??2018-08-20?18:12??數(shù)邏課設(shè)\
?????文件????????7037??2018-01-18?09:44??數(shù)邏課設(shè)\CLOCK.asm.rpt
?????文件???????68466??2018-01-18?10:04??數(shù)邏課設(shè)\CLOCK.bdf
?????文件??????????26??2018-01-18?09:45??數(shù)邏課設(shè)\CLOCK.done
?????文件?????????239??2018-01-17?21:10??數(shù)邏課設(shè)\CLOCK.dpf
?????文件??????139329??2018-01-18?09:44??數(shù)邏課設(shè)\CLOCK.fit.rpt
?????文件?????????411??2018-01-18?09:44??數(shù)邏課設(shè)\CLOCK.fit.smsg
?????文件?????????405??2018-01-18?09:44??數(shù)邏課設(shè)\CLOCK.fit.summary
?????文件????????7376??2018-01-18?09:45??數(shù)邏課設(shè)\CLOCK.flow.rpt
?????文件???????32342??2018-01-18?09:44??數(shù)邏課設(shè)\CLOCK.map.rpt
?????文件?????????312??2018-01-18?09:44??數(shù)邏課設(shè)\CLOCK.map.summary
?????文件???????40295??2018-01-18?09:44??數(shù)邏課設(shè)\CLOCK.pin
?????文件??????524474??2018-01-18?09:44??數(shù)邏課設(shè)\CLOCK.pof
?????文件????????1265??2018-01-15?08:40??數(shù)邏課設(shè)\CLOCK.qpf
?????文件????????4568??2018-01-18?09:42??數(shù)邏課設(shè)\CLOCK.qsf
?????文件?????????887??2018-01-18?10:04??數(shù)邏課設(shè)\CLOCK.qws
?????文件??????281508??2018-01-18?09:44??數(shù)邏課設(shè)\CLOCK.sof
?????文件???????35799??2018-01-15?11:02??數(shù)邏課設(shè)\CLOCK.sta.rpt
?????文件?????????692??2018-01-15?11:02??數(shù)邏課設(shè)\CLOCK.sta.summary
?????文件??????168085??2018-01-18?09:44??數(shù)邏課設(shè)\CLOCK.tan.rpt
?????文件????????1972??2018-01-18?09:44??數(shù)邏課設(shè)\CLOCK.tan.summary
?????文件???????43757??2018-01-15?19:08??數(shù)邏課設(shè)\CLOCK_assignment_defaults.qdf
?????文件????????1956??2018-01-17?09:44??數(shù)邏課設(shè)\clock24.bsf
?????文件????????1030??2018-01-17?10:14??數(shù)邏課設(shè)\clock24.vhd
?????文件????????1029??2018-01-17?09:44??數(shù)邏課設(shè)\clock24.vhd.bak
?????文件????????2331??2018-01-17?09:45??數(shù)邏課設(shè)\clock60.bsf
?????文件????????1494??2018-01-17?09:43??數(shù)邏課設(shè)\clock60.vhd
?????文件????????1482??2018-01-17?09:42??數(shù)邏課設(shè)\clock60.vhd.bak
?????文件????????1964??2018-01-15?19:36??數(shù)邏課設(shè)\clock_10.bsf
?????文件?????????662??2018-01-15?19:36??數(shù)邏課設(shè)\clock_10.vhd
............此處省略122個文件信息
-----------?---------??----------?-----??----
?????文件?????1068544??2019-04-12?15:27??數(shù)邏課設(shè)\數(shù)字邏輯課程設(shè)計.doc
?????目錄???????????0??2018-08-20?18:12??數(shù)邏課設(shè)\
?????文件????????7037??2018-01-18?09:44??數(shù)邏課設(shè)\CLOCK.asm.rpt
?????文件???????68466??2018-01-18?10:04??數(shù)邏課設(shè)\CLOCK.bdf
?????文件??????????26??2018-01-18?09:45??數(shù)邏課設(shè)\CLOCK.done
?????文件?????????239??2018-01-17?21:10??數(shù)邏課設(shè)\CLOCK.dpf
?????文件??????139329??2018-01-18?09:44??數(shù)邏課設(shè)\CLOCK.fit.rpt
?????文件?????????411??2018-01-18?09:44??數(shù)邏課設(shè)\CLOCK.fit.smsg
?????文件?????????405??2018-01-18?09:44??數(shù)邏課設(shè)\CLOCK.fit.summary
?????文件????????7376??2018-01-18?09:45??數(shù)邏課設(shè)\CLOCK.flow.rpt
?????文件???????32342??2018-01-18?09:44??數(shù)邏課設(shè)\CLOCK.map.rpt
?????文件?????????312??2018-01-18?09:44??數(shù)邏課設(shè)\CLOCK.map.summary
?????文件???????40295??2018-01-18?09:44??數(shù)邏課設(shè)\CLOCK.pin
?????文件??????524474??2018-01-18?09:44??數(shù)邏課設(shè)\CLOCK.pof
?????文件????????1265??2018-01-15?08:40??數(shù)邏課設(shè)\CLOCK.qpf
?????文件????????4568??2018-01-18?09:42??數(shù)邏課設(shè)\CLOCK.qsf
?????文件?????????887??2018-01-18?10:04??數(shù)邏課設(shè)\CLOCK.qws
?????文件??????281508??2018-01-18?09:44??數(shù)邏課設(shè)\CLOCK.sof
?????文件???????35799??2018-01-15?11:02??數(shù)邏課設(shè)\CLOCK.sta.rpt
?????文件?????????692??2018-01-15?11:02??數(shù)邏課設(shè)\CLOCK.sta.summary
?????文件??????168085??2018-01-18?09:44??數(shù)邏課設(shè)\CLOCK.tan.rpt
?????文件????????1972??2018-01-18?09:44??數(shù)邏課設(shè)\CLOCK.tan.summary
?????文件???????43757??2018-01-15?19:08??數(shù)邏課設(shè)\CLOCK_assignment_defaults.qdf
?????文件????????1956??2018-01-17?09:44??數(shù)邏課設(shè)\clock24.bsf
?????文件????????1030??2018-01-17?10:14??數(shù)邏課設(shè)\clock24.vhd
?????文件????????1029??2018-01-17?09:44??數(shù)邏課設(shè)\clock24.vhd.bak
?????文件????????2331??2018-01-17?09:45??數(shù)邏課設(shè)\clock60.bsf
?????文件????????1494??2018-01-17?09:43??數(shù)邏課設(shè)\clock60.vhd
?????文件????????1482??2018-01-17?09:42??數(shù)邏課設(shè)\clock60.vhd.bak
?????文件????????1964??2018-01-15?19:36??數(shù)邏課設(shè)\clock_10.bsf
?????文件?????????662??2018-01-15?19:36??數(shù)邏課設(shè)\clock_10.vhd
............此處省略122個文件信息
評論
共有 條評論