Re: Aufgaben und Übungen,

	b a x	b a y
0	0 0 0	0 1 0
1	0 0 1	1 0 1
2	0 1 0	0 0 0
3	0 1 1	1 0 1
4	1 0 0	0 0 0
5	1 0 1	1 1 0
6	1 1 0	0 1 1
7	1 1 1	1 0 0


	b a x	b
0	0 0 0	0
1	0 0 1	1
2	0 1 0	0
3	0 1 1	1
4	1 0 0	0
5	1 0 1	1
6	1 1 0	0
7	1 1 1	1

	b a x	a
0	0 0 0	1
1	0 0 1	0
2	0 1 0	0
3	0 1 1	0
4	1 0 0	0
5	1 0 1	1
6	1 1 0	1
7	1 1 1	0

	b a x	y
0	0 0 0	0
1	0 0 1	1
2	0 1 0	0
3	0 1 1	1
4	1 0 0	0
5	1 0 1	0
6	1 1 0	1
7	1 1 1	0



	b a x	b
1	0 0 1	1
3	0 1 1	1
5	1 0 1	1
7	1 1 1	1

	b a x	a
0	0 0 0	1
5	1 0 1	1
6	1 1 0	1

	b a x	y
1	0 0 1	1
3	0 1 1	1
6	1 1 0	1



	b a x	b
Gruppe 1:
1	0 0 1	1
Gruppe 2:
3	0 1 1	1
5	1 0 1	1
Gruppe 3:
7	1 1 1	1

	b a x	a
Gruppe 0:
0	0 0 0	1
Gruppe 2:
5	1 0 1	1
6	1 1 0	1

	b a x	y
Gruppe 1:
1	0 0 1	1
Gruppe 2:
3	0 1 1	1
6	1 1 0	1



	b a x	b
Gruppe 1:
1	0 0 1	1
Gruppe 2:
3	0 1 1	1
5	1 0 1	1
Gruppe 3:
7	1 1 1	1

1:3		0 - 1
1:5		- 0 1
3:7		- 1 1
5:7		1 - 1

Gruppe 2:
5:7		1 - 1
Gruppe 1:
1:3		0 - 1
Gruppe 1:
1:5		- 0 1
Grupp 2:
3:7		- 1 1

5:7:1:3		- - 1
1:5:3:7		- - 1

b <= x

	b a x	a
Gruppe 0:
0	0 0 0	1
Gruppe 2:
5	1 0 1	1
6	1 1 0	1

a <= (not b and not a and not x) or
		(b and not a and x) or
		(b and a and not x)

	b a x	y
Gruppe 1:
1	0 0 1	1
Gruppe 2:
3	0 1 1	1
6	1 1 0	1

1:3		0 - 1
6		1 1 0

y <= (not b and x) or
		(b and a and not x)


b <= x
a <= (not b and not a and not x) or
		(b and not a and x) or
		(b and a and not x)
y <= (not b and x) or
		(b and a and not x)

entity meinuebergangsnetz is
port
(
	a, b: inout bit;
	x: in bit
);
end;

entity meinauschgangsschaltnetz is
port
(
	a, b, x: in bit;
	y: out bit
);
end;

architecture verhalten of meinuebergangsschaltnetz is
begin
	b <= x
	a <= (not b and not a and not x) or
		(b and not a and x) or
		(b and a and not x)
end;

architecture verhalten of meinauschgangsschaltnetz is
begin
	y <= (not b and x) or
		(b and a and not x)
end;