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

正文內(nèi)容

eda課設(shè)音樂(lè)流水燈-全文預(yù)覽

  

【正文】 170=tone_index=15。 when 166=tone_index=15。 when 162=tone_index=13。 when 158=tone_index=10。 when 154=tone_index=8。 when 150=tone_index=9。 when 146=tone_index=6。 when 142=tone_index=10。 when 138=tone_index=12。 when 134=tone_index=16。 when 130=tone_index=13。 when 126=tone_index=10。 when 122=tone_index=0。 when 118=tone_index=8。 when 114=tone_index=9。 when 110=tone_index=9。 when 106=tone_index=12。 when 102=tone_index=12。 when 98=tone_index=13。 when 94=tone_index=10。 when 90=tone_index=9。 when 86=tone_index=9。 when 82=tone_index=12。 when 78=tone_index=8。 when 74=tone_index=9。 when 70=tone_index=0。 when 66=tone_index=9。 when 62=tone_index=9。 when 58=tone_index=9。 when 54=tone_index=10。 when 50=tone_index=9。 when 46=tone_index=12。 when 42=tone_index=10。 when 38=tone_index=12。 when 34=tone_index=12。 when 30=tone_index=10。 when 26=tone_index=9。 when 22=tone_index=9。 when 18=tone_index=10。 when 14=tone_index=8。 when 10=tone_index=10。 when 6=tone_index=0。 when 2=tone_index=10。event and clk10=39。 end if。event and clk10=39。 end if。event and clk=39。 signal clk10_count : std_logic_vector(17 downto 0)。end behave。 else tone_count=tone_count+1。139。 others:no output end case。 1668 when 15=tone=11011000000。 1410 when 9=tone=10111001000。 1036(歌曲一未使用) when 5=tone=10010101101。 process(tone_index) begin case tone_index is when 0=tone=11111111111。 when others=tone_index=0。 when 183=tone_index=8。 when 179=tone_index=10。 when 175=tone_index=14。 when 171=tone_index=12。 when 167=tone_index=16。 when 163=tone_index=17。 when 159=tone_index=12。 when 155=tone_index=9。 when 151=tone_index=8。 when 147=tone_index=8。 when 143=tone_index=9。 when 139=tone_index=12。 when 135=tone_index=15。 when 131=tone_index=13。 when 127=tone_index=10。 when 123=tone_index=0。 when 119=tone_index=8。 when 115=tone_index=9。 when 111=tone_index=10。 when 107=tone_index=12。 when 103=tone_index=12。 when 99=tone_index=12。 when 95=tone_index=10。 when 91=tone_index=0。 when 87=tone_index=9。 when 83=tone_index=10。 when 79=tone_index=8。 when 75=tone_index=10。 when 71=tone_index=10。 when 67=tone_index=10。 when 63=tone_index=10。 when 59=tone_index=8。 when 55=tone_index=9。 when 51=tone_index=10。 when 47=tone_index=12。 when 43=tone_index=12。 when 39=tone_index=13。 when 35=tone_index=10。 when 31=tone_index=10。 when 27=tone_index=9。 when 23=tone_index=9。 when 19=tone_index=12。 when 15=tone_index=8。 when 11=tone_index=9。 when 7=tone_index=0。 when 3=tone_index=9。139。 end if。139。 end if。139。 signal time : integer range 0 to 200。architecture behave of tb is signal tone : std_logic_vector(10 downto 0)。 keyc : out std_logic_vector(15 downto 0)。use 。通過(guò)程序設(shè)置可以實(shí)現(xiàn)每個(gè)音階對(duì)應(yīng)一種點(diǎn)亮情況,從而實(shí)現(xiàn)音樂(lè)流水燈的律動(dòng)。而要準(zhǔn)確地演奏出一首樂(lè)曲,僅僅讓揚(yáng)聲器能夠發(fā)聲是不夠的,還必須準(zhǔn)確地控制樂(lè)曲的節(jié)奏,即每個(gè)音符的持續(xù)時(shí)間。本次設(shè)計(jì)流水燈依次點(diǎn)亮的方式來(lái)閃爍。(3)樂(lè)曲的頻率變化多端,對(duì)應(yīng)的分頻系數(shù)也不斷變化,因此需要將播放的樂(lè)曲的分頻系數(shù)事先存放在ROM中便于讀取。采用時(shí)鐘的頻率越高,分頻系數(shù)越大,分頻后的音階頻率就越準(zhǔn)確。音階的各個(gè)頻率可以通過(guò)高頻時(shí)鐘進(jìn)行分頻得到。擴(kuò)展內(nèi)容:1 利用數(shù)碼管顯示播放時(shí)間2利用16*16點(diǎn)陣顯示播放歌曲名稱3利用44鍵盤陣列鍵盤實(shí)現(xiàn)播放歌曲的切換一、二、設(shè)計(jì)原理及方案音樂(lè)流水燈主要是點(diǎn)綴公共場(chǎng)合的裝飾品,音樂(lè)的播放和流水燈有節(jié)奏地閃爍,同時(shí)達(dá)到聽(tīng)覺(jué)和視覺(jué)的完美結(jié)合,成為構(gòu)成其必不可少的條件。本課程設(shè)計(jì)通過(guò)Altera公司的Quartus II軟件配合武漢凌特電子技術(shù)有限公司生產(chǎn)的LTESOPC02FD型OPC實(shí)驗(yàn)開(kāi)發(fā)系統(tǒng)來(lái)完成設(shè)計(jì)。EDA技術(shù)的出現(xiàn),極大地提高了電路設(shè)計(jì)的效率和可操作性。本設(shè)計(jì)的任務(wù)要求通過(guò)編程實(shí)現(xiàn)一段音樂(lè)旋律的循環(huán)播放,在音樂(lè)播放的過(guò)程中,流水燈根據(jù)旋律閃爍。在樂(lè)曲的構(gòu)成中,樂(lè)音的頻率和持續(xù)的時(shí)間是其構(gòu)成的要素。要得到不同頻率的方波,就可以根據(jù)此頻率計(jì)算出分頻過(guò)程中需要計(jì)數(shù)的點(diǎn)數(shù),從而通過(guò)改變可控分頻器的計(jì)數(shù)初值,在達(dá)到計(jì)數(shù)最大值后對(duì)spk端口的信號(hào)取反輸出不同頻率的方波。在脈沖寬度調(diào)整時(shí)會(huì)對(duì)此信號(hào)再次二分頻,所以在計(jì)算時(shí),以樂(lè)音音階的二倍頻率去求取在特定時(shí)鐘信號(hào)下的分頻系數(shù),以便在調(diào)整占空比后得到正確的音階頻率。音階索引表如表3所示:音階低音1低音2低音3低音5索引值1235音階低音6低音7中音1中音2索引值6789音階中音3中音5中音6高音1索引值10121315音階高音2 高音3索引值16 17表3 音階索引表(4)開(kāi)發(fā)平臺(tái)上的LED燈數(shù)量有限,可以選用有規(guī)律的閃爍。樂(lè)曲都是由一連串的音符組成,因此按照樂(lè)曲的樂(lè)譜依次輸出這些音符所對(duì)應(yīng)的頻率,就可以在揚(yáng)聲器上連續(xù)地發(fā)出各個(gè)音符的音調(diào)。在LED0~LED11引腳上按照簡(jiǎn)單音樂(lè)的節(jié)奏有規(guī)律的的輸出流水?dāng)?shù)據(jù),如原來(lái)輸出的數(shù)據(jù)是000000000001則表示點(diǎn)亮LED1(共陰接法),流水一次后,輸出的數(shù)據(jù)應(yīng)該為00000000011,而此時(shí)則應(yīng)點(diǎn)亮LED1~LED2兩個(gè)發(fā)光二極管。use 。 speaker driver led : out std_logic_vector(11 downto 0)。end tb。 signal clk10_count : std_logic_vector(17 downto 0)。event and clk=39。 end if。event and clk10=39。 end if。event and clk10=39。 when 2=tone_index=10。 when 6=tone_index=0。 when 10=tone_index=10。 when 14=tone_index=8。 when 18=tone_index=10。 when 22=tone_index=9。 when 26=tone_index=9。 when 30=tone_index=10。 when 34=tone_index=12。 when 38=tone_index=12。 when 42=tone_index=10。 when 46=tone_index=12。 when 50=tone_index=9。 when 54=tone_index=10。 when 58=tone_index=9。 when 62=tone_index=9。 when 66=ton
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1