




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)
文檔簡介
PAGEPAGE1 西華大學(xué)實驗報告第組.第組實驗報告(計算機(jī)類)開課學(xué)院及實驗室:實驗時間:年月日學(xué)生姓名學(xué)號9成績學(xué)生所在學(xué)院年級/專業(yè)/班課程名稱EDA技術(shù)(機(jī)械)課程代碼實驗項目名稱16*16點(diǎn)陣顯示設(shè)計項目代碼指導(dǎo)教師項目學(xué)分一、實驗?zāi)康?.了解VHDL語言編程方法,學(xué)會熟練運(yùn)用quartus軟件2.了解點(diǎn)陣顯示原理3.了解如何使用VHDL設(shè)計一個16*16點(diǎn)陣顯示二、內(nèi)容與設(shè)計思想本設(shè)計針對一個16*16的點(diǎn)陣使用逐列循環(huán)掃描的方式來不間斷的顯示VHDL這四個英文字母。三、使用環(huán)境winXP或win7Quartusii編程環(huán)境核心代碼及調(diào)試過程16*16點(diǎn)陣顯示設(shè)計CHW模塊libraryieee;useieee.std_logic_1164.all;useieee.std_logic_unsigned.all;entitychwis port( clk:instd_logic; q:outstd_logic_vector(1downto0) );endchw;architecturechw_arcofchwisbegin Process(clk) variablecnt:std_logic_vector(3downto0); variabletmp:std_logic_vector(1downto0); begin ifclk'eventandclk='1'then ifcnt<"1111"then cnt:=cnt+1; else cnt:="0000"; iftmp="11"then tmp:="00"; else tmp:=tmp+1; endif; endif; endif; q<=tmp; endprocess;endchw_arc;CNTA模塊libraryieee;useieee.std_logic_1164.all;useieee.std_logic_unsigned.all;entitycntais port( clk:instd_logic; q:outstd_logic_vector(3downto0) );endcnta;architecturecnta_arcofcntaisbegin process(clk) variabletmp:std_logic_vector(3downto0); begin ifclk'eventandclk='1'then iftmp="1111"then tmp:="0000"; else tmp:=tmp+1; endif; endif; q<=tmp-1; endprocess;endcnta_arc;CORA模塊libraryieee;useieee.std_logic_1164.all;entitycorais port(ch:instd_logic_vector(1downto0); sel:instd_logic_vector(3downto0); q:outstd_logic_vector(15downto0) );endcora;architecturecora_arcofcoraisbegin process(ch,sel) begin casechis when"00"=> caseselis when"0000"=>q<="0111000000000000"; when"0001"=>q<="0111100000000000"; when"0010"=>q<="0001111000000000"; when"0011"=>q<="0000011110000000"; when"0100"=>q<="0000000111100000"; when"0101"=>q<="0000000001111000"; when"0110"=>q<="0000000000011110"; when"0111"=>q<="0000000000000111"; when"1000"=>q<="0000000000000111"; when"1001"=>q<="0000000000011110"; when"1010"=>q<="0000000001111000"; when"1011"=>q<="0000000111100000"; when"1100"=>q<="0000011110000000"; when"1101"=>q<="0001111000000000"; when"1110"=>q<="0111100000000000"; when"1111"=>q<="0111000000000000"; whenothers=>null; endcase; when"01"=> caseselis when"0000"=>q<="0000000000000000"; when"0001"=>q<="0000000000000000"; when"0010"=>q<="1111111111111111"; when"0011"=>q<="1111111111111111"; when"0100"=>q<="0000001110000000"; when"0101"=>q<="0000001110000000"; when"0110"=>q<="0000001110000000"; when"0111"=>q<="0000001110000000"; when"1000"=>q<="0000001110000000"; when"1001"=>q<="0000001110000000"; when"1010"=>q<="0000001110000000"; when"1011"=>q<="0000001110000000"; when"1100"=>q<="1111111111111111"; when"1101"=>q<="1111111111111111"; when"1110"=>q<="0000000000000000"; when"1111"=>q<="0000000000000000"; whenothers=>null; endcase; when"10"=> caseselis when"0000"=>q<="0000000000000000"; when"0001"=>q<="0000000000000000"; when"0010"=>q<="1111111111111111"; when"0011"=>q<="1111111111111111"; when"0100"=>q<="1100000000000011"; when"0101"=>q<="1100000000000011"; when"0110"=>q<="1100000000000011"; when"0111"=>q<="0110000000000110"; when"1000"=>q<="0110000000000110"; when"1001"=>q<="0110000000000110"; when"1010"=>q<="0011000000001100"; when"1011"=>q<="0001100000011000"; when"1100"=>q<="0000111111110000"; when"1101"=>q<="0000011111100000"; when"1110"=>q<="0000000000000000"; when"1111"=>q<="0000000000000000"; whenothers=>null; endcase; when"11"=> caseselis when"0000"=>q<="0000000000000000"; when"0001"=>q<="0000000000000000"; when"0010"=>q<="0000000000000000"; when"0011"=>q<="1111111111111111"; when"0100"=>q<="1111111111111111"; when"0101"=>q<="0000000000000011"; when"0110"=>q<="0000000000000011"; when"0111"=>q<="0000000000000011"; when"1000"=>q<="0000000000000011"; when"1001"=>q<="0000000000000011"; when"1010"=>q<="0000000000000011"; when"1011"=>q<="0000000000000111"; when"1100"=>q<="00000000000011
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 化工項目建設(shè)合同范本
- 0物業(yè)合同范本
- 廠家和平臺合同范本
- 吊車交易合同范例
- 吹塑加工采購合同范例
- 單位貨車出售合同范本
- 農(nóng)村公墓建設(shè)合同范本
- 信貸擔(dān)保合同范本
- 吊裝安裝服務(wù)合同范本
- 個人投資股票借款合同范本
- 《計算機(jī)組成原理》全冊詳解優(yōu)秀課件
- 管鏈輸送機(jī)設(shè)計
- 高中物理新課標(biāo)人教必修252平拋運(yùn)動(帶動畫和投彈游戲)課件
- 證券投資基金基礎(chǔ)知識歷年真題匯編(共712題)
- Python網(wǎng)絡(luò)爬蟲基礎(chǔ)教程PPT完整全套教學(xué)課件
- 冷藏藥品的儲存與運(yùn)輸管理培訓(xùn)
- 人文地理學(xué)期末考試試題
- 綜合性學(xué)習(xí)(復(fù)習(xí)指導(dǎo))【部編版七下語文期中 期末專題復(fù)習(xí)】一等獎創(chuàng)新教案
- 北師大版數(shù)學(xué)二年級上冊口算題練習(xí)(300道)可直接打印
- 西方音樂史完整演示文稿
- 2023年安徽省公務(wù)員錄用考試《行測》真題及答案解析
評論
0/150
提交評論