數(shù)字電子技術(shù)綜合實(shí)驗(yàn)報(bào)告-簡(jiǎn)易電子琴_第1頁(yè)
數(shù)字電子技術(shù)綜合實(shí)驗(yàn)報(bào)告-簡(jiǎn)易電子琴_第2頁(yè)
數(shù)字電子技術(shù)綜合實(shí)驗(yàn)報(bào)告-簡(jiǎn)易電子琴_第3頁(yè)
數(shù)字電子技術(shù)綜合實(shí)驗(yàn)報(bào)告-簡(jiǎn)易電子琴_第4頁(yè)
數(shù)字電子技術(shù)綜合實(shí)驗(yàn)報(bào)告-簡(jiǎn)易電子琴_第5頁(yè)
已閱讀5頁(yè),還剩35頁(yè)未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

1、數(shù)字電子技術(shù)綜合實(shí)驗(yàn)報(bào)告2012-2013學(xué)年第二學(xué)期姓名:學(xué)號(hào):班級(jí): 實(shí)驗(yàn)時(shí)間:實(shí)驗(yàn)指導(dǎo)老師: 39 / 40文檔可自由編輯打印目錄一、設(shè)計(jì)任務(wù)·····································

2、3;···································2二、設(shè)計(jì)方案·············

3、83;·················································

4、83;·········2三、系統(tǒng)框圖·······································&#

5、183;·································3四、方案實(shí)現(xiàn)···············&

6、#183;·················································&

7、#183;·······31.樂(lè)曲演奏的原理········································

8、83;·····························32.總體方案···················&#

9、183;·················································&#

10、183;···········4五、實(shí)驗(yàn)結(jié)果·····································&

11、#183;···································6六、方案優(yōu)化·············

12、··················································

13、··········7七、心得體會(huì)·······································

14、;··································7附錄···············&#

15、183;·················································&#

16、183;·······················71. VHDL源程序························

17、83;············································72. 各層次原理圖····

18、;··················································

19、;···········353.編譯報(bào)告·····································

20、83;····································40題目: 簡(jiǎn)易電子琴設(shè)計(jì)摘要 電子琴的設(shè)計(jì)大規(guī)??删幊踢壿嬈骷‵PGA)作為系統(tǒng)的核心控制部分通過(guò)軟件的設(shè)計(jì)編寫(xiě)然后進(jìn)行軟硬件的調(diào)試運(yùn)行最終達(dá)到設(shè)計(jì)電路的樂(lè)器

21、演奏、選歌及顯示功能。設(shè)計(jì)中采用計(jì)數(shù)原理控制演奏器發(fā)聲,對(duì)音樂(lè)發(fā)生所必須確定的音符和節(jié)拍分別用程序語(yǔ)言實(shí)現(xiàn)。可以用它來(lái)彈奏和播放樂(lè)曲。特點(diǎn)是設(shè)計(jì)思路簡(jiǎn)單、清晰。關(guān)鍵字:電子琴 CPLD一、設(shè)計(jì)任務(wù)1. 基本要求(1) 具有一般彈奏功能;(2) 自動(dòng)播放功能;(3) 數(shù)碼顯示音符功能。2發(fā)揮部分 (1)能通過(guò)選擇鍵在多首歌曲中選擇播放; (2)輸出增加功率放大電路,增加歌曲容量;(3)增加音效或節(jié)拍可調(diào);(4)無(wú)線彈奏。二、設(shè)計(jì)方案采用大規(guī)模可編程邏輯器件(FPGA),利用quartusII,通過(guò)verilog代碼實(shí)現(xiàn)簡(jiǎn)易電子琴演奏電路。三、系統(tǒng)框圖四、方案實(shí)現(xiàn)1.樂(lè)曲演奏的原理:樂(lè)曲演奏的原理

22、:組成樂(lè)曲的每個(gè)音符的頻率值(音調(diào))以及持續(xù)時(shí)間(音長(zhǎng))是樂(lè)曲能持續(xù)演奏所需的兩個(gè)基本數(shù)據(jù),因此只要控制輸出到揚(yáng)聲器的激勵(lì)信號(hào)的頻率的高低和持續(xù)的時(shí)間,就可以使揚(yáng)聲器發(fā)出持續(xù)的樂(lè)曲聲。l 音調(diào)的控制 頻率的高低決定了音調(diào)的高低。音樂(lè)的十二平均率規(guī)定:每?jī)蓚€(gè)八度音(如簡(jiǎn)譜中的中音1與高音1)之間的頻率相差一倍。在兩個(gè)八度音之間,又可分為十二個(gè)半音,每半個(gè)音的頻率比為。另外,音名A(簡(jiǎn)譜中的低音6)的頻率為440HZ,音名B到C之間,E到F之間為半音,其余為全音。由此可以計(jì)算出簡(jiǎn)譜中從低音1至高音1之間的每個(gè)音名對(duì)應(yīng)的頻率如圖所示:音名頻率(HZ)音名頻率(HZ)音名頻率(HZ)低音1261.6中

23、音1523.3高音11046.5低音2293.7中音2587.3高音21174.7低音3329.6中音3659.3高音31318.5低音4349.2中音4698.5高音41396.9低音5392中音5784高音51568低音6440中音6880高音61760低音7493.9中音7987.8高音71975.5 所有不同頻率均從同一基準(zhǔn)頻率分頻得到。將分頻數(shù)四舍五入進(jìn)行取整,并盡量減小誤差。在本設(shè)計(jì)中選取6MHZ作為基準(zhǔn)頻率。從下表中可以看出最大分頻系數(shù)為11468,采用14位二進(jìn)制計(jì)數(shù)器分頻可滿足要求。此外還應(yīng)給出預(yù)置數(shù),對(duì)應(yīng)不同的預(yù)置數(shù),只需加載不同的預(yù)置數(shù)即可。采用加載預(yù)置數(shù)實(shí)現(xiàn)分頻的方法比

24、采用反饋復(fù)零法節(jié)省資源,實(shí)現(xiàn)起來(lái)更加容易。音名分頻比預(yù)置數(shù)音名分頻比預(yù)置數(shù)音名分頻比預(yù)置數(shù)低音1114684915中音1573610647高音1286713516低音2102156168中音2511111272高音2255413829低音391027281中音3455211831高音3227414109低音485917792中音4428912094高音4214814235低音576538730中音5382712556高音5191314470低音668189565中音6340912947高音6170514678低音7607310310中音7303713346高音7151914864l 音長(zhǎng)的控制

25、音符的持續(xù)時(shí)間須根據(jù)音樂(lè)的速度及每個(gè)音符的節(jié)拍數(shù)來(lái)確定。如果設(shè)定全音符的持續(xù)時(shí)間為1S的話,假設(shè)產(chǎn)生4分音符,則產(chǎn)生四分頻即可實(shí)現(xiàn)四分音符的時(shí)長(zhǎng),并提供4HZ分頻器。如圖為樂(lè)曲演奏的原理圖,其中,樂(lè)譜產(chǎn)生電路用來(lái)控制音樂(lè)的音調(diào)和時(shí)長(zhǎng)??刂埔粽{(diào)通過(guò)設(shè)置計(jì)數(shù)器的預(yù)置數(shù)來(lái)實(shí)現(xiàn),預(yù)置不同的數(shù)值會(huì)可以使計(jì)數(shù)器產(chǎn)生不同頻率的信號(hào),從而產(chǎn)生不同的音調(diào)??刂埔糸L(zhǎng)是通過(guò)控制計(jì)數(shù)器預(yù)置數(shù)的停留時(shí)間來(lái)實(shí)現(xiàn)的,預(yù)置數(shù)的停留時(shí)間越長(zhǎng),則該音符的演奏時(shí)間越長(zhǎng),如2分音符,在記譜時(shí)將該音符記錄兩次即可。2.總體方案 系統(tǒng)設(shè)計(jì)運(yùn)用了自上而下的模塊化設(shè)計(jì)思想,整個(gè)系統(tǒng)可分為分頻,播放,彈奏,顯示四個(gè)部分。1. 分頻部分分頻部分

26、為一個(gè)可預(yù)置數(shù)的加計(jì)數(shù)器、二分頻器和預(yù)置數(shù)選擇器。預(yù)置數(shù)選擇器選擇來(lái)自播放和彈奏部分的不同的預(yù)置數(shù)。從預(yù)置數(shù)起循環(huán)作加計(jì)數(shù),計(jì)到16383時(shí)產(chǎn)生一個(gè)高電平,否則得到低電平,將信號(hào)再進(jìn)行二分頻便可得到方波信號(hào)。預(yù)制數(shù)不同,產(chǎn)生的方波信號(hào)頻率也不同。因此,只要改變加計(jì)數(shù)器的預(yù)置數(shù),便可由6MHz的時(shí)鐘信號(hào)分頻得到不同頻率的方波。將方波信號(hào)輸出到揚(yáng)聲器,便可發(fā)出不同音調(diào)的聲音。2. 播放部分播放部分為一個(gè)節(jié)拍發(fā)生器、預(yù)置數(shù)獲得器和一個(gè)存儲(chǔ)器。節(jié)拍發(fā)生器將一個(gè)64Hz的時(shí)鐘信號(hào)分為32Hz,16Hz,8Hz和4Hz的信號(hào),以適應(yīng)不同歌曲的播放速度。預(yù)置數(shù)獲得器將音階信號(hào)轉(zhuǎn)換為對(duì)應(yīng)的預(yù)置數(shù)。存儲(chǔ)器將歌曲

27、的預(yù)置數(shù)傳送給分頻器,實(shí)現(xiàn)曲目的不同音調(diào)和音長(zhǎng)。3. 彈奏部分彈奏部分有十四個(gè)按鍵,每個(gè)按鍵對(duì)應(yīng)一個(gè)音階,及對(duì)應(yīng)一個(gè)預(yù)置數(shù),將預(yù)置數(shù)傳遞給分頻部分便可得到不同頻率的方波,從而產(chǎn)生不同的音調(diào)。4. 顯示部分在進(jìn)行音樂(lè)播放或彈奏時(shí),將產(chǎn)生的預(yù)置數(shù)傳遞給此模塊。根據(jù)不同的預(yù)置數(shù),產(chǎn)生不同的信號(hào),輸出到數(shù)碼管,便可顯示出音階數(shù)字。5. 功能仿真(1) 綜合仿真結(jié)果:設(shè)置輸入信號(hào)key1為高電平,此時(shí)設(shè)置key=8192,即key2=1,key3key15=0。功能為播放第一首歌,在仿真結(jié)束后,如圖示,fout為蜂鳴器的輸出,led為數(shù)碼管顯示。如圖示也正確,所以本設(shè)計(jì)經(jīng)過(guò)仿真證明正確可行。(2) 總電

28、路原理圖(3)引腳分配輸入信號(hào):1個(gè)6MHz時(shí)鐘信號(hào),1個(gè)64Hz時(shí)鐘信號(hào),1個(gè)功能選擇按鍵,14個(gè)彈奏(選擇)按鍵;輸出信號(hào):3個(gè)數(shù)碼管輸出,一個(gè)蜂鳴器輸出聲音。五、實(shí)驗(yàn)結(jié)果在編譯并仿真后下載,通過(guò)硬件測(cè)試,實(shí)驗(yàn)達(dá)到預(yù)期效果,當(dāng)key1=0時(shí),通過(guò)key2key15這14個(gè)按鍵的鍵入蜂鳴器可以發(fā)出中音及高音的doxi十四個(gè)音階的音,即表示了電子琴的彈奏功能;當(dāng)key1=1時(shí),key2=1時(shí)播放了第一首歌;key3=1時(shí),播放了第二首歌;key4=1時(shí),播放第三首歌;key5=1時(shí),播放了第四首歌。發(fā)出聲音的同時(shí),數(shù)碼管可以顯示不同的代表音符的數(shù)字。通過(guò)硬件的測(cè)試,所有的設(shè)計(jì)目標(biāo)均實(shí)現(xiàn)。六、方

29、案優(yōu)化若采用正弦波代替方波來(lái)驅(qū)動(dòng)揚(yáng)聲器將會(huì)有更好的效果。七、心得體會(huì)本次設(shè)計(jì)要用quartusII軟件,由于之前對(duì)此軟件不是太熟悉所以導(dǎo)致了一些錯(cuò)誤和問(wèn)題的發(fā)生,所以這次課程設(shè)計(jì)中認(rèn)真學(xué)習(xí)了quartusII軟件的具體使用步驟和操作流程,對(duì)所有可能出現(xiàn)的問(wèn)題進(jìn)行逐一攻破。通過(guò)這次實(shí)驗(yàn),我不但熟悉了quartusII軟件,也了解了開(kāi)發(fā)的最基本流程和方法,也進(jìn)一步加深了對(duì)Verilog編程語(yǔ)言的理解,最重要的是鍛煉了我獨(dú)立思考和分析的邏輯能力,通過(guò)從頂向下的設(shè)計(jì)方法,一步步實(shí)現(xiàn),然后將整個(gè)設(shè)計(jì)串套起來(lái),是我對(duì)設(shè)計(jì)的流程以及編程有了很大的提高。附錄:1.VHDL源程序module change_fe

30、npinbi(clk_6m,prenum,tofout);/通過(guò)預(yù)置數(shù)改變分頻比;input clk_6m;input 13:0prenum;output tofout;wire clk_6m;reg 13:0divider;reg tofout;always(posedge clk_6m)beginif(divider=16383)begintofout=1'b1;divider=prenum;endelsebegintofout=1'b0;divider=divider+14'd1;endendendmodule module er_fen_pin(tofout,f

31、out); /二分頻模塊;input tofout;output fout;reg fout;always(posedge tofout)beginfout=fout;endendmodulemodule fenpin(clk_64,clk_16,clk_8,clk_4); /獲得適應(yīng)不同曲目不同的時(shí)鐘信號(hào);input clk_64;output clk_16,clk_8,clk_4;wire clk_64;reg clk_32,clk_16,clk_8,clk_4;reg counter2;reg 1:0counter4;always(posedge clk_64)beginclk_32=c

32、lk_32;endalways(posedge clk_32)begin clk_16=clk_16;if(counter2=1'b1)beginclk_8=clk_8;counter2=1'b0;endelsecounter2=counter2+1'b1;if(counter4=2'd3)beginclk_4=clk_4;counter4=2'd0;endelsecounter4=counter4+2'd1;endendmodulemodule get_prenum(clk_sing,scale,prenum_s);/將音階信號(hào)轉(zhuǎn)換為預(yù)置數(shù);i

33、nput clk_sing;input 4:0scale;output 13:0prenum_s;wire clk_sing;wire 4:0scale;reg 13:0prenum_s;always(posedge clk_sing)begincase(scale)5'd0:prenum_s=14'd16383;5'd1:prenum_s=14'd4915;5'd2:prenum_s=14'd6168;5'd3:prenum_s=14'd7281;5'd4:prenum_s=14'd7792;5'd5:p

34、renum_s=14'd8730;5'd6:prenum_s=14'd9565;5'd7:prenum_s=14'd10301;5'd8:prenum_s=14'd10647;5'd9:prenum_s=14'd11272;5'd10:prenum_s=14'd11831;5'd11:prenum_s=14'd12074;5'd12:prenum_s=14'd12556;5'd13:prenum_s=14'd12974;5'd14:prenum_s=1

35、4'd13346;5'd15:prenum_s=14'd13516;5'd16:prenum_s=14'd13829;5'd17:prenum_s=14'd14109;5'd18:prenum_s=14'd14235;5'd19:prenum_s=14'd14470;5'd20:prenum_s=14'd14678;5'd21:prenum_s=14'd14846;endcaseend endmodulemodule premusic(clk_16,clk_8,clk_4,k

36、ey,clk_sing,scale); /預(yù)置曲目模塊;input clk_16,clk_8,clk_4;input 13:0key;output 4:0scale;output clk_sing;reg clk_sing;reg 4:0scale;reg 4:0scale1;reg 4:0scale2;reg 4:0scale3;reg 4:0scale4;reg 7:0counter8_1;reg 7:0counter8;reg 8:0counter9;reg 8:0counter9_1;always(key)/選擇曲目;begincase(key)14'd8192:begin s

37、cale=scale1;clk_sing=clk_4;end14'd4096:Beginscale=scale2;clk_sing=clk_4;end14'd512: begin scale=scale3;clk_sing=clk_8;end14'd1024: Beginscale=scale4;clk_sing=clk_8;enddefault:begin scale=5'd0;clk_sing=clk_4;endendcaseendalways(posedge clk_4)/梁祝;beginif(counter8=8'd134)counter8=8&

38、#39;d0;elsecounter8=counter8+8'd1;case(counter8)8'd0: scale1=5'd3;8'd1: scale1=5'd3;8'd2: scale1=5'd3;8'd3: scale1=5'd3;8'd4: scale1=5'd5;8'd5: scale1=5'd5;8'd6: scale1=5'd5;8'd7: scale1=5'd6;8'd8: scale1=5'd8;8'd9: scal

39、e1=5'd8;8'd10: scale1=5'd8;8'd11: scale1=5'd9;8'd12: scale1=5'd6;8'd13: scale1=5'd8;8'd14: scale1=5'd5;8'd15: scale1=5'd5;8'd16: scale1=5'd12;8'd17: scale1=5'd12;8'd18: scale1=5'd12;8'd19: scale1=5'd15;8'd20: sca

40、le1=5'd13;8'd21: scale1=5'd12;8'd22: scale1=5'd10;8'd23: scale1=5'd12;8'd24: scale1=5'd9;8'd25: scale1=5'd9;8'd26: scale1=5'd9;8'd27: scale1=5'd9;8'd28: scale1=5'd9;8'd29: scale1=5'd9;8'd30: scale1=5'd0;8'd31: sc

41、ale1=5'd0;8'd32: scale1=5'd9;8'd33: scale1=5'd9;8'd34: scale1=5'd9;8'd35: scale1=5'd10;8'd36: scale1=5'd7;8'd37: scale1=5'd7;8'd38: scale1=5'd6;8'd39: scale1=5'd6;8'd40: scale1=5'd5;8'd41: scale1=5'd5;8'd42: scal

42、e1=5'd5;8'd43: scale1=5'd6;8'd44: scale1=5'd8;8'd45: scale1=5'd8;8'd46: scale1=5'd9;8'd47: scale1=5'd9;8'd48: scale1=5'd3;8'd49: scale1=5'd3;8'd50: scale1=5'd8;8'd51: scale1=5'd8;8'd52: scale1=5'd6;8'd53: scale1=

43、5'd5;8'd54: scale1=5'd6;8'd55: scale1=5'd8;8'd56: scale1=5'd5;8'd57: scale1=5'd5;8'd58: scale1=5'd5;8'd59: scale1=5'd5;8'd60: scale1=5'd5;8'd61: scale1=5'd5;8'd62: scale1=5'd5;8'd63: scale1=5'd5;8'd64: scale1=5&#

44、39;d10;8'd65: scale1=5'd10;8'd66: scale1=5'd10;8'd67: scale1=5'd12;8'd68: scale1=5'd7;8'd69: scale1=5'd7;8'd70: scale1=5'd9;8'd71: scale1=5'd9;8'd72: scale1=5'd6;8'd73: scale1=5'd8;8'd74: scale1=5'd5;8'd75: scale1=5&

45、#39;d5;8'd76: scale1=5'd5;8'd77: scale1=5'd5;8'd78: scale1=5'd0;8'd79: scale1=5'd0;8'd80: scale1=5'd3;8'd81: scale1=5'd5;8'd82: scale1=5'd5;8'd83: scale1=5'd3;8'd84: scale1=5'd5;8'd85: scale1=5'd6;8'd86: scale1=5'

46、;d7;8'd87: scale1=5'd9;8'd88: scale1=5'd6;8'd89: scale1=5'd6;8'd90: scale1=5'd6;8'd91: scale1=5'd6;8'd92: scale1=5'd6;8'd93: scale1=5'd6;8'd94: scale1=5'd5;8'd95: scale1=5'd6;8'd96: scale1=5'd8;8'd97: scale1=5'd8

47、;8'd98: scale1=5'd8;8'd99: scale1=5'd9;8'd100: scale1=5'd12;8'd101: scale1=5'd12;8'd102: scale1=5'd10;8'd103: scale1=5'd10;8'd104: scale1=5'd9;8'd105: scale1=5'd9;8'd106: scale1=5'd10;8'd107: scale1=5'd9;8'd108: scal

48、e1=5'd8;8'd109: scale1=5'd8;8'd110: scale1=5'd6;8'd111: scale1=5'd5;8'd112: scale1=5'd3;8'd113: scale1=5'd3;8'd114: scale1=5'd3;8'd115: scale1=5'd3;8'd116: scale1=5'd8;8'd117: scale1=5'd8;8'd118: scale1=5'd8;8'd1

49、19: scale1=5'd8;8'd120: scale1=5'd6;8'd121: scale1=5'd8;8'd122: scale1=5'd6;8'd123: scale1=5'd5;8'd124: scale1=5'd3;8'd125: scale1=5'd5;8'd126: scale1=5'd6;8'd127: scale1=5'd8;8'd128: scale1=5'd5;8'd129: scale1=5'd5;

50、8'd130: scale1=5'd5;8'd131: scale1=5'd5;8'd132: scale1=5'd5;8'd133: scale1=5'd5;8'd134: scale1=5'd0;8'd135: scale1=5'd0;default:scale1=5'd0;endcaseendalways(posedge clk_4) /小情歌;begin if(counter9=9'd334)counter9=9'd0;elsecounter9=counter9+9&

51、#39;d1;case(counter9)9'd0: scale2=5'd0;9'd1: scale2=5'd0;9'd2: scale2=5'd15;9'd3: scale2=5'd14;9'd4: scale2=5'd15;9'd5: scale2=5'd15;9'd6: scale2=5'd14;9'd7: scale2=5'd14;9'd8: scale2=5'd15;9'd9: scale2=5'd15;9'd10:

52、scale2=5'd14;9'd11: scale2=5'd14;9'd12: scale2=5'd12;9'd13: scale2=5'd12;9'd14: scale2=5'd10;9'd15: scale2=5'd10;9'd16: scale2=5'd12;9'd17: scale2=5'd12;9'd18: scale2=5'd12;9'd19: scale2=5'd12;9'd20: scale2=5'd14;9&#

53、39;d21: scale2=5'd14;9'd22: scale2=5'd14;9'd23: scale2=5'd14;9'd24: scale2=5'd13;9'd25: scale2=5'd13;9'd26: scale2=5'd13;9'd27: scale2=5'd13;9'd28: scale2=5'd13;9'd29: scale2=5'd13;9'd30: scale2=5'd13;9'd31: scale2=5'

54、;d13;9'd32: scale2=5'd0;9'd33: scale2=5'd0;9'd34: scale2=5'd15;9'd35: scale2=5'd14;9'd36: scale2=5'd15;9'd37: scale2=5'd15;9'd38: scale2=5'd14;9'd39: scale2=5'd14;9'd40: scale2=5'd15;9'd41: scale2=5'd15;9'd42: scale2

55、=5'd14;9'd43: scale2=5'd14;9'd44: scale2=5'd15;9'd45: scale2=5'd15;9'd46: scale2=5'd17;9'd47: scale2=5'd0;9'd48: scale2=5'd17;9'd49: scale2=5'd17;9'd50: scale2=5'd17;9'd51: scale2=5'd17;9'd52: scale2=5'd17;9'd53:

56、 scale2=5'd17;9'd54: scale2=5'd17;9'd55: scale2=5'd17;9'd56: scale2=5'd0;9'd57: scale2=5'd0;9'd58: scale2=5'd0;9'd59: scale2=5'd0;9'd60: scale2=5'd0;9'd61: scale2=5'd13;9'd62: scale2=5'd15;9'd63: scale2=5'd13;9'd

57、64: scale2=5'd15;9'd65: scale2=5'd15;9'd66: scale2=5'd15;9'd67: scale2=5'd15;9'd68: scale2=5'd15;9'd69: scale2=5'd15;9'd70: scale2=5'd16;9'd71: scale2=5'd17;9'd72: scale2=5'd16;9'd73: scale2=5'd16;9'd74: scale2=5'd16

58、;9'd75: scale2=5'd16;9'd76: scale2=5'd0;9'd77: scale2=5'd12;9'd78: scale2=5'd14;9'd79: scale2=5'd12;9'd80: scale2=5'd14;9'd81: scale2=5'd14;9'd82: scale2=5'd14;9'd83: scale2=5'd14;9'd84: scale2=5'd16;9'd85: scale2=5&

59、#39;d16;9'd86: scale2=5'd15;9'd87: scale2=5'd0;9'd88: scale2=5'd15;9'd89: scale2=5'd15;9'd90: scale2=5'd15;9'd91: scale2=5'd15;9'd92: scale2=5'd15;9'd93: scale2=5'd15;9'd94: scale2=5'd15;9'd95: scale2=5'd15;9'd96: sc

60、ale2=5'd17;9'd97: scale2=5'd17;9'd98: scale2=5'd17;9'd99: scale2=5'd16;9'd100: scale2=5'd16;9'd101: scale2=5'd16;9'd102: scale2=5'd15;9'd103: scale2=5'd15;9'd104: scale2=5'd16;9'd105: scale2=5'd16;9'd106: scale2=5'd1

61、6;9'd107: scale2=5'd15;9'd108: scale2=5'd15;9'd109: scale2=5'd15;9'd110: scale2=5'd12;9'd111: scale2=5'd12;9'd112: scale2=5'd12;9'd113: scale2=5'd12;9'd114: scale2=5'd12;9'd115: scale2=5'd12;9'd116: scale2=5'd12;9'd1

62、17: scale2=5'd15;9'd118: scale2=5'd14;9'd119: scale2=5'd13;9'd120: scale2=5'd12;9'd121: scale2=5'd12;9'd122: scale2=5'd12;9'd123: scale2=5'd12;9'd124: scale2=5'd12;9'd125: scale2=5'd12;9'd126: scale2=5'd12;9'd127: scale2

63、=5'd12;9'd128: scale2=5'd0;9'd129: scale2=5'd0;9'd130: scale2=5'd15;9'd131: scale2=5'd14;9'd132: scale2=5'd15;9'd133: scale2=5'd15;9'd134: scale2=5'd14;9'd135: scale2=5'd14;9'd136: scale2=5'd15;9'd137: scale2=5'd15;9

64、'd138: scale2=5'd14;9'd139: scale2=5'd14;9'd140: scale2=5'd12;9'd141: scale2=5'd12;9'd142: scale2=5'd10;9'd143: scale2=5'd10;9'd144: scale2=5'd12;9'd145: scale2=5'd12;9'd146: scale2=5'd12;9'd147: scale2=5'd12;9'd148:

65、 scale2=5'd14;9'd149: scale2=5'd14;9'd150: scale2=5'd14;9'd151: scale2=5'd14;9'd152: scale2=5'd15;9'd153: scale2=5'd15;9'd154: scale2=5'd15;9'd155: scale2=5'd15;9'd156: scale2=5'd15;9'd157: scale2=5'd15;9'd158: scale2=5&

66、#39;d15;9'd159: scale2=5'd15;9'd159: scale2=5'd0;9'd160: scale2=5'd0;9'd161: scale2=5'd15;9'd162: scale2=5'd14;9'd163: scale2=5'd15;9'd164: scale2=5'd15;9'd165: scale2=5'd14;9'd166: scale2=5'd14;9'd167: scale2=5'd15;9

67、9;d168: scale2=5'd15;9'd169: scale2=5'd14;9'd170: scale2=5'd14;9'd171: scale2=5'd15;9'd172: scale2=5'd15;9'd173: scale2=5'd17;9'd174: scale2=5'd20;9'd175: scale2=5'd19;9'd176: scale2=5'd19;9'd177: scale2=5'd19;9'd178: sc

68、ale2=5'd19;9'd179: scale2=5'd19;9'd180: scale2=5'd19;9'd181: scale2=5'd19;9'd182: scale2=5'd19;9'd183: scale2=5'd19;9'd184: scale2=5'd19;9'd185: scale2=5'd19;9'd186: scale2=5'd19;9'd187: scale2=5'd0;9'd188: scale2=5'

69、d19;9'd189: scale2=5'd18;9'd190: scale2=5'd17;9'd191: scale2=5'd18;9'd192: scale2=5'd18;9'd193: scale2=5'd18;9'd194: scale2=5'd18;9'd195: scale2=5'd18;9'd196: scale2=5'd18;9'd197: scale2=5'd19;9'd198: scale2=5'd19;9'

70、d199: scale2=5'd16;9'd200: scale2=5'd16;9'd201: scale2=5'd16;9'd202: scale2=5'd16;9'd203: scale2=5'd0;9'd204: scale2=5'd18;9'd205: scale2=5'd17;9'd206: scale2=5'd16;9'd207: scale2=5'd17;9'd208: scale2=5'd17;9'd209: scale

71、2=5'd17;9'd210: scale2=5'd17;9'd211: scale2=5'd16;9'd212: scale2=5'd16;9'd213: scale2=5'd16;9'd214: scale2=5'd15;9'd215: scale2=5'd15;9'd216: scale2=5'd15;9'd217: scale2=5'd15;9'd218: scale2=5'd15;9'd219: scale2=5'd1

72、5;9'd220: scale2=5'd15;9'd221: scale2=5'd15;9'd222: scale2=5'd15;9'd223: scale2=5'd17;9'd224: scale2=5'd17;9'd225: scale2=5'd17;9'd226: scale2=5'd16;9'd227: scale2=5'd16;9'd228: scale2=5'd16;9'd229: scale2=5'd17;9'd2

73、30: scale2=5'd17;9'd231: scale2=5'd18;9'd232: scale2=5'd18;9'd233: scale2=5'd18;9'd234: scale2=5'd17;9'd235: scale2=5'd17;9'd236: scale2=5'd17;9'd237: scale2=5'd15;9'd238: scale2=5'd15;9'd239: scale2=5'd16;9'd240: scale2

74、=5'd16;9'd241: scale2=5'd16;9'd242: scale2=5'd16;9'd243: scale2=5'd16;9'd244: scale2=5'd16;9'd245: scale2=5'd16;9'd246: scale2=5'd16;9'd247: scale2=5'd0;9'd248: scale2=5'd0;9'd249: scale2=5'd12;9'd250: scale2=5'd12;9

75、'd251: scale2=5'd0;9'd252: scale2=5'd13;9'd253: scale2=5'd15;9'd254: scale2=5'd15;9'd255: scale2=5'd0;9'd256: scale2=5'd17;9'd257: scale2=5'd17;9'd258: scale2=5'd0;9'd259: scale2=5'd17;9'd260: scale2=5'd17;9'd261: sc

76、ale2=5'd16;9'd262: scale2=5'd15;9'd263: scale2=5'd17;9'd264: scale2=5'd16;9'd265: scale2=5'd15;9'd266: scale2=5'd17;9'd267: scale2=5'd17;9'd268: scale2=5'd16;9'd269: scale2=5'd15;9'd270: scale2=5'd0;9'd271: scale2=5'

77、d15;9'd272: scale2=5'd0;9'd273: scale2=5'd15;9'd274: scale2=5'd13;9'd275: scale2=5'd15;9'd276: scale2=5'd16;9'd277: scale2=5'd17;9'd278: scale2=5'd0;9'd279: scale2=5'd17;9'd280: scale2=5'd17;9'd281: scale2=5'd17;9'd2

78、82: scale2=5'd17;9'd283: scale2=5'd0;9'd284: scale2=5'd12;9'd285: scale2=5'd13;9'd286: scale2=5'd15;9'd287: scale2=5'd0;9'd288: scale2=5'd0;9'd289: scale2=5'd15;9'd290: scale2=5'd13;9'd291: scale2=5'd15;9'd292: scale2=5&

79、#39;d16;9'd293: scale2=5'd17;9'd294: scale2=5'd16;9'd295: scale2=5'd17;9'd296: scale2=5'd12;9'd297: scale2=5'd12;9'd298: scale2=5'd12;9'd299: scale2=5'd0;9'd300: scale2=5'd12;9'd301: scale2=5'd13;9'd302: scale2=5'd15;9&#

80、39;d303: scale2=5'd0;9'd304: scale2=5'd0;9'd305: scale2=5'd15;9'd306: scale2=5'd13;9'd307: scale2=5'd15;9'd308: scale2=5'd16;9'd309: scale2=5'd17;9'd310: scale2=5'd16;9'd311: scale2=5'd17;9'd312: scale2=5'd0;9'd313: scal

81、e2=5'd16;9'd314: scale2=5'd16;9'd315: scale2=5'd15;9'd316: scale2=5'd15;9'd317: scale2=5'd16;9'd318: scale2=5'd16;9'd319: scale2=5'd15;9'd320: scale2=5'd15;9'd321: scale2=5'd15;9'd322: scale2=5'd15;9'd323: scale2=5'd

82、15;9'd324: scale2=5'd15;9'd325: scale2=5'd15;9'd326: scale2=5'd15;9'd327: scale2=5'd15;9'd328: scale2=5'd15;9'd329: scale2=5'd15;9'd330: scale2=5'd15;9'd331: scale2=5'd15;9'd332: scale2=5'd15;9'd333: scale2=5'd15;9'd334: scale2=5'd15;default:scale2=5'd0;endcaseendalways(posedge clk_8) /真的愛(ài)你;beginif(counter8_1=8'd159)counter8_1=8'd0;elsecounter8_1=counter8_1+8'd1;case(counter8_1)8'd0: scale3=5'd0;8'd1: scale3=5'd0;8'd2: scale3=5'd0;8'd3: scale3=5&#

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論