Re: Aufgaben und Übungen,

 0 0 0 0 0    1
 1 0 0 0 1    1
 2 0 0 1 0    1
 3 0 0 1 1    0
 4 0 1 0 0    1
 5 0 1 0 1    1
 6 0 1 1 0    0
 7 0 1 1 1    0
 8 1 0 0 0    0
 9 1 0 0 1    0
10 1 0 1 0    1
11 1 0 1 1    1
12 1 1 0 0    1
13 1 1 0 1    1
14 1 1 1 0    1
15 1 1 1 1    0



 0 0 0 0 0    1
 1 0 0 0 1    1
 2 0 0 1 0    1
 4 0 1 0 0    1
 5 0 1 0 1    1
10 1 0 1 0    1
11 1 0 1 1    1
12 1 1 0 0    1
13 1 1 0 1    1
14 1 1 1 0    1


Gruppe 0:
 0 0 0 0 0    1
Gruppe 1:
 1 0 0 0 1    1
 2 0 0 1 0    1
 4 0 1 0 0    1
Gruppe 2:
 5 0 1 0 1    1
10 1 0 1 0    1
12 1 1 0 0    1
Gruppe 3:
11 1 0 1 1    1
13 1 1 0 1    1
14 1 1 1 0    1

0:1		0 0 0 -
0:2		0 0 - 0
0:4		0 - 0 0
1:5		1 - 0 1
2:10		- 0 1 0
4:5		0 1 0 -
4:12		- 1 0 0
5:13		- 1 0 1
10:11		1 0 1 -
10:14		1 - 1 0
12:13		1 1 0 -
12:14		1 1 - 0



0:1		0 0 0 -
12:13		1 1 0 -
10:11		1 0 1 -
4:5		0 1 0 -
0:2		0 0 - 0
12:14		1 1 - 0
0:4		0 - 0 0
1:5		1 - 0 1
10:14		1 - 1 0
2:10		- 0 1 0
4:12		- 1 0 0
5:13		- 1 0 1




Gruppe 0:
0:1		0 0 0 -
Gruppe 2:
12:13		1 1 0 -
10:11		1 0 1 -

Gruppe 1:
4:5		0 1 0 -

Gruppe 0:
0:2		0 0 - 0
Gruppe 2:
12:14		1 1 - 0

Gruppe 0:
0:4		0 - 0 0
Gruppe 2:
1:5		1 - 0 1
10:14		1 - 1 0

Gruppe 1:
2:10		- 0 1 0
4:12		- 1 0 0
Gruppe 2:
5:13		- 1 0 1





0:1		0 0 0 -
12:13		1 1 0 -
10:11		1 0 1 -
4:5		0 1 0 -
0:2		0 0 - 0
12:14		1 1 - 0
0:4		0 - 0 0
1:5		1 - 0 1
10:14		1 - 1 0
2:10		- 0 1 0

Gruppe 1:
4:12		- 1 0 0
Gruppe 2:
5:13		- 1 0 1

4:12:5:13	- 1 0 -

0:1		0 0 0 -
12:13		1 1 0 -
10:11		1 0 1 -
4:5		0 1 0 -
0:2		0 0 - 0
12:14		1 1 - 0
0:4		0 - 0 0
1:5		1 - 0 1
10:14		1 - 1 0
2:10		- 0 1 0
4:12:5:13	- 1 0 -

	0	1	2	4	5	10	11	12	13	14
0:1	*	*
12:13								*	*
10:11						*	*
4:5				*	*
0:2	*		*
12:14								*		*
0:4	*			*
1:5		*			*
10:14						*				*
2:10			*			*
4:12:5:13			*	*			*	*


	0	1	2	4	5	10	11	12	13	14
10:11						*	*
12:14								*		*
0:4	*			*
1:5		*			*
2:10			*			*
4:12:5:13			*	*			*	*


10:11		1 0 1 -
12:14		1 1 - 0
0:4		0 - 0 0
1:5		1 - 0 1
2:10		- 0 1 0
4:12:5:13	- 1 0 -

y := (x3 and not x2 and x1) or
	(x3 and x2 and not x0) or
	(not x3 and not x1 and not x0) or
	(x3 and not x1 and x0) or
	(not x2 and x1 and not x0) or
	(x2 and not x1)

entity meinschaltnetz is
port
(
	x3, x2, x1, x0: in bit;
	y: out bit
);
end;

architecture verhalten of meinschaltnetz is
begin
	y <= (x3 and not x2 and x1) or
	(x3 and x2 and not x0) or
	(not x3 and not x1 and not x0) or
	(x3 and not x1 and x0) or
	(not x2 and x1 and not x0) or
	(x2 and not x1);
end;