Sunday, 14 July 2013

1:4 Demultiplexer Design using Gates (VHDL Code).

1:4 Demultiplexer Design using Logical Gates-

Output Waveforms for 1:4 Demultiplexer


-- Title       : multiplexer_4_1
-- Design      : vhdl_test
-- Author      : Naresh Singh Dobal
-- Company     : nsd

library IEEE;
use IEEE.STD_LOGIC_1164.all;

entity multiplexer_4_1 is
         a : in STD_LOGIC;
         b : in STD_LOGIC;
         c : in STD_LOGIC;
         d : in STD_LOGIC;
         x : in STD_LOGIC;
         y : in STD_LOGIC;
         dout : out STD_LOGIC
end multiplexer_4_1;

architecture multiplexer_4_1_arc of multiplexer_4_1 is

    dout <= ((not x) and (not y) and a) or
            ((not x) and y and b) or
            (x and (not y) and c) or
            (x and y and d);

end multiplexer_4_1_arc;



i think it is wrong
please check it

Anonymous said...

I think this code is for multiplexer not for demux.....please provide the correct code

S Venkata Sai Kalyan Kumar said...

this is not for demux

ravi kumar said...

yes this not a demux

Post a Comment

Design by Wordpress Theme | Bloggerized by Free Blogger Templates | coupon codes