
The chip takes in two 8-bit inputs uin_in, this is the three arguments to the boolean function, write enable of the LUT, and clock enable of the CLB, and uio_in is the actual boolean function. The single output is the evaluation of the boolean function given the argument.
A simple hardware test would be to set the uio_in to 011111111 to get a NAND3. Use uin_in[3] to program the LUT with the seed and use uin_in[4] to make the output synchronous. Use uin_in[2:0] to input values into the NAND3.
Switches on all inputs and leds on all outputs.
| Function | Seed |
|---|---|
| NAND3 | 01111111 |
| NOR3 | 00000001 |
| NOT | 01010101 |
| XOR2 | 01100110 |
| Majority | 11101000 |
| Even Parity | 01101001 |
| One Hot | 00010110 |
| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | ui_in[0] | uo_out[0] | uio_in[0] |
| 1 | ui_in[1] | uo_out[1] | uio_in[1] |
| 2 | ui_in[2] | uo_out[2] | uio_in[2] |
| 3 | ui_in[3] | uo_out[3] | uio_in[3] |
| 4 | ui_in[4] | uo_out[4] | uio_in[4] |
| 5 | ui_in[5] | uo_out[5] | uio_in[5] |
| 6 | ui_in[6] | uo_out[6] | uio_in[6] |
| 7 | ui_in[7] | uo_out[7] | uio_in[7] |