Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- library IEEE;
- use IEEE.std_logic_1164.all;
- entity xor_vhdl is
- port(A1 : in std_logic;
- A2 : in std_logic;
- X1 : out std_logic);
- end xor_vhdl;
- architecture logic of xor_vhdl is
- begin
- X1 <= A1 xor A2;
- end logic;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement