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

正文內(nèi)容

基于eda音樂(lè)播放器的設(shè)計(jì)-文庫(kù)吧資料

2025-07-02 15:56本頁(yè)面
  

【正文】 s:out std_logic)。entity speakera isport(clk:in std_logic。use 。輸向 toaba 中 index[3..0]的值 toneindex[3..0]的輸出值與持續(xù)的時(shí)間由模塊 notetabs 決定。每一個(gè)計(jì)數(shù)值停留時(shí)間為 秒,恰為當(dāng)全音符為 1 秒時(shí),四四拍的 4 分音符持續(xù)時(shí)間。模塊 toaba 的功能首先是為 speakera 提供決定音符發(fā)音的分頻預(yù)置數(shù),而此數(shù)在speakera 輸入口停留時(shí)間即為此音符的節(jié)拍值。end process。when others=null。high=39。when1111=tone=11011000000。high=39。when1101=tone=11010000100。high=39。when1100=tone=11001010110。high=39。when1010=tone=11000000110。high=39。when1001=tone=10111001000。high=39。when1000=tone=10110000010。high=39。when0111=tone=10101011100。high=39。when0110=tone=10100001010。high=39。when0101=tone=10010101101。high=39。when0011=tone=10000001100。high=39。when0010=tone=01110010000。high=39。when0001=tone=01100000101。high=39。beginsearch:process(index)begincase index iswhen0000=tone=11111111111。architecture one of toaba issignal code:out std_logic_vector(3 downto 0)。 tone:out std_logic_vector(10 downto 0))。9use 。fp 模塊將 50MHz 的頻率分為所需要的頻率。 end process。 end if。039。139。139。then c2=not c2。event and a2=39。 end if。039。 else :=+1。 a2=39。139。 begin if clk39。 end process。 end if。039。139。139。then c=not c。event and a=39。 end if。039。 else t:=t+1。 a=39。139。 begin if clk39。8end process。end if。139。elsift811001000 thent8:=t8+1。 fs=39。end if。139。elsift2410111110101111000010000000 thent24:=t24+1。 f1s=39。139。beginif clk39。beginprocess(clk)variable t24:std_logic_vector(25 downto 0)。architecture bhv of fp is signal a,c,f:std_logic。 f1s,f8,f12,fs:out std_logic)。use 。 分頻模塊library ieee。u5:daojishi port map(clk1=ff1,clk2=ffs,c=c,led7s=led7s,led_selout=led_selout)。7u3:toaba port map(index=toneindex,tone=tone)。beginu1:fp port map(clk=clk50mhz,f1s=ff1,f8=ff8,f12=ff12,fs=ffs)。signal toneindex:std_logic_vector(3 downto 0)。end ponent。led7s:buffer std_logic_vector(6 downto 0)。end ponent。 tone:in std_logic_vector(10 downto 0)。end ponent。ponent toabaport(index:in std_logic_vector(3 downto 0)。 toneindex:out std_logic_vector(3 downto 0))。end ponent。architecture one of songer isponent notetabsport(clk:in std_logic。 spkout:out std_logic)。 led7s:buffer std_logic_vector(6 downto 0)。use 。表 1 簡(jiǎn)譜中的音名與頻率的關(guān)系音名 頻率/Hz 音名 頻率/Hz 音名 頻率/Hz低音 1 中音 1 高音 1 低音 2 中音 2 高音 2 低音 3 中音 3 高音 3 低音 4 中音 4 高音 4 低音 5 392 中音 5 784 高音 5 1568低音 6 440 中音 6 880 高音 6 1760低音 7 中音 7 高音 7 音長(zhǎng)的控制這次設(shè)計(jì)中所演奏的樂(lè)曲的最短的音符為四分音符,如果將全音符的持續(xù)時(shí)間設(shè)為1s 的話,那么一拍所應(yīng)該持續(xù)的時(shí)間為 秒,則只需要再提供一個(gè) 4Hz 的時(shí)鐘頻率即可產(chǎn)生四分音符的時(shí)長(zhǎng)。綜合考慮各因素,本次設(shè)計(jì)中選取 12MHZ 作為 CLK 的分頻計(jì)數(shù)器的輸入分頻信號(hào)。音樂(lè)播放模塊需要完成以下設(shè)計(jì):①預(yù)置樂(lè)曲,本次設(shè)計(jì)選取了《梁祝》的一段作預(yù)置,在作預(yù)置時(shí),需要將樂(lè)曲音符轉(zhuǎn)換成相應(yīng)的代碼,通過(guò)計(jì)算逐一將音符轉(zhuǎn)換成代碼,通過(guò) EDA 開(kāi)發(fā)平臺(tái) quartus Ⅱ進(jìn)行樂(lè)曲定制;②為了提供樂(lè)曲發(fā)音所需要的發(fā)音頻率,編寫(xiě)數(shù)控分頻器程序,對(duì)單一輸入
點(diǎn)擊復(fù)制文檔內(nèi)容
黨政相關(guān)相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1