




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領
文檔簡介
1、動態(tài)數(shù)碼管 library IEEE;entity count1000 isport(clock:in std_logic;clk:out std_logic;end entity count1000;architecture one of count1000 issignal q:std_logic;beginprocess(clockvariable a:integer range 0 to 10000;beginif clock'event and clock='1' thenif a=10000 thena:=0;q<= not q;elsea:=a+1;
2、end if;end if;end process;clk<=q;end architecture one;library IEEE;entity count8 isport(clk:in std_logic;a:buffer std_logic_vector(2 downto 0; end entity count8;architecture one of count8 isbeginprocess(clkbeginif clk'event and clk='1' thenif a=7 thena<="000"elsea<=a+1
3、;end if;end if;end process;end one;library IEEE;entity seg7 isport(clk:in std_logic;q:out std_logic_vector(6 downto 0;end entity seg7;architecture one of seg7 issignal w:std_logic_vector(3 downto 0:="0000" beginprocess(clkbeginif clk'event and clk='1' thenif w="1111"
4、thenw<="0000"elsew<=w+1;end if;end if;end process;process(wbegincase w iswhen "0000"=> q<="1111110"when "0001"=> q<="0110000"when "0010"=> q<="1101101"when "0011"=> q<="1111001"whe
5、n "0100"=> q<="0110011" when "0101"=> q<="1011011" when "0110"=> q<="1011111"when "0111"=> q<="1110000"when "1000"=> q<="1111111"when "1001"=> q<="11
6、11011"when "1010"=> q<="1110011"when "1011"=> q<="0011111"when "1100"=> q<="1001110"when "1101"=> q<="0111101"when "1110"=> q<="1001111"when others=> q<="1000111"end case;end process;end one;library IEEE;port(clock:in std_logic;clk:out std_logic;end entity count1HZ;architecture one of count1HZ is signal q:std_logic;beginprocess(clockvariable a:integer range 0 to 10000000; beginif clock'event and clock='1'
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 航空航天復合材料 課件知識點1 聚合物基復合材料概論
- 山東醫(yī)專入學考試試題及答案
- 腫瘤防治與精準醫(yī)學前沿進展
- 自我意識心理健康教育
- 秩序隊員法律法規(guī)培訓
- 呼吸內(nèi)科門診病歷
- 中班藝術(shù)活動《冬天里的活動》
- 園區(qū)招商培訓計劃
- 2025年中國女性生物纖維素面膜行業(yè)市場全景分析及前景機遇研判報告
- 大班健康教案:冬季護膚品使用指南
- 2025至2030年中國玉米淀粉行業(yè)市場現(xiàn)狀分析及前景戰(zhàn)略研判報告
- 2025年江蘇高考政治試卷真題解讀及答案講解課件
- 2025高考全國一卷語文真題
- (完整版)學生課堂學習自我評價表
- 梁俊嬌稅收籌劃課后思考題
- DTLDTC帶式輸送機工藝流程圖
- 熒光綠送貨單樣本excel模板
- 有機化學概述
- 復盛零件手冊
- 內(nèi)外墻抹灰施工承包合同
- 《急救藥品》PPT課件.ppt
評論
0/150
提交評論