Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Practica 1
Practica 1
Actividad: Práctica 1
Display de 7 Segmentos
Displays de LED.
Un tipo muy común de display de 7 segmentos es el de diodos emisores de luz
(Light-Emitting Diode, LED).
Segmento a: D + B + CA + C’A’
Segmento b: D + C’ + B’A’ + BA
Segmento c: D + C + B’ + A
Segmento f: D + C + B’A’
Segmento g: D + C xor B
Circuito Completo
Implementación VHDL
entity DECODIFICADOR is
Port ( DIN : in STD_LOGIC;
CIN : in STD_LOGIC;
BIN : in STD_LOGIC;
AIN : in STD_LOGIC;
a : out STD_LOGIC;
b : out STD_LOGIC;
c : out STD_LOGIC;
d : out STD_LOGIC;
e : out STD_LOGIC;
f : out STD_LOGIC;
g : out STD_LOGIC);
end DECODIFICADOR;
architecture Behavioral of DECODIFICADOR is
begin
a <= DIN or BIN or (CIN and AIN) or ((not CIN) and (not AIN));
b <= DIN or (not CIN) or ((not BIN) and (not AIN)) or (BIN and AIN);
c <= DIN or CIN or (not BIN) or AIN;
d <= ((not DIN) and CIN and (not BIN) and AIN) or ((not DIN) and (not CIN)
and BIN) or ((not CIN) and (not AIN)) or (BIN and (not AIN)) or DIN;
e <= ((not CIN) or BIN) and (not AIN);
f <= DIN or CIN or ((not BIN) and (not AIN));
g <= DIN or (CIN xor BIN);
end Behavioral;
Circuito generado por software
Simulación
Referencias
Anexos
Cálculos