【正文】
這里值得注意的是,月的顯示是由模12的計(jì)數(shù)器來(lái)實(shí)現(xiàn)的,而模12的十位和個(gè)位其實(shí)都是BCD碼的表示形式,為提取出真正的月數(shù),必須將BCD碼轉(zhuǎn)換成BINARY二進(jìn)制表示的形式,為此用BCDBINARY芯片74184實(shí)現(xiàn),例如12月,實(shí)際上的計(jì)數(shù)的值分為十位和個(gè)位,即十位是1,個(gè)位是2,表示為0001和0010,通過芯片74184則可以轉(zhuǎn)換為二進(jìn)制表示的12,為1010,這樣就實(shí)現(xiàn)了BCD十位數(shù)個(gè)位數(shù)轉(zhuǎn)換成二進(jìn)制數(shù)了,這樣就可以用這個(gè)二進(jìn)制數(shù)來(lái)表示真正的月數(shù)。1.在仿真時(shí),其中遇到的一個(gè)問題就是仿真選項(xiàng)TIMING和FUUCTIONAL的區(qū)別,TIMING選項(xiàng)表示的是仿真實(shí)際的器件,而FUNCTIONAL這是功能仿真,它是仿真的理想情況,是驗(yàn)證邏輯的正確與否?;叵脒@次的設(shè)計(jì)過程,萬(wàn)年歷實(shí)際系統(tǒng)運(yùn)行時(shí),現(xiàn)象出了一些問題,但仿真的結(jié)果都是非常的正確的,關(guān)于這方面的問題還需以后繼續(xù)學(xué)習(xí)積累。 各子模塊聯(lián)調(diào)思想設(shè)計(jì)各個(gè)子模塊調(diào)試下載測(cè)試完畢之后,就必須將各個(gè)子模塊聯(lián)調(diào),因?yàn)橄到y(tǒng)是個(gè)集成系統(tǒng),必須將各個(gè)子模塊集成在一起,這就設(shè)計(jì)到如何將各個(gè)子模塊綜合在一起,而且相互模塊之間并不相互影響。1.模28,30,31,12的設(shè)計(jì)首先毫無(wú)疑問先將基本的模28,30,31,12實(shí)現(xiàn)。這里首先值得考慮的就是怎么樣將計(jì)數(shù)器的計(jì)數(shù)值正確的顯示在LED管子上,這其實(shí)設(shè)計(jì)到一個(gè)BCD譯碼電路,選用7447可以將BCD碼轉(zhuǎn)換成對(duì)應(yīng)的能取得LED管子的段碼,同時(shí)考慮到動(dòng)態(tài)顯示的復(fù)用問題,7447的輸出端是與所有的LED管子的段碼總線相連的,所有要實(shí)現(xiàn)動(dòng)態(tài)顯示的功能,就必須通過循環(huán)使能對(duì)應(yīng)的LED管子,并且在使能LED管子的同時(shí)還必須與所要顯示的數(shù)字相對(duì)應(yīng),這就又涉及到一個(gè)動(dòng)態(tài)選自數(shù)據(jù)的電路,并且這種動(dòng)態(tài)選自數(shù)據(jù)的電路,和使能LED管的74138譯碼器必須通過同一個(gè)計(jì)數(shù)值循環(huán)來(lái)控制,這樣才能保證對(duì)應(yīng)得LED管子輸出對(duì)應(yīng)的數(shù)據(jù)。3.2Hz的設(shè)計(jì)2Hz的設(shè)計(jì)可以將2000Hz進(jìn)行調(diào)用上述1000分頻的模塊就可以直接獲得2Hz的頻率。為把結(jié)果顯示出來(lái),考慮用動(dòng)態(tài)顯示的技術(shù)實(shí)現(xiàn)LED管子的點(diǎn)亮。關(guān)鍵詞 多功能數(shù)字鐘 整點(diǎn)報(bào)時(shí) 鬧鐘 萬(wàn)年歷課程設(shè)計(jì)論文外文摘要Title The Design Of Multifunction Digital Clock Based on Cyclone Ⅲ Series EP3C25F324C8 Using Quartus Ⅱ AbstractThe experiment is based on Cyclone Ⅲ Series EP3C25F324C8 using Quartus Ⅱ to design the multifunction digital clock, considering hardware and software resources provided. With the help of the knowledge I got, the designed multifunction digital clock has all of the functions of a digital clock, including the hours, minutes, seconds timer function, and the system can also be keeped and cleared at any time. Moreover, the hour and minute can be adjusted to any wanted time and can be set to alarm at any time if you want. Most of all, the calendar function is also designed. This paper is mainly concerned about the detailed design procedure beginning with the basic principle of the circuit works and the hardware schematic drawing, finally finishing the simulation and debugging using Quartus Ⅱ software in SmartSOPC experimental platform. In addition, the details that may otherwise be fatal to the system design is also given during the course of circuit design process, which actually has a certain significance in later design. Keywords Multifunction digital clock. Hourly chime function. Alarm at any time. Calendar目 錄1 引言 ………………………………………………………………………………12 系統(tǒng)的總體設(shè)計(jì) …………………………………………………………………1 系統(tǒng)總體功能 …………………………………………………………………1 系統(tǒng)的工作原理 ………………………………………………………………23 系統(tǒng)的詳細(xì)設(shè)計(jì) …………………………………………………………………3 總體模塊介紹 …………………………………………………………………3 各個(gè)子模塊的詳細(xì)設(shè)計(jì)…………………………………………………………3 48MHz的分頻模塊………………………………