----------------------------------------------------------------------------------
-- Company:
-- Engineer:
--
-- Create Date: 16:47:08 08/23/2011
-- Design Name:
-- Module Name: vigin1 - Behavioral
-- Project Name:
-- Target Devices:
-- Tool versions:
-- Description:
--
-- Dependencies:
--
-- Revision:
-- Revision 0.01 - File Created
-- Additional Comments:
--
----------------------------------------------------------------------------------
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_ARITH.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;
---- Uncomment the following library declaration if instantiating
---- any Xilinx primitives in this code.
--library UNISIM;
--use UNISIM.VComponents.all;
entity vigin1 is
port (
a, b :in bit;
s :in bit;
y: out bit;
)
end vigin1;
architecture Behavioral of vigin1 is
begin
y <= a when s = '0' else
b;
end Behavioral; |