【正文】
同時(shí)感謝對(duì)我的設(shè)計(jì)中幫助過我的所有老師和同學(xué)。靳教授不僅在論文指導(dǎo)上給與我莫大的幫助,關(guān)心我們的課題,關(guān)心我們的畢業(yè)論文進(jìn)度,而且教會(huì)了我們做人的 道理,使我在批評(píng)中接受教訓(xùn),積累經(jīng)驗(yàn)。同時(shí)培養(yǎng)了我精益求精,嚴(yán)謹(jǐn)認(rèn)真的工作作風(fēng)。當(dāng)系統(tǒng)需要升級(jí)時(shí),也不需要對(duì)硬件電路重新設(shè)計(jì),只需通過修改中相應(yīng)模塊的配置文件,因此節(jié)約了控制器的升級(jí)成本。 結(jié)論: 通過實(shí)際驗(yàn)證和觀測(cè)實(shí)驗(yàn)結(jié)果,該設(shè)計(jì)能夠很好地執(zhí)行任務(wù)。 u15:ymq port map(s12,y4)。 u13:ymq port map(s10,y2)。 u11: shortage4 port map(s16,s8,s12)。 u9: shortage4 port map(s16,s6,s10)。 u7:t10 port map(s16,s15,s4=sm,’ 1’ ,s8)。 u5:t10 port map(s16,s15,s2=sm,s3,s6)。 u3:control port map(reset,ena,s14=clk,s16,s15)。 begin u1:count port map(reset,ena,clk,s1=clkout)。 signal s1,s2,s3,s4,s13,s14,s15,s16:in std_logic。 Y:out std_logic_vector(0 to 7) )。 end ponent c7。 c7: ponent div_17 is port(clk,ena,clr:in std_logic。 bout7:out std_logic_vector(0 to 6))。 end ponent c5。 D:in std_logic_vector(0 to 7)。 end ponent c4。 carryout:out std_logic。 end ponent c3。 c3: ponent control is port(reset,start,clk:in std_logic。 clkin:out std_logic)。 end ponent c1。 architecture art of dj is c1:ponent count is port(reset,ena,clk:in std_logic。 y5:out std_logic_vector( 0 to 7) )。 entity dj is port(ena,reset,clk,cp:in std_logic。 use 。 頂層文件設(shè)計(jì) library ieee。 WITH A SELECT Y= 00000001 WHEN 000,第四位亮 00000010 WHEN 001,第三位亮 00000100 WHEN 010,第二位亮 00001000 WHEN 011,第一位亮 ZZZZZZZZ WHEN OTHERs。 end if。 else A=A+1。139。 begin process(clk) begin if clk39。 end decoder。 entity decoder is port(clk:in std_logic。 use 。 掃描電路 library ieee。將第 17位送給輸出產(chǎn)生分頻 end architecture result。 end process。 end if。 else Q=Q+1。139。139。 elsif clk39。139。 architecture result of div_17 is signal Q:std_logic_vector(0 to 16)。 div_out:out std_logic)。 use 。 已調(diào)試 use 。 LED數(shù)碼管產(chǎn)生動(dòng)態(tài)顯示,其中分頻器產(chǎn)生的電路如圖所示 。 bout7=temp。當(dāng)為其它時(shí)置 0 end case。8 when1001=temp=1101111。6 when0111=temp=0000111。4 when0101=temp=1101101。2 when0011=temp=1001111。0 when0001=temp=0000110。 architecture cymq of ymq is signal temp:std_logic_vector(0 to 6)。 bout7:out std_logic_vector(0 to 6) )。 use 。 已調(diào)試 use 。 7段 共陰極 LED譯碼器 所生成的器件如圖示 單輸入單輸出,每次選定一個(gè)數(shù),對(duì)應(yīng)一七位數(shù)據(jù),然后將七位數(shù)據(jù)送