디지털 도어락에 대한 소스와 구현
본 자료는 2페이지 의 미리보기를 제공합니다. 이미지를 클릭하여 주세요.
닫기
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
해당 자료는 2페이지 까지만 미리보기를 제공합니다.
2페이지 이후부터 다운로드 후 확인할 수 있습니다.

소개글

디지털 도어락에 대한 소스와 구현에 대한 보고서 자료입니다.

본문내용

N "0100" =>Segs2 <= "1001100";
WHEN "0101" =>Segs2 <= "0100100";
WHEN "0110" =>Segs2 <= "0100000";
WHEN "0111" =>Segs2 <= "0001111";
WHEN "1000" =>Segs2 <= "0000000";
WHEN "1001" =>Segs2 <= "0001100";
WHEN OTHERS => Segs2 <= "1111111";
END CASE;
CASE x3 IS
WHEN "0000" =>Segs3 <= "0000001";
WHEN "0001" =>Segs3 <= "1001111";
WHEN "0010" =>Segs3 <= "0010010";
WHEN "0011" =>Segs3 <= "0000110";
WHEN "0100" =>Segs3 <= "1001100";
WHEN "0101" =>Segs3 <= "0100100";
WHEN "0110" =>Segs3 <= "0100000";
WHEN "0111" =>Segs3 <= "0001111";
WHEN "1000" =>Segs3 <= "0000000";
WHEN "1001" =>Segs3 <= "0001100";
WHEN OTHERS => Segs3 <= "1111111";
END CASE;
CASE x4 IS
WHEN "0000" =>Segs4 <= "0000001";
WHEN "0001" =>Segs4 <= "1001111";
WHEN "0010" =>Segs4 <= "0010010";
WHEN "0011" =>Segs4 <= "0000110";
WHEN "0100" =>Segs4 <= "1001100";
WHEN "0101" =>Segs4 <= "0100100";
WHEN "0110" =>Segs4 <= "0100000";
WHEN "0111" =>Segs4 <= "0001111";
WHEN "1000" =>Segs4 <= "0000000";
WHEN "1001" =>Segs4 <= "0001100";
WHEN OTHERS => Segs4 <= "1111111";
END CASE;
end process seg;
output_logic : process(state)
begin
case state is
when s0 =>
led1 <= '1';
led2 <= '0';
led3 <= '0';
led4 <= '0';
when s1 =>
led1 <= '0';
led2 <= '1';
led3 <= '0';
led4 <= '0';
when s2 =>
led1 <= '0';
led2 <= '0';
led3 <= '1';
led4 <= '0';
when s3 =>
led1 <= '0';
led2 <= '0';
led3 <= '0';
led4 <= '1';
when ss0 =>
led1 <= '1';
led2 <= '0';
led3 <= '0';
led4 <= '0';
when ss1 =>
led1 <= '0';
led2 <= '1';
led3 <= '0';
led4 <= '0';
when ss2 =>
led1 <= '0';
led2 <= '0';
led3 <= '1';
led4 <= '0';
when ss3 =>
led1 <= '0';
led2 <= '0';
led3 <= '0';
led4 <= '1';
when result =>
led1 <= '1';
led2 <= '1';
led3 <= '1';
led4 <= '1';
when others =>
led1 <= '0';
led2 <= '0';
led3 <= '0';
led4 <= '0';
end case;
end process output_logic;
end t_1;
  • 가격3,300
  • 페이지수8페이지
  • 등록일2012.06.24
  • 저작시기2014.11
  • 파일형식한글(hwp)
  • 자료번호#755122
본 자료는 최근 2주간 다운받은 회원이 없습니다.
청소해
다운로드 장바구니