===================================================
A basic combinational circuit designed to detect if the given 4-bit binary number is prime or not.
See at the Project page: http://ozark.hendrix.edu/~burch/logisim/
Here you can see the Truth table, that I used to make the circuit:
DEC | N3 | N2 | N1 | N0 | OUT | |
---|---|---|---|---|---|---|
0 | 0 | 0 | 0 | 0 | 0 | |
1 | 0 | 0 | 0 | 1 | 1 | |
2 | 0 | 0 | 1 | 0 | 1 | |
3 | 0 | 0 | 1 | 1 | 1 | |
4 | 0 | 1 | 0 | 0 | 0 | |
5 | 0 | 1 | 0 | 1 | 1 | |
6 | 0 | 1 | 1 | 0 | 0 | |
7 | 0 | 1 | 1 | 1 | 1 | |
8 | 1 | 0 | 0 | 0 | 0 | |
9 | 1 | 0 | 0 | 1 | 0 | |
10 | 1 | 0 | 1 | 0 | 0 | |
11 | 1 | 0 | 1 | 1 | 1 | |
12 | 1 | 1 | 0 | 0 | 0 | |
13 | 1 | 1 | 0 | 1 | 1 | |
14 | 1 | 1 | 1 | 0 | 0 | |
15 | 1 | 1 | 1 | 1 | 0 |