




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
1、第11頁 共11頁數(shù)字系統(tǒng)綜合設(shè)計(jì)實(shí)驗(yàn)報(bào)告實(shí)驗(yàn)題目:模擬中央人民廣播電臺(tái)報(bào)時(shí)電路姓名:張曉奇 馬良學(xué)號(hào):2007230620072312設(shè)計(jì)內(nèi)容:1、實(shí)驗(yàn)要求:11 計(jì)時(shí)器運(yùn)行到59分49秒開始報(bào)時(shí),每鳴叫1s就停叫1s,共鳴叫6響;前5響為低音,頻率為750HZ,最后1響為高音,頻率為1KHz;12要有分秒顯示21總電路圖: CLK是時(shí)鐘脈沖,通過次端口輸入時(shí)鐘信號(hào),CLR是清零端口,置于高電平時(shí)起清零作用,CI是保持端口,置于低電平時(shí)起保持作用;ENM是校分端口,置于低電平是由時(shí)鐘脈沖進(jìn)行校分功能,ENH是校時(shí)端口,同ENM;speaker是報(bào)時(shí)端,在50、52、54、56、58秒/分時(shí)輸
2、出高電平。qsl【3.0】、qsh【3.0】,qml【3.0】、qmh【3.0】,qhl【3.0】、qhh【3.0】分別是秒的低位、高位,分的低位、高位,時(shí)的低位、高位數(shù)碼管顯示端。gaopin、dipin端分別是報(bào)時(shí)信號(hào)頻率輸入端。22模塊設(shè)計(jì):60進(jìn)制秒模塊VHDL語言:library ieee;USE ieee.std_logic_1164.all;USE ieee.std_logic_unsigned.all;ENTITY sec60 IS PORT ( ci :IN std_logic; mclear :IN std_logic; clk :IN std_logic; co :out
3、 std_logic; qh :buffer std_logic_vector(3 downto 0); ql :buffer std_logic_vector(3 downto 0); a :out std_logic; b :out std_logic );END sec60;ARCHITECTURE behave OF sec60 ISBEGINco=1when (qh=0101 and ql=1001 and ci=1) else 0; a=1 when (qh=0101 and ql=0000) else 1 when (qh=0101 and ql=0010) else 1 whe
4、n (qh=0101 and ql=0100) else 1 when (qh=0101 and ql=0110) else 1 when (qh=0101 and ql=1000) else 0; b=1 when (qh=0000 and ql=0000) else 0; PROCESS (clk,mclear)BEGIN IF(mclear=1)THEN qh=0000; ql=0000; elsif(clkevent and clk=1)thenif(ci=1)then if(ql=9) then ql=0000; if(qh=5)then qh=0000;else qh=qh+1;e
5、nd if;else ql=ql+1;end if;end if ;end if;end process;end behave;60進(jìn)制分模塊VHDL語言:library ieee;USE ieee.std_logic_1164.all;USE ieee.std_logic_unsigned.all;ENTITY min60 IS PORT ( ci :IN std_logic; mclear :IN std_logic; clk :IN std_logic; co :out std_logic; qh :buffer std_logic_vector(3 downto 0); ql :buf
6、fer std_logic_vector(3 downto 0); a :out std_logic; b :out std_logic );END min60;ARCHITECTURE behave OF min60 ISBEGINco=1when (qh=0101 and ql=1001 and ci=1) else 0; a=1 when (qh=0101 and ql=1001) else 0; b=1 when (qh=0000 and ql=0000) else 0; PROCESS (clk,mclear)BEGIN IF(mclear=1)THEN qh=0000; ql=00
7、00; elsif(clkevent and clk=1)thenif(ci=1)then if(ql=9) then ql=0000; if(qh=5)then qh=0000;else qh=qh+1;end if;else ql=ql+1;end if;end if ;end if;end process;end behave;24進(jìn)制時(shí)模塊VHDL語言:library ieee;USE ieee.std_logic_1164.all;USE ieee.std_logic_unsigned.all;ENTITY hour24 IS PORT ( ci :IN std_logic; hcl
8、ear :IN std_logic; clk :IN std_logic; co :out std_logic; qh :buffer std_logic_vector(3 downto 0); ql :buffer std_logic_vector(3 downto 0);END hour24;ARCHITECTURE behave OF hour24 ISBEGIN co=1when (qh=0010 and ql=0011 and ci=1) else 0; PROCESS (clk,hclear) BEGIN IF(hclear=1)THEN qh=0000; ql=0000; ELS
9、IF(clkEVENT AND clk=1)THEN if(ci=1)then if(ql=9) or(ql=3 and qh=2) then ql=0000; if(qh=2) then qh=0000; elseqh=qh+1;end if; else ql=ql+1; end if; END IF; END IF; END PROCESS;END behave;D、二選一數(shù)據(jù)選擇器:library ieee;use ieee.std_logic_1164.all;entity xuanze isport(cp1,cp2,en:in std_logic; chu:out std_logic
10、);end xuanze;architecture behave of xuanze isbeginprocess(cp1,cp2,en)begin if(en=1) then chu=cp1;else chu=cp2;end if;end process;end behave;仿真圖像: 調(diào)試過程圖像:秒鐘計(jì)數(shù)器的調(diào)試過程:分鐘計(jì)數(shù)器的調(diào)試過程:時(shí)鐘計(jì)數(shù)器的調(diào)試過程:2選1數(shù)據(jù)選擇器的調(diào)試過程:總體波形:設(shè)計(jì)心得體會(huì):通過本次設(shè)計(jì)使我更熱愛數(shù)字電路設(shè)計(jì),初步學(xué)會(huì)MAXPLUS軟件VHDL語言的編用,能設(shè)計(jì)較簡單的時(shí)序邏輯電路和組合邏輯電路,能解決實(shí)驗(yàn)設(shè)計(jì)中出現(xiàn)的一般性問題,提高了自己的解決問題的能力。在實(shí)習(xí)過程中大大激發(fā)了我們對EDA的濃厚興趣。井老師的指導(dǎo)使我們受益匪淺。我們在學(xué)習(xí)過程中得到實(shí)
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 酒店中餐擺臺(tái)培訓(xùn)
- 重卡銷售培訓(xùn)
- 痛風(fēng)病人飲食護(hù)理
- 職業(yè)安全健康管理
- 財(cái)會(huì)合規(guī)培訓(xùn)
- 腫瘤護(hù)理專家共識(shí)
- 銷售業(yè)績分解培訓(xùn)
- 加油站全流程診斷體系構(gòu)建
- 稽核監(jiān)察財(cái)務(wù)培訓(xùn)
- 互聯(lián)網(wǎng)+教育精準(zhǔn)扶貧:2025年實(shí)踐案例分析報(bào)告
- 優(yōu)秀物業(yè)管理項(xiàng)目評(píng)選方案
- 貴州大方富民村鎮(zhèn)銀行股份有限公司(籌)招聘上岸提分題庫3套【500題帶答案含詳解】
- GB/T 5470-2008塑料沖擊法脆化溫度的測定
- GB/T 40998-2021變性淀粉中羥丙基含量的測定分光光度法
- 圖書管理系統(tǒng)畢業(yè)論文參考文獻(xiàn)精選,參考文獻(xiàn)
- 中國當(dāng)代舊體詩選讀幻燈片
- 吉林省全省市縣鄉(xiāng)鎮(zhèn)衛(wèi)生院街道社區(qū)衛(wèi)生服務(wù)中心基本公共衛(wèi)生服務(wù)醫(yī)療機(jī)構(gòu)信息名單目錄995家
- 倔強(qiáng)的小紅軍-精講版課件
- 信息隱藏與數(shù)字水印課件(全)全書教學(xué)教程完整版電子教案最全幻燈片
- 公開招聘社區(qū)居委專職工作人員考試筆試、面試題集及相關(guān)知識(shí)(11套試題含答案)
- 中職數(shù)學(xué)基礎(chǔ)模塊下冊《等差數(shù)列》ppt說課稿
評(píng)論
0/150
提交評(píng)論