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

正文內(nèi)容

基于eda音樂播放器的設(shè)計(jì)-預(yù)覽頁

2025-07-20 15:56 上一頁面

下一頁面
 

【正文】 的器件),最后就課程設(shè)計(jì)本身提交一篇課程設(shè)計(jì)說明書。如果為手動(dòng)播放,則通過撥動(dòng)撥碼開關(guān)第 2 位選擇??蛇M(jìn)行自動(dòng)循環(huán)播放和手動(dòng)播放兩個(gè)模式的選擇。系統(tǒng)提供 50MHZ 頻率的時(shí)鐘源??蛇M(jìn)行自動(dòng)循環(huán)播放和手動(dòng)播放兩個(gè)模式的選擇。關(guān)鍵字: SOPC、音頻信號(hào)、音樂、蜂鳴器、自動(dòng)循環(huán)、手動(dòng)播放、剩余時(shí)間(分鐘、秒鐘)顯示、音樂序號(hào)(AAA3 )顯示。音調(diào)的控制頻率的高低決定了音調(diào)的高低。系統(tǒng)工作時(shí)就按 4Hz 的頻率依次讀取簡(jiǎn)譜,當(dāng)系統(tǒng)讀到某個(gè)音符的簡(jiǎn)譜時(shí)就對(duì)應(yīng)發(fā)這個(gè)音符的音調(diào),持續(xù)時(shí)間為 拍音長(zhǎng),只要將該音符連續(xù)書寫三遍,系統(tǒng)讀樂曲文件的時(shí)候就會(huì)連續(xù)讀到三次,也就會(huì)發(fā)三個(gè) 秒的音長(zhǎng),這時(shí)我們聽上去就會(huì)持續(xù)了三拍的時(shí)間,這樣就可以控制音樂的6音長(zhǎng)了程序:音樂播放器頂層模塊library ieee。led_selout:out std_logic_vector(7 downto 0)。 f1s,f8,f12,fs:out std_logic)。end ponent。ponent speakeraport(clk:in std_logic。ponent daojishi port(clk1,clk2,c:in std_logic。signal tone:std_logic_vector(10 downto 0)。u2:notetabs port map(clk=ff8,toneindex=toneindex)。end。entity fp isport(clk:in std_logic。 signal a2,c2,f2:std_logic。event and clk=39。039。elset24:=00000000000000000000000000。039。elset8:=00000000。process(clk,a) variable t:std_logic_vector(2 downto 0)。then if t=111then t:=011。a=39。 if a39。 if c=39。 else f=39。 f12=f。event and clk=39。139。 end if。139。then f2=39。 end if。end。entity toaba isport(index:in std_logic_vector(3 downto 0)。signal high:out std_logic。039。039。039。039。039。039。039。139。139。139。139。139。139。end。這 13 個(gè)值的輸出由對(duì)應(yīng)于 toaba 的 4 位輸入值 index[3..0]確定,而 index[3..0]最多有 16 種選擇。use 。end。039。 elsif clk39。 end if。event and preclk=39。139。 end if。beginif fullspks39。 if count2=39。 else spks=39。end process。由于數(shù)控分頻器輸出的信號(hào)是脈寬很窄的信號(hào),為了有利于驅(qū)動(dòng)揚(yáng)聲器發(fā)音,需要加一個(gè) D 觸發(fā)器以均衡占空比,但這樣一來,此時(shí)頻率變?yōu)樵瓉淼亩种患?。預(yù)置數(shù)即可用公式“模-分頻系數(shù)=預(yù)置數(shù) tone[10..0]”算出,此時(shí)為11“2047-569=1478(換成 11 位二進(jìn)制計(jì)數(shù)為 10111000110) ”。entity notetabs isport (clk:in std_logic。 clock:in std_logic。begin t8:process(clk,counter)beginif counter=138 then counter=00000000。 then counter=counter+1。end。width=4。content begin00:3。06:5。10:8。14:5。18:12。22:10。26:9。30:9。34:9。38:6。42:5。46:9。50:8。54:6。58:5。62:5。66:10。70:9。74:5。78:5。82:3。86:7。90:6。95:6。99:9。104:9。108:8。112:3。116:8。120:6。124:3。128:5。132:5。136:0。時(shí)間動(dòng)態(tài)掃描模塊library ieee。led7s:buffer std_logic_vector(6 downto 0)。signal a0,a1,a2,a3,h1,h2,k1,k2:std_logic_vector(3 downto 0)。139。139。elsea0=a01。end if。 then a1=0011。 then if a1=0000 then a1=0101。 f1=39。end process。 elsif f139。139。039。 process(f2) beginif c=39。event and f2=39。 end if。event and clk2=39。end process。led71s=a1。led71s=a2。led71s=1011。led71s=1010。process(led71s)begincase led71s iswhen0000=led7s=1000000。when0100=led7s=0011001。when1000=led7s=0000000。when others=null。daojishi 模塊將音樂的剩余時(shí)間通過動(dòng)態(tài)掃描的方式顯示到七段數(shù)碼管上。在仿真實(shí)驗(yàn)時(shí)遇到一些意想不到的問題,比如音樂倒計(jì)時(shí)能正常顯示,但音樂播放不出來等。參考文獻(xiàn):1. 潘松,黃繼業(yè). EDA 技術(shù)與 VHDL(第三版). 北京: 清華大學(xué)出版社, 20222. 周鳳臣,聶春燕. EDA 技術(shù)實(shí)驗(yàn)與課程設(shè)計(jì). 北京:清華大學(xué)出版社,20223. 謝明華,張文希. EDA 技術(shù)實(shí)驗(yàn)指導(dǎo)書. 20224. 王新,付子義. EDA 技術(shù)與虛擬實(shí)驗(yàn). 北京:中國礦業(yè)大學(xué)出版社, 2022
點(diǎn)擊復(fù)制文檔內(nèi)容
黨政相關(guān)相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1