Decodificador BCD a 7-Segmnetos

LIBRARY IEEE;
USE IEEE.STD_LOGIC_1164.ALL;
ENTITY DECOBCD_7S IS
PORT (A: IN STD_LOGIC_VECTOR (3 DOWNTO 0);
D: OUT STD_LOGIC_VECTOR (6 DOWNTO 0));
END DECOBCD_7S;
ARCHITECTURE ARQDECO OF DECOBCD_7S IS
BEGIN
PROCESS (A) BEGIN
CASE A IS
WHEN “0000” => D <= “0000001”;
WHEN “0001” => D <= “1001111”;
WHEN “0010” => D <= “0010010”;
WHEN “0011” => D <= “0000110”;
WHEN “0100” => D <= “1001100”;
WHEN “0101” => D <= “0100100”;
WHEN “0110” => D <= “0100000”;
WHEN “0111” => D <= “0001110”;
WHEN “1000” => D <= “0000000”;
WHEN “1001” => D <= “0000100”;
WHEN OTHERS => D <= “1111111”;
END CASE;
END PROCESS;
END ARQDECO;

LIBRARY IEEE;
USE IEEE.STD_LOGIC_1164.ALL;
ENTITY DEMUX IS
PORT (
D : IN STD_LOGIC_VECTOR(7 DOWNTO 0);
SEL : IN STD_LOGIC_VECTOR(1 DOWNTO 0);
Y1 : OUT STD_LOGIC_VECTOR(7 DOWNTO 0);
Y2 : OUT STD_LOGIC_VECTOR(7 DOWNTO 0);
Y3 : OUT STD_LOGIC_VECTOR(7 DOWNTO 0);
Y4 : OUT STD_LOGIC_VECTOR(7 DOWNTO 0));
END DEMUX;
ARCHITECTURE BEHAVE OF DEMUX IS
BEGIN
PROCESS(D,SEL)
BEGIN
CASE SEL IS
WHEN "00" =>
Y1 <= D;
Y2 <= (OTHERS => '0');
Y3 <= (OTHERS => '0');
Y4 <= (OTHERS => '0');
WHEN "01" =>
Y2 <= D;
Y1 <= (OTHERS => '0');
Y3 <= (OTHERS => '0');
Y4 <= (OTHERS => '0');
WHEN "10" =>
Y3 <= D;
Y2 <= (OTHERS => '0');
Y1 <= (OTHERS => '0');
Y4 <= (OTHERS => '0');
WHEN "11" =>
Y4 <= D;
Y2 <= (OTHERS => '0');
Y3 <= (OTHERS => '0');
Y1 <= (OTHERS => '0');
WHEN OTHERS => NULL;
END CASE;
END PROCESS;
END BEHAVE;

pdf+decodificador+demultiplexo r+74138+vhdl&hl=es&gl=mx&pid=bl&srcid=ADGEESjI8 OLWhDvty6OOmBaSEzPEFPlsuV76YZnSBvJZnfdzxoWjMJu ImBbXOk3o2FkEiuAok5xVpLBTZMBEpfGxrmeIiiMpzVld rGZ3ouDjHFUdNNP3zADSnWQ8FbM_4eiFEidmEiy&sig =AHIEtbQWN-x5kdndYduIkA-97P07rPkSaw .unican.https://docs.google.es/manzanom/Planantigu o/EDigitalI/DecG9_09.com/viewer?a=v&q=cache:OaN8t RDlNXwJ:personales.

Sign up to vote on this title
UsefulNot useful