Discussion about math, puzzles, games and fun. Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ π -¹ ² ³ °

You are not logged in.

- Topics: Active | Unanswered

Pages: **1**

**Hannibal lecter****Member**- Registered: 2016-02-11
- Posts: 388

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

**Bob****Administrator**- Registered: 2010-06-20
- Posts: 9,724

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

**pi_cubed****Member**- From: A rhombicosidodecahedron
- Registered: 2020-06-22
- Posts: 115

*Last edited by pi_cubed (2022-02-12 04:37:43)*

pi³

Offline

**imcute****Member**- Registered: 2022-09-28
- Posts: 176

what ever it is,its not b

Offline

Pages: **1**