16×16點陣EDA課程設計報告_第1頁
16×16點陣EDA課程設計報告_第2頁
16×16點陣EDA課程設計報告_第3頁
16×16點陣EDA課程設計報告_第4頁
16×16點陣EDA課程設計報告_第5頁
已閱讀5頁,還剩3頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權,請進行舉報或認領

文檔簡介

EDA課程設計第1頁共8頁北華航天工業(yè)學院EDA綜合實踐總結報告綜合實踐名稱:EDA技術與實踐16×16點陣顯示綜合實驗綜合實踐地點、時間教二EDA實驗室

11-12-2學期第1專業(yè)班級:10241姓名:曹志鵬學號:20103024130同組人員:方斌指導教師姓名:薛瑞完成時間:2012年目錄一、綜合實踐的目的………………3二、綜合實踐理論基礎和核心內(nèi)容………………3三、綜合實踐具體內(nèi)容和記錄………3四、綜合實踐總結及分析…………7五、綜合實踐所需儀器設備………7六、參考資料………7七、成績評定表……………………8一、綜合實踐的目的1.熟悉MAX+PLUSⅡ編程環(huán)境。2.掌握MAX+PLUSⅡ原理圖輸入和文本輸入。3.掌握MAX+PLUSⅡ對設計文件的編譯和仿真。4.掌握VHDL語言中的順序語句和并行語句以及程序的基本結構。5.了解點陣屏顯示字符的原理與過程。二、綜合實踐理論基礎和核心內(nèi)容1.給點陣24HZ以上的列掃描信號,同時給行不同的字符編碼,從而讓點陣顯示不同的花色和字符2.用兩個三八譯碼器對四位二進制數(shù)進行譯碼從而實現(xiàn)16位二進制數(shù)的循環(huán)移位,以此作為16位列掃描信號。3.點陣控制器的rst時鐘輸入用來控制行依次亮滅的速度,因此其頻率必須小于24HZ以保證人眼能夠區(qū)分。4.din用來控制點陣顯示不同的字符和花色,應當在實驗開始前就接高電平或低電平,當din給低電平時,點陣的行從上往下依次點亮后又從下往上依次熄滅;當din給高電平時,點陣屏上循環(huán)顯示“中”“國”“人”三個字。三、綜合實踐具體內(nèi)容和記錄程序清單如下所示libraryieee;useieee.std_logic_1164.all;useieee.std_logic_unsigned.all;entitydianzhenisport(clk,rst:instd_logic;din:instd_logic;dotout:outstd_logic_vector(15downto0);selout:outstd_logic_vector(3downto0));enddianzhen;architectureaofdianzhenissignalq:std_logic_vector(1downto0);signalso:std_logic_vector(4downto0);signals:std_logic_vector(3downto0);beginK1:processbeginif rising_edge(clk)thenifs="1111"thens<="0000";elses<=s+1;endif;endif;selout<=s;endprocessK1; K2:processbeginifrising_edge(rst)thenifso="11111"thenso<="00000";elseso<=so+1;ifq="10"thenq<="00";elseq<=q+1;endif;endif;endif;ifdin='0'thencasesoiswhen"00000"=>dotout<="0000000000000001";when"00001"=>dotout<="0000000000000011";when"00010"=>dotout<="0000000000000111";when"00011"=>dotout<="0000000000001111";when"00100"=>dotout<="0000000000011111";when"00101"=>dotout<="0000000000111111";when"00110"=>dotout<="0000000001111111";when"00111"=>dotout<="0000000011111111";when"01000"=>dotout<="0000000111111111";when"01001"=>dotout<="0000001111111111";when"01010"=>dotout<="0000011111111111";when"01011"=>dotout<="0000111111111111";when"01100"=>dotout<="0001111111111111";when"01101"=>dotout<="0011111111111111";when"01110"=>dotout<="0111111111111111";when"01111"=>dotout<="1111111111111111";when"10000"=>dotout<="0111111111111111";when"10001"=>dotout<="0011111111111111";when"10010"=>dotout<="0001111111111111";when"10011"=>dotout<="0000111111111111";when"10100"=>dotout<="0000011111111111";when"10101"=>dotout<="0000001111111111";when"10110"=>dotout<="0000000111111111";when"10111"=>dotout<="0000000011111111";when"11000"=>dotout<="0000000001111111";when"11001"=>dotout<="0000000000111111";when"11010"=>dotout<="0000000000011111";when"11011"=>dotout<="0000000000001111";when"11100"=>dotout<="0000000000000111";when"11101"=>dotout<="0000000000000011";when"11110"=>dotout<="0000000000000001";when"11111"=>dotout<="0000000000000000";whenothers=>dotout<=null;endcase;elsifdin='1'thenifq="00"thencasesiswhen"1111"=>dotout<="0000000000000000";when"1110"=>dotout<="0000000000000000"; when"1101"=>dotout<="0000000000001000";when"1100"=>dotout<="0000011111111100"; when"1011"=>dotout<="0000001000001000";when"1010"=>dotout<="0000001000001000"; when"1001"=>dotout<="0000001000001000";when"1000"=>dotout<="1111111111111111"; when"0111"=>dotout<="0000001000001000"; when"0110"=>dotout<="0000001000001000";when"0101"=>dotout<="0000001000001000"; when"0100"=>dotout<="0000001000001000"; when"0011"=>dotout<="0000001000001000"; when"0010"=>dotout<="0000011111111100"; when"0001"=>dotout<="0000000000000000"; when"0000"=>dotout<="0000000000000000";whenothers=>dotout<=null;endcase;elsifq="01"thencasesiswhen"0000"=>dotout<="0000000000000000"; when"0001"=>dotout<="0000000000000000"; when"0010"=>dotout<="1111111111111110";when"0011"=>dotout<="0100000000000010";when"0100"=>dotout<="0100100000001010";when"0101"=>dotout<="0100100000001010";when"0110"=>dotout<="0100111010001010";when"0111"=>dotout<="0100100110001010";when"1000"=>dotout<="0100100010001010";when"1001"=>dotout<="0100111111111010";when"1010"=>dotout<="0100100010001010";when"1011"=>dotout<="0100100010001010";when"1100"=>dotout<="0100100010001010";when"1101"=>dotout<="0100100000001010";when"1110"=>dotout<="1111111111111110";when"1111"=>dotout<="0000000000000000";whenothers=>dotout<=null;endcase;elsifq="10"thencasesiswhen"0000"=>dotout<="0100000000000000";when"0001"=>dotout<="0010000000000000";when"0010"=>dotout<="0001000000000000";when"0011"=>dotout<="0000100000000000";when"0100"=>dotout<="0000010000000000";when"0101"=>dotout<="0000001000000000";when"0110"=>dotout<="0000000100000000";when"0111"=>dotout<="0000000011111111";when"1000"=>dotout<="0000000100000000";when"1001"=>dotout<="0000001000000000";when"1010"=>dotout<="0000010000000000";when"1011"=>dotout<="0000100000000000";when"1100"=>dotout<="0001000000000000";when"1101"=>dotout<="0010000000000000";when"1110"=>dotout<="0100000000000000";when"1111"=>dotout<="0100000000000000";whenothers=>dotout<=null;endcase;endif;endif;endprocessK2;enda;gdf原理圖如下圖所示:四、綜合實踐總結及分析1.通過軟件的仿真和硬件的驗證,實驗結果準確無誤,點陣屏顯示效果良好。2.通過此次EDA綜合實踐讓我更加深入的理解了點陣的顯示原理和可編程邏輯器件的工作過程,使我明白了作為一個程序設計人員要有認真細致的工作態(tài)度和充足的耐性。3.在此次綜合實踐中我們在老師的指導下不斷對程序和硬件進行改進和優(yōu)化,取得了顯著的成效,因此無論在以后的學習還是工作中我們都應該做到精益求精,從而使自己的知識結構不斷完善,是自己設計的產(chǎn)品符合

溫馨提示

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

評論

0/150

提交評論