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

正文內(nèi)容

基于cpld的路燈控制系統(tǒng)設(shè)計(jì)-資料下載頁(yè)

2025-11-07 20:41本頁(yè)面

【導(dǎo)讀】接口,是電子設(shè)計(jì)自動(dòng)化的關(guān)鍵技術(shù)之一。它采用一種自上而下。為若干子模塊,最后完成系統(tǒng)硬件的整體設(shè)計(jì)。它支持設(shè)計(jì)庫(kù)和可重復(fù)使用的元。件生成,支持階層設(shè)計(jì),提供模塊設(shè)計(jì)的創(chuàng)建。VHDL設(shè)計(jì)技術(shù)對(duì)可編程專用集成。電路的發(fā)展起著極為重要的作用。本文主要介紹以EP1C3/EP1C6芯片進(jìn)行十字路口的交通控制燈的設(shè)計(jì),該系統(tǒng)可控制2個(gè)方向的紅、黃、綠三盞燈,讓其按特定的規(guī)律進(jìn)行變化。MAX+PlusⅡ?qū)υO(shè)計(jì)結(jié)果進(jìn)行仿真,發(fā)現(xiàn)系統(tǒng)工作性能良好。該設(shè)計(jì)展示了VHDL語(yǔ)言的強(qiáng)大功能和優(yōu)秀特性。奏也越來(lái)越快,對(duì)設(shè)計(jì)開(kāi)發(fā)提出了更高的要求。持,既縮短了研發(fā)周期,又大大節(jié)約了成本,受到了電子工程師的青睞。從過(guò)去只能用來(lái)作為部分電子電路的取。代品,到現(xiàn)在可以實(shí)現(xiàn)SOPC,門數(shù)的增多意味著可以實(shí)現(xiàn)更多的功能。司更樂(lè)于設(shè)計(jì)IP核而不是單純的IC芯片,因?yàn)樗麄兛吹搅诉@是市場(chǎng)的發(fā)展方向。路并反復(fù)修改、制作電路。這將極大的降低了PCB的設(shè)計(jì)難度,有效地減少系統(tǒng)

  

【正文】 1”。 --則個(gè)位置 9 th:=th1。 --十位減 1 else tl:=tl1。 --個(gè)位減 1 end if。 else th:=”0000”。 tl:=”0000”。 --若計(jì)數(shù)值為 0 a:=’0’。 -- a 變?yōu)榈碗娖? state:=green。 --改為綠燈亮狀態(tài) 25 end if。 end if。 when yellow=if a=’0’ then -- 黃燈亮狀態(tài) th:=”0000”。 --若 a 為低電平 tl:=”0100”。 --置初值 4 a:=’1’。 -- a 變?yōu)楦唠娖? y=’1’。 -- 黃燈點(diǎn)亮 g=’0’。 -- 綠燈滅 else if not(th=”0000” and tl=”0001”) then --若計(jì)數(shù)值不為 1 if tl=”0000” then --若個(gè)位計(jì)數(shù)為 0 tl:=”1001”。 --則個(gè)位置 9 th:=th1。 --十位減 1 else tl:=tl1。 --個(gè)位減 1 end if。 else th:=”0000”。 tl:=”0000”。 --若計(jì)數(shù)值為 0 a:=’0’。 -- a 變?yōu)榈碗娖? state:=red。 --變?yōu)榧t燈亮狀態(tài) end if。 end if。 end case。 timh=th。 -- 計(jì)數(shù)值十位輸出 timl=tl。 end if。 -- 計(jì)數(shù)值個(gè)位輸出 end process。 end corn_arc。 附錄五: sel模塊 library ieee。 use 。 use 。 entity sel is port(clk:in std_logic。 26 sell:out std_logic_vector(2 downto 0))。 end sel。 architecture sel_arc of sel is begin process(clk) variable tmp:std_logic_vector(2 downto 0)。 begin if clk’event and clk=’1’ then --若 clk 上升沿到 if tmp=”000” then tmp:=”001”。 elsif tmp=”001” then tmp:=”100”。 elsif tmp=”100” then tmp:=”101”。 elsif tmp=”101” then tmp:=”000”。 end if。 end if。 sell=tmp。 -- 4 種狀態(tài)輸出 end process。 end sel_arc。 附錄六: ch41a 與 dispa 模塊 library ieee。 use 。 entity ch41a is port(sel:in std_logic_vector(2 downto 0)。 d0,d1,d2,d3:in std_logic_vector(3 downto 0)。 q:out std_logic_vector(3 downto 0))。 end ch41a。 architecture ch41_arc of ch41a is begin process(sel) begin case sel is when “100”=q=d2。 -- B 干道個(gè)位計(jì)時(shí) when “101”=q=d3。 -- B 干道十位計(jì)時(shí) when “000”=q=d0。 -- A 干道個(gè)位計(jì)時(shí) when others=q=d1。 -- A 干道十位計(jì)時(shí) 27 end case。 end process。 end ch41_arc。 library ieee。 use 。 entity dispa is port(d:in std_logic_vector(3 downto 0)。 q0,q1,q2,q3,q4,q5,q6:out std_logic)。 end dispa。 architecture dispa_arc of dispa is begin process(d) variable q:std_logic_vector(6 downto 0)。 begin case d is when”0000”=q:=”0111111”。 --顯示 0 when”0001”=q:=”0000110”。 --顯示 1 when”0010”=q:=”1011011”。 --顯示 2 when”0011”=q:=”1001111”。 --顯示 3 when”0100”=q:=”1100110”。 --顯示 4 when”0101”=q:=”1101101”。 --顯示 5 when”0110”=q:=”1111101”。 --顯示 6 when”0111”=q:=”0000111”。 --顯示 7 when”1000”=q:=”1111111”。 --顯示 8 when others=q:=”1101111”。 --顯示 9 end case。 q0=q(0)。 q1=q(1)。 q2=q(2)。 q3=q(3)。 q4=q(4)。 q5=q(5)。 q6=q(6)。 --計(jì)數(shù)值輸出 end process。 end dispa_arc。 28 附錄七:與門、 或門及非門的實(shí)現(xiàn) Library ieee。 use 。 entity and2 is port(a,b:in std_logic。 y:out std_logic)。 --實(shí)體端口聲明 end and2。 architecture and2_arc of and2 is begin y=a and b。 end and2_arc。 Library ieee。 use 。 entity or2 is port(a,b:in std_logic。 y:out std_logic)。 --實(shí)體端口聲明 end or2。 architecture or2_arc of or2 is begin y=a or b。 end or2_arc。 Library ieee。 use 。 entity inv is port(a:in std_logic。 --實(shí)體端口聲明 y:out std_logic)。 end inv。 architecture inv_arc of inv is begin process begin if a=’1’ then --如果 a 為 1 y=’0’。 --輸出為 0 else --否則 y=’1’。 --輸出為 1 end if。 end process。 end inv。 29 附錄八:交通燈硬件系統(tǒng)示意圖 1 2 3 4 5 6ABCD654321DCBAT i t l eN u m be r R e v i s i o nS i z eBD a t e : 1 2 J u n 2 0 08 S he e t o f F i l e : H : \ 畢業(yè)設(shè)計(jì) \ 電路圖 \ 硬件系統(tǒng)圖 .D D B D r a w n B y:A 干道 B 干道紅黃綠紅黃綠晶體振蕩器 分頻器L B1L B2L B3L A 1L A 2L A 3CL KabcdefghabfcgdeV C C1234567abcdefg8dpdp9abfcgdeV C C1234567abcdefg8dpdp9abfcgdeV C C1234567abcdefg8dpdp9abfcgdeV C C1234567abcdefg8dpdp9Ms 4 Ms 3 Ms 2 Ms 1ENK1RE SE TK2E P 1 C 3 / E P 1 C6 圖 33 交通燈硬件系統(tǒng)示意圖
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1