Mux 8

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

Experiment: ......................................................................................... Expt. No. :.............................

Date: ...................................
............................................................................................................. Page No: ..............................
----------------------------------------------------------------------------------- Company: DBCET
-- Engineer: JOYDEEP DEY
-- ID:DC2011BTE0123
-- Create Date: 04:16:37 02/02/2014
-- Module Name: muxeight - Behavioral
-----------------------------------------------------------------------library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_ARITH.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;
entity muxeight is
Port ( D0 : in STD_LOGIC;
D1 : in STD_LOGIC;
D2 : in STD_LOGIC;
D3 : in STD_LOGIC;
D4 : in STD_LOGIC;
D5 : in STD_LOGIC;
D6 : in STD_LOGIC;
D7 : in STD_LOGIC;
S0 : in STD_LOGIC;
S1 : in STD_LOGIC;
S2 : in STD_LOGIC;
Y : out STD_LOGIC);
end muxeight;
architecture Behavioral of muxeight is
begin
process(D0,D1,D2,D3,D4,D5,D6,D7,S0,S1,S2)
begin

Experiment: ......................................................................................... Expt. No. :.............................


Date: ...................................
............................................................................................................. Page No: ..............................
Y<=((NOT S2) AND (NOT S1) AND (NOT S0) AND D0)OR ((NOT S2)AND (NOT S1)AND S0 AND D1) OR ((NOT
S2)AND S1 AND(NOT S0)AND D2) OR ((NOT S2)AND S1 AND S0 AND D3) OR(S2 AND (NOT S1)AND(NOT S0)AND
D4) OR(S2 AND (NOT S1)AND S0 AND D5) OR (S2 AND S1 AND(NOT S0)AND D6) OR (S2 AND S1 AND S0 AND D7);
end process;
end Behavioral;
SIMULATION O/P:

RTL SCHEMATIC:

Experiment: ......................................................................................... Expt. No. :.............................


Date: ...................................
............................................................................................................. Page No: ..............................

TECHNOLOGICAL SCHEMATIC:

You might also like