Professional Documents
Culture Documents
Practica No6 - Grupo#7
Practica No6 - Grupo#7
ASIGNATURA:
LABORATORIO DE ELECTRONICA DIGITAL
TEMA:
CIRCUITO COMBINACIONAL Y TEST BENCH
DOCENTE:
ING. JUAN CARLOS ITURRALDE
INTEGRANTES:
DAVID AGUILAR PAZMIÑO
ENZO BANCHON FRANCO
DAANNY IDROVO
KAREN PLÚAS
LEONELA RODRIGUEZ
EDUARDO CASTILLO
GRUPO:
7
CICLO I 2020-2021
Laboratorio#6
1. Realice la programación del siguiente circuito utilizando las señales (signal) Y0, Y1 y Y2. (EDA
PLAYGROUND
C (0) 1 1 0 1
(1) 0 1 0 0
ECUACION DE X
X= Á B+ B́ Ć
Salida de Y
C (0) 1 1 1 0
(1) 0 1 1 1
ECUACIÓN DE Y
Y=B+ Á Ć +AC
Salida para z
C (0) 0 1 0 0
(1) 0 1 0 0
entity Ejercisio2 is
Port ( A,B,C : in STD_LOGIC;
X,Y,Z : out STD_LOGIC
);
end Ejercisio2;
-- Señales de salidas
signal X_s,Y_s,Z_s : STD_LOGIC;
begin
process begin
--- Estímulos de la simulación wait for 100 ns;
X1
AC Cin Cout S
000 00
001 01
X2 010 01
011 10
X3 100 01
X4 101 10
110 10
111 11
Library ieee;
Entity Sumador is
Port ( a, b, co: in bit ;s , cout : out bit);
End sumador;
Architecture caso1 of sumador is
Begin
Process(a,b,cin)[poner las entradas]
Begin
If( a='1' and b='1' or
a='1' and co='1' or
b='1' and co='1')
Then cout <='1' ;
Else cout <='0';
End if;
If ( a='0' and b='0' and c='1' or
a='0' and b='1' and c='0' or
a='1' and b='0' and c='0' or
a='1' and b='1' and c='1')
Then s<='1';
Else s<='0';
End if;
End process;
End caso1;