You are not logged in.
Pages: 1
Hi,
which logic gate gives :
x y result
0 0 1
0 1 0
1 0 1
1 1 0
this is the question :
if (A = '1') and (B = '1') then tempY <= '0';
elsif (A = '0') and (B = '0') then tempY <= '0';
else tempY < = '1';
end if;
if (A = '0' and B = '0') then tempZ <= '1';
elsif(A = '0' and B = '1') then tempZ <= '0';
elsif(A = '1' and B = '1') then tempZ <= '0';
elsif(A = '1' and B = '0') then tempZ <= '1';
end if;
end process;
Y <= tempY;
Z <= tempZ;
Y is an xor gate
but what is z
Last edited by Hannibal lecter (2022-02-10 10:49:38)
Wisdom is a tree which grows in the heart and fruits on the tongue
Offline
This is NOT y. The x input has no effect on the output.
B
Children are not defined by school ...........The Fonz
You cannot teach a man anything; you can only help him find it within himself..........Galileo Galilei
Sometimes I deliberately make mistakes, just to test you! …………….Bob
Offline
Last edited by pi_cubed (2022-02-12 04:37:43)
pi³
Offline
what ever it is,its not b
Offline
Pages: 1