디지털 시스템 설계
본 자료는 2페이지 의 미리보기를 제공합니다. 이미지를 클릭하여 주세요.
닫기
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
해당 자료는 2페이지 까지만 미리보기를 제공합니다.
2페이지 이후부터 다운로드 후 확인할 수 있습니다.

소개글

디지털 시스템 설계에 대한 보고서 자료입니다.

목차

• 반가산기

• 전가산기

본문내용

ic_1164.all;
entity scdrum3 is
port(A, B : in std_logic_vector(3 downto 0);
S : out std_logic_vector(3 downto 0);
Ci : in std_logic;
Bo : out std_logic);
end scdrum3;
architecture ksc of scdrum3 is
signal borrow0, borrow1, borrow2,
borrow3: std_logic;
component scdrum2
port(A,B,Ci : in std_logic;
S, Bo : out std_logic);
end component;
begin
f0 : scdrum2 port map(A=>A(0), B=>B(0),
Ci=>borrow0, S=>Sd(0), Bo =>borrow1);
f1 : scdrum2 port map(A=>A(1), B=>B(1),
Ci=>borrow1, S=>d(1), Bo =>borrow2);
f2 : scdrum2 port map(A=>A(2), B=>B(2),
Ci=>borrow2, S=>S(2), Bo =>borrow3);
f3 : scdrum2 port map(A=>A(3), B=>B(3),
Ci=>borrow3, S=>S(3), Bo=>Bo);
borrow0<=Ci ;
end ksc;
BCD 가산기
<진리표> <논리표>
BCD 가산기 시물레이터 결과 값

Library ieee;use ieee.std_logic_1164.all;
use ieee.std_logic_unsigned.all;
entity scdrum4 is
port ( s,w : in std_logic_vector(3 downto 0);
c_in : in std_logic;
y :buffer std_logic_vector(3 downto 0);
s_out : out std_logic_vector(3 downto 0);
c_out : out std_logic);
end scdrum4;
architecture ksc of scdrum4 is
begin
process(s,w,c_in)
begin
y <= s+w;
if (c_in=\'0\') then
if (y=\"1010\") then
s_out <= \"0000\";
c_out <= \'1\';
elsif (y=\"1011\") then
s_out <= \"0001\";
c_out <= \'1\';
elsif (y=\"1100\") then
s_out <= \"0010\";
c_out <= \'1\';
elsif (y=\"1101\") then
s_out <= \"0011\";
c_out <= \'1\';
elsif (y=\"1110\") then
s_out <= \"0100\";
c_out <= \'1\';
elsif (y=\"1111\") then
s_out <= \"0101\";
c_out <= \'1\';
else
s_out <= y;
c_out <= \'0\';
end if;
end if;
end process;
end ksc;
  • 가격1,000
  • 페이지수7페이지
  • 등록일2008.04.10
  • 저작시기2007.5
  • 파일형식한글(hwp)
  • 자료번호#460529
본 자료는 최근 2주간 다운받은 회원이 없습니다.
다운로드 장바구니