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

正文內(nèi)容

基于fpga的數(shù)字時鐘的設(shè)計論文-在線瀏覽

2025-08-05 14:12本頁面
  

【正文】 arc。(2)秒模塊(second)1)程序:library ieee。use 。 qa:out std_logic_vector(3 downto 0)。 qb:out std_logic_vector(3 downto 0))。architecture cc of second issignal cout2,cout1:std_logic_vector(3 downto 0)。beginprocess(clk1,en1)beginif en1=39。 thencout2=0000。elsif (clk139。139。cout1=cout1+1。139。cout1=0000。039。cout1=0000。039。cout1=cout1+1。039。end if。end process。qa=cout2。end cc。(3)分模塊(minute)1)程序:library ieee。use 。 qc:out std_logic_vector(3 downto 0)。 qd:out std_logic_vector(3 downto 0))。architecture bb of minute issignal cout2,cout1:std_logic_vector(3 downto 0)。beginprocess(clk2,en2)beginif en2=39。 thenif (clk239。139。cout1=cout1+1。139。cout1=0000。039。cout1=0000。039。cout1=cout1+1。039。end if。 end if。co2=cc。qd=cout1。從仿真波形可知,該設(shè)計時正確的。use 。entity hour is port (clk3,en3:in std_logic。 qf:out std_logic_vector(3 downto 0))。architecture aa of hour issignal cout2,cout1:std_logic_vector(3 downto 0)。139。event and clk3=39。)thenif (cout2=4 and cout1=0) then cout2=0000。else if (cout1=9) then cout2=cout2+1。 else cout2=cout2。 end if。end if。end process。qf=cout1。2)仿真波形:3) 仿真結(jié)果分析:這是一個24計數(shù)器,用來表示24小時,通過波形可知,程序設(shè)計正確,正常計時是每次清零后從00:00:00開始計時的,若要從預(yù)置時間開始,可以通過“校時”“校分”“清零”三個按鍵調(diào)整時間。use 。entity hhh isport(n1,n2,n3,n4,n5,n6:in std_logic_vector(3 downto 0)。 qqq:out std_logic_vector(3 downto 0))。architecture dd of hhh is begin with a selectqqq=n1 when 000, n2 when 001, n3 when 010, n4 when 011, n5 when 100, n6 when 101, 0000 when others。2)仿真波形:3) 仿真結(jié)果分析:其實這是一個選擇器,從波形圖可以很容易看出來。use 。entity ggg isport(m:in std_logic_vector(2 downto 0)。 end ggg。end ee。 (7)譯碼顯示模塊(display)1)程序:library ieee。use 。 y:out std_logic_vector(6 downto 0))。architecture one of decoder is begin with x selecty=1111110 when 0000, 0110000 when 0001, 1101101 when 0010, 1111001 when 0011, 0110011 when 0100, 1011011 when 0101, 1011111 when 0110, 1110000 when 0111, 1111111 when 1000, 1111011 when 1001, 0000000 when others。2)仿真波形:3) 仿真結(jié)果分析:此模塊是用來顯示時間的,采用動態(tài)顯示方式。use 。clk4:in std_logic。end sst。event and clk4=39。) then if ((h1=0000 and h0=0111 and m1=0000 and m0=0000) or (m1=0101 and m0=1001 and s1=0101 and s0=1001))then q500=39。 else q500=39。end if。end process。2) 仿真波形:3) 仿真結(jié)果分析:通過觀察波形可知,當(dāng)時鐘時間與整點或鬧鈴預(yù)設(shè)時間相同時,給出一個脈沖信號,使蜂鳴器鳴叫,實現(xiàn)整點報時和定時鬧鈴功能。use 。entity t6 is port (clk5:in std_logi
點擊復(fù)制文檔內(nèi)容
研究報告相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1