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

正文內(nèi)容

數(shù)字邏輯課程設(shè)計(jì)之電子琴-文庫吧

2025-01-01 16:06 本頁面


【正文】 er range 0 to 170。 C:out std_logic)。 end ponent。 signal sw0:std_logic_vector(7 downto 0)。--自動(dòng)播放部分的輸出和音調(diào)發(fā)生器的輸入,表示八個(gè)音符 signal tone0:integer range 0 to 170?! 。粽{(diào)發(fā)生器的輸出和數(shù)控分頻部分的輸入,表示音符的頻率begin          ――在這個(gè)進(jìn)程中把各個(gè)部分連接起來 G1:autoplay port map(A=inplay,B=auto,C=clk0,D=sw0)。 G2:tone port map(A=sw0,B=tone0)。 G3:control port map(A=clk1,B=tone0,C=play)。end run。自動(dòng)播放模塊:library ieee。use 。use 。use 。entity autoplay is port(A:in std_logic_vector(7 downto 0)。 A=inplay,B=auto,C=clk0,D=sw0 B,C:in std_logic。 D:out std_logic_vector(7 downto 0))。end autoplay。architecture music of autoplay is signal clk2:std_logic。 對(duì)50KHZ脈沖進(jìn)行分頻得到的5HZ的脈沖信號(hào) signal count0:integer range 0 to 62。 記錄自動(dòng)播放的樂曲的脈沖并控制播放 signal count3:integer range 0 to 10000。分頻時(shí)的計(jì)數(shù) begin separate:process(C,B) ――分頻將脈沖變?yōu)椋担龋诘男盘?hào) begin if B=39。039。 then count3=0。clk2=39。039。 elsif(C39。event and C=39。139。) then count3=count3+1。 if count3=5000 then clk2=39。139。 elsif count3=10000 then clk2=39。039。count3=0。 end if。 end if。 end process。 half:process(clk2)  begin if(clk239。event and clk2=39。139。) then  ――如果脈沖個(gè)數(shù)多于自動(dòng)播放的音符,則計(jì)數(shù)器回0,否則記錄第幾個(gè)脈沖 if count0=62 then count0=0?!? else count0=count0+1。 end if。 end if。 end process。 musicplay:process(C,B,A) begin if B=39。139。 th
點(diǎn)擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計(jì)相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1