Re: Aufgaben und Übungen,

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


	b a x	b
0	0 0 0	1
1	0 0 1	0
2	0 1 0	1
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	0
1	0 0 1	0
2	0 1 0	1
3	0 1 1	0
4	1 0 0	0
5	1 0 1	0
6	1 1 0	1
7	1 1 1	0

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




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

	b a x	a
2	0 1 0	1
6	1 1 0	1

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




	b a x	b
Gruppe 0:
0	0 0 0	1
Gruppe 1:
2	0 1 0	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 1:
2	0 1 0	1
Gruppe 2:
6	1 1 0	1

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



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

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

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

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

2:6	- 1 0
a <= (a and not x)

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

4:6	1 - 0
3:7	- 1 1
6:7	1 1 -

	3	4	6	7
4:6		*	*
3:7	*			*
6:7			*	*

	3	4	6	7
4:6		*	*
3:7	*			*

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

entity meinuebergangsschaltnetz is
begin
(
	b, a: inout bit;
	x: in bit
);
end;

entity meinausgangsschaltnetz is
begin
(
	b, a: in bit;
	y: out bit
);
end;

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

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