-
Category : Other
Tags :
- Update : 2018-04-13
- Size : 28kb
- Downloaded :0次
- Author :小***
- About :
Nobody
- PS : If download it fails, try it again. Download again for free!
Introduction - If you have any usage issues, please Google them yourself
library ieee;
use ieee.std_logic_1164.all;
use ieee.numeric_std.all;
entity full_adder is
port(
a,b,ci :in std_logic;
s,co :out std_logic);
end entity;
architecture rtl of full_adder is
begin
s<=a xor b xor ci;
co<=(a and b)or(a and ci)or(b and ci);
end rtl;
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_unsigned.all;
use ieee.numeric_std.all;
entity adder4_3 is
port(
A,B :in std_logic_vector(3 downto 0);
Ci :in std_logic;
S : out std_logic_vector(3 downto 0);
Co : out std_logic);
end entity;
architecture rtl of adder4_3 is
signal C0,C1,C2,C3,C4:std_logic;
component full_adder is
port(
a,b,ci :in std_logic;
s,co :out std_logic);
end component;
begin
u0:full_adder port map(A(0),B(0),C0,S(0),C1);
u1:full_adder port map(A(1),B(1),C1,S(1),C2);
u2:full_adder port map(A(2),B(2),C2,S(2),C3);
u3:full_adder port map(A(3),B(3),C3,S(3),C4);
end rtl;
Packet file list
(Preview for download)
Filename | Size | Update |
---|
adder4_3.vhd | 974 | 2018-04-04
|
硬件描述语言实验三.doc | 36352 | 2018-03-21
|
硬件描述语言实验四.doc | 34816 | 2018-03-27
|
硬件描述语言实验五.doc | 35840 | 2018-04-03
|
adder4.vhd | 673 | 2018-03-21
|
adder4_2.vhd | 457 | 2018-04-11 |
Related instructions
- We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
- The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
- Please use Winrar for decompression tools
- If download fail, Try it againg or Feedback to us.
- If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
- Before downloading, you can inquire through the uploaded person information