freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

基于eda音樂播放器的設(shè)計-閱讀頁

2025-07-11 15:56本頁面
  

【正文】 pks=39。 else spks=39。 end if。end process。它是由一個初值可變的加法計數(shù)器組成。由于數(shù)控分頻器輸出的信號是脈寬很窄的信號,為了有利于驅(qū)動揚聲器發(fā)音,需要加一個 D 觸發(fā)器以均衡占空比,但這樣一來,此時頻率變?yōu)樵瓉淼亩种患?。這里計數(shù)器設(shè)為 11 位(tone[10..0]) ,模為 2047。預(yù)置數(shù)即可用公式“模-分頻系數(shù)=預(yù)置數(shù) tone[10..0]”算出,此時為11“2047-569=1478(換成 11 位二進制計數(shù)為 10111000110) ”。use 。entity notetabs isport (clk:in std_logic。end。 clock:in std_logic。end ponent。begin t8:process(clk,counter)beginif counter=138 then counter=00000000。event and clk=39。 then counter=counter+1。end process。end。隨著 notetabs中的計數(shù)器按照 4Hz 的時鐘速率作加法計數(shù)時,每讀一個數(shù)據(jù),音符持續(xù)時間為 秒,如音符數(shù)據(jù)中的中音 3,為一拍,持續(xù)時間 1 秒,所以,音符數(shù)據(jù) ROM 中需要重復(fù)寫四次地址 0A,隨著 4Hz 時鐘速率讀取地址遞增,音符數(shù)據(jù) ROM 中的音符數(shù)據(jù)將通過模塊notetabs 中 toneindex[3..0]端口輸向 toaba 模塊。width=4。address_radix=dec。content begin00:3。02:3。06:5。08:8。10:8。12:6。14:5。16:12。18:12。20:13。22:10。24:9。26:9。28:9。30:9。32:9。34:9。36:7。38:6。40:5。42:5。44:8。46:9。48:3。50:8。52:6。54:6。56:5。58:5。1260:5。62:5。64:10。66:10。68:7。70:9。72:6。74:5。76:5。78:5。80:3。82:3。84:5。86:7。88:6。90:6。92:6。95:6。97:8。99:9。101:12。104:9。106:10。108:8。110:6。112:3。114:3。116:8。118:8。120:6。122:6。124:3。126:6。128:5。130:5。132:5。134:5。136:0。138:0。時間動態(tài)掃描模塊library ieee。use 。led7s:buffer std_logic_vector(6 downto 0)。end。signal a0,a1,a2,a3,h1,h2,k1,k2:std_logic_vector(3 downto 0)。signal q0:std_logic_vector(2 downto 0)。139。 elsif clk139。139。f0=39。elsea0=a01。039。end if。process(f0)beginif c=39。 then a1=0011。event and f0=39。 then if a1=0000 then a1=0101。139。 f1=39。 end if。end process。139。 elsif f139。139。139。else a2=a21。039。end if。 process(f2) beginif c=39。 then a3=0000。event and f2=39。 then if a3=0000 then a3=0101。 end if。end process。event and clk2=39。 then q0=q0+1。end process。led71s=a0。led71s=a1。led71s=1011。led71s=a2。led71s=a3。led71s=1011。led71s=0001。led71s=1010。end case。process(led71s)begincase led71s iswhen0000=led7s=1000000。when0010=led7s=0100100。when0100=led7s=0011001。when0110=led7s=0000010。when1000=led7s=0000000。when1010=led7s=0001000。when others=null。end process。daojishi 模塊將音樂的剩余時間通過動態(tài)掃描的方式顯示到七段數(shù)碼管上。引腳分配:表 2 引腳分配圖C Pin_M3 Led7s[4] Pin_F1 Led_selout[2] Pin_H3Clk Pin_J3 Led7s[5] Pin_G2 Led_selout[3] Pin_H4Led7s[0] Pin_G4 Led7s[6] Pin_G1 Led_selout[4] Pin_H1Led7s[1] Pin_G3 Led7s[7] Pin_H2 Led_selout[5] Pin_L215Led7s[2] Pin_E2 Led_selout[0] Pin_L3 Led_selout[6] Pin_K4Led7s[3] Pin_F2 Led_selout[1] Pin_L4 Spkout Pin_F14仿真波形:圖 1 分頻模塊波形圖圖 2 時間動態(tài)掃描模塊波形圖圖 3 音樂播放模塊波形圖圖 4 總工程波形16心得體會: 在這次課程設(shè)計中,曾遇到許多的問題,特別是音樂播放模塊。在仿真實驗時遇到一些意想不到的問題,比如音樂倒計時能正常顯示,但音樂播放不出來等。在此次設(shè)計中懂得了獨立思考,自學(xué)的重要性,不能寄希望與別人。參考文獻:1. 潘松,黃繼業(yè). EDA 技術(shù)與 VHDL(第三版). 北京: 清華大學(xué)出版社, 20222. 周鳳臣,聶春燕. EDA 技術(shù)實驗與課程設(shè)計. 北京:清華大學(xué)出版社,20223. 謝明華,張文希. EDA 技術(shù)實驗指導(dǎo)書. 20224. 王新,付子義. EDA 技術(shù)與虛擬實驗. 北京:中國礦業(yè)大學(xué)出版社, 2022
點擊復(fù)制文檔內(nèi)容
黨政相關(guān)相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1