基于eda技术的电梯控制器-毕业论文内容摘要:

R (3 downto 0)。 signal direct: STD_LOGIC_VECTOR (3 downto 0)。 begin direct=39。 039。 amp。 conv_std_logic_vector(dir,3)+1。 st_out=39。 039。 amp。 conv_std_logic_vector(liftor,3)+1。 run_wait=39。 039。 amp。 wai_t。 lamp=ladd(1)。 hand=wai_t(2) and (not wai_t(1)) and wai_t(0)。 closex=close and (not ladd(1))。 delayx=delay and (not ladd(1))。 urun_wait:led1 port map(run_wait,run_waitdis)。 ust_out:led1 port map(st_out,st_outdis)。 udirect:led1 port map(direct,directdis)。 p0:process(clk) begin 更多论文 if (clk39。 event and clk=39。 139。 ) then clkin=not clkin。 end if。 end process p0。 p1:process(clkin) begin if (clkin39。 event and clkin=39。 139。 ) then divide=not divide。 if (dir=5) then dir=0。 else dir=dir+1。 end if。 end if。 end process p1。 p2:process(ur,dr,dir,upin,downin,st_ch,liftor,wai_t,run_stop,hand) variable num,t:integer range 0 to 6。 begin num:=liftor+1。 更多论文 t:=dir+1。 if (run_stop=39。 139。 ) then if (((tnum) and (st_ch=39。 139。 )) or (upin=39。 139。 )) then case t is when 1 = ur(1)=39。 139。 when 2 = ur(2)=39。 139。 when 3 = ur(3)=39。 139。 when 4 = ur(4)=39。 139。 when 5 = ur(5)=39。 139。 when 6 = ur(6)=39。 139。 when others =Null。 end case。 elsif (hand=39。 139。 ) then case num is when 1 = ur(1)=39。 039。 when 2 = ur(2)=39。 039。 when 3 = ur(3)=39。 039。 when 4 = ur(4)=39。 039。 when 5 = ur(5)=39。 039。 when 6 = ur(6)=39。 039。 when others =Null。 end case。 更多论文 end if。 if (((tnum) and (st_ch=39。 139。 )) or (downin=39。 139。 )) then case t is when 1 = dr(1)=39。 139。 when 2 = dr(2)=39。 139。 when 3 = dr(3)=39。 139。 when 4 = dr(4)=39。 139。 when 5 = dr(5)=39。 139。 when 6 = dr(6)=39。 139。 when others =Null。 end case。 elsif (hand=39。 139。 ) then case num is when 1 = dr(1)=39。 039。 when 2 = dr(2)=39。 039。 when 3 = dr(3)=39。 039。 when 4 = dr(4)=39。 039。 when 5 = dr(5)=39。 039。 when 6 = dr(6)=39。 039。 when others =Null。 end case。 end if。 更多论文 else ur=000000。 dr=000000。 end if。 end process p2。 p3:process(ur,dr,liftor,ladd,wai_t,run_stop) begin if (run_stop=39。 139。 ) then if (wai_t=110) then if ((ur or dr)=000000) then ladd(1)=39。 039。 else case liftor is when 0 =if ((ur(1) or dr(1))39。 039。 ) then ladd(1)=39。 039。 else ladd=11。 end if。 when 1 =if ((ur(2) or dr(2))39。 039。 ) then ladd(1)=39。 039。 elsif(((ladd(0)=39。 139。 ) and ((ur(6 downto 3) or dr(6 downto 3))0000)) or((ur(1) or dr(1))=39。 039。 )) then 更多论文 ladd=11。 else ladd=10。 end if。 when 2 =if ((ur(3) or dr(3))39。 039。 ) then ladd(1)=39。 039。 elsif(((ladd(0)=39。 139。 ) and ((ur(6 downto 4) or dr(6 downto 4))000)) or((ur(2 downto 1) or dr(2 downto 1))=00)) then ladd=11。 else。
阅读剩余 0%
本站所有文章资讯、展示的图片素材等内容均为注册用户上传(部分报媒/平媒内容转载自网络合作媒体),仅供学习参考。 用户通过本站上传、发布的任何内容的知识产权归属用户或原始著作权人所有。如有侵犯您的版权,请联系我们反馈本站将在三个工作日内改正。