Docsity

Design 16to1Multiplexer using appropriate software like VHDL, Assignments of Verilog and VHDL

Toggle sidebar
bg1
RAKESH ASERY(09EC73)
OBJECT :-Design 16to1Multiplexer using appropriate software like VHDL
(xilinx).
16to1Multiplexer CODING :-
entity RA16TO1MUX is
Port ( W : in std_logic_vector(15 downto 0);
S : in std_logic_vector(3 downto 0);
F : out std_logic);
end RA16TO1MUX;
architecture Behavioral of RA16TO1MUX is
begin
with S select
F <= W(15) when "1111",
W(14) when "1110",
W(13) when "1101",
W(12) when "1100",
W(11) when "1011",
W(10) when "1010",
W(9) when "1001",
W(8) when "1000",
W(7) when "0111",
W(6) when "0110",
W(5) when "0101",
W(4) when "0100",
W(3) when "0011",
W(2) when "0010",
W(1) when "0001",
W(0) when "0000",
W(0) when others;
end Behavioral;
pf3

Partial preview of the text

Download Design 16to1Multiplexer using appropriate software like VHDL and more Assignments Verilog and VHDL in PDF only on Docsity!

OBJECT :-Design 16to1Multiplexer using appropriate software like VHDL (xilinx). 16to1Multiplexer CODING :- entity RA16TO1MUX is Port ( W : in std_logic_vector(15 downto 0); S : in std_logic_vector(3 downto 0); F : out std_logic); end RA16TO1MUX; architecture Behavioral of RA16TO1MUX is begin with S select F <= W(15) when "1111", W(14) when "1110", W(13) when "1101", W(12) when "1100", W(11) when "1011", W(10) when "1010", W(9) when "1001", W(8) when "1000", W(7) when "0111", W(6) when "0110", W(5) when "0101", W(4) when "0100", W(3) when "0011", W(2) when "0010", W(1) when "0001", W(0) when "0000", W(0) when others; end Behavioral;

SCHEMATIC DIAGRAM :-