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

正文內(nèi)容

基于vhdl交通燈信號(hào)控制器設(shè)計(jì)說明書(已改無錯(cuò)字)

2022-12-25 15:02:07 本頁面
  

【正文】 ena_one=not ena_one。 else clk_2hz_ff=clk_2hz_ff+1。 ena_two=39。039。 ena_one=ena_one。 end if。 end if。 end if。 end process。 ena_1hz=ena_one and ena_two and ena_s。 flash_1hz=ena_one。 end。 begin process(reset,clk) begin if reset=39。139。 then 2020屆本科生畢業(yè)論文(設(shè)計(jì)) 19 load=00000000。 elsif (clk39。event and clk=39。139。) then if (ena_scan=39。139。 and recount=39。139。) then case sign_state is when 000=load=conv_std_logic_vector(greensn_time,8)。 sign_state=“ 000”時(shí),南北方向綠燈亮 25s。 when 001=load=conv_std_logic_vector(yellowsn_time,8)。 sign_state=“ 001”時(shí),南北方向黃燈亮 5s。 when 010=load=conv_std_logic_vector(redsn_time,8)。 sign_state=“ 010”時(shí),南北方向紅燈亮 15s。 when 011=load=conv_std_logic_vector(redew_time,8)。 sign_state=“ 011”時(shí),東西方向紅燈亮 15s。 when 100=load=conv_std_logic_vector(yellowew_time,8)。 sign_state=“ 100”時(shí),東西方向黃燈亮 5s。 when 101=load=conv_std_logic_vector(greenew_time,8)。 sign_state=“ 101”時(shí),東西方向綠燈亮 25s。 when others=load=conv_std_logic_vector(yellowsn_time,8)。 end case。 計(jì)數(shù)秒數(shù)選擇電路程序代碼 library ieee。 use 。 use 。 entity hld2 is port(reset:in std_logic。 clk:in std_logic。 ena_scan:in std_logic。 recount:in std_logic。 sign_state:in std_logic_vector(2 downto 0)。 load:out std_logic_vector(7 downto 0))。 end。 architecture bhv of hld2 is constant redew_time:integer:=15。 constant yellowew_time:integer:=5。 constant greenew_time:integer:=25。 constant redsn_time:integer:=15。 constant yellowsn_time:integer:=5。 2020屆本科生畢業(yè)論文(設(shè)計(jì)) 20 constant greensn_time:integer:=25。 begin process(reset,clk) begin if reset=39。139。 then load=00000000。 elsif (clk39。event and clk=39。139。) then if (ena_scan=39。139。 and recount=39。139。) then case sign_state is when 000=load=conv_std_logic_vector(greensn_time,8)。 when 001=load=conv_std_logic_vector(yellowsn_time,8)。 when 010=load=conv_std_logic_vector(redsn_time,8)。 when 011=load=conv_std_logic_vector(redew_time,8)。 when 100=load=conv_std_logic_vector(yellowew_time,8)。 when 101=load=conv_std_logic_vector(greenew_time,8)。 when others=load=conv_std_logic_vector(yellowsn_time,8)。 end case。 end if。 end if。 end process。 end。 architecture bhv of hld2 is constant redew_time:integer:=15。東西方向紅燈設(shè)定為 15s。 constant yellowew_time:integer:=5。東西方向黃燈設(shè)定為 5s。 constant greenew_time:integer:=25。東西方向綠燈設(shè)定為 25s。 constant redsn_time:integer:=15。南北方向紅燈設(shè)定為 15s。 constant yellowsn_time:integer:=5。南北方向黃燈設(shè)定為 5s。 constant greensn_time:integer:=25。南北方向綠燈設(shè)定為 25s。 process(clk,reset) begin if (reset=39。139。) then t_ff=00000000。 led=0000000000000000000000000。 2020屆本科生畢業(yè)論文(設(shè)計(jì)) 21 elsif (clk39。event and clk=39。139。) then if ena_1hz=39。139。 then if (recount=39。139。) then t_ff=load1。 else t_ff=t_ff1。 end if。 end if。 case conv_integer(t_ff) is when 0=led(24 downto 0)=1000000000000000000000000。 when 1=led(24 downto 0)=1100000000000000000000000。 when 2=led(24 downto 0)=1110000000000000000000000。 when 3=led(24 downto 0)=1111000000000000000000000。 ?? when 23=led(24 downto 0)=1111111111111111111111110。 when 24=led(24 downto 0)=1111111111111111111111111。 when others=led(24 downto 0)=0000000000000000000000000。 end case。 倒計(jì)時(shí)控制電路程序代碼 library ieee。 use 。 use 。 use 。 entity hld3 is port(reset:in std_logic。 clk:in std_logic。 ena_1hz:in std_logic。 recount:in std_logic。 load:in std_logic_vector(7 downto 0)。 led:out std_logic_vector(24 downto 0)。 next_state:out std_logic)。 end。 architecture bhv of hld3 is signal t_ff:std_logic_vector(7 downto 0)。 begin process(clk,reset) begin 2020屆本科生畢業(yè)論文(設(shè)計(jì)) 22 if (reset=39。139。) then t_ff=00000000。 led=0000000000000000000000000。 elsif (clk39。event and clk=39。139。) then if ena_1hz=39。139。 then if (recount=39。139。) then t_ff=load1。 else t_ff=t_ff1。 end if。 end if。 case conv_integer(t_ff) is when 0=led(24 downto 0)=1000000000000000000000000。 when 1=led(24 downto 0)=1100000000000000000000000。 when 2=led(24 downto 0)=1110000000000000000000000。 when 3=led(24 downto 0)=1111000000000000000000000。 when 4=led(24 downto 0)=1111100000000000000000000。 when 5=led(24 downto 0)=1111110000000000000000000。 when 6=led(24 downto 0)=1111111000000000000000000。 when 7=led(24 downto 0)=1111111100000000000000000。 when 8=led(24 downto 0)=1111111110000000000000000。 when 9=led(24 downto 0)=1111111111000000000000000。 when 10=led(24 downto 0)=1111111111100000000000000。 when 11=led(24 downto 0)=1111111111110000000000000。 when 12=led(24 downto 0)=1111111111111000000000000。 when 13=led(24 downto 0)=1111111111111100000000000。 when 14=led(24 downto 0)=1111111111111110000000000。 when 15=led(24 downto 0)=1111111111111111000000000。 when 16=led(24 downto 0)=1111111111111111100000000。 when 17=led(24 downto 0)=1111111111111111110000000。 when 18=led(24 downto 0)=1111111111111111111000000。 when 19=led(24 downto 0)=1111111111111111111100000。 when 20=led(24 downto 0)=1111111111111111111110000。 when 21=led(24 downto 0)=1111111111111111111111000。 when 22=led(24 downto 0)=1111111111111111111111100。 when 23=led(24 downto 0)=1111111111111111111111110。 when 24=led(24 downto 0)=11111111111111111111111
點(diǎn)擊復(fù)制文檔內(nèi)容
高考資料相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1