Research Article
Design of a Mathematical Unit in FPGA for the Implementation of the Control of a Magnetic Levitation System
Table 1
Selection of preestablished data for a cosine function.
| Address bus | Data bus | a9-a8 | a7-a4 | a3-a0 | d16 | d15-d12 | d11-d8 | d7-d4 | d3-d0 |
| 00 | 0000 | 0000 | 0 | 1000 | 0000 | 0000 | 0000 | 00 | 0000 | 0001 | 0 | 0111 | 1111 | 1111 | 1110 | 00 | 0000 | 0010 | 0 | 0111 | 1111 | 1111 | 1110 | 00 | 0000 | 0011 | 0 | 0111 | 1111 | 1111 | 1010 | 00 | 0000 | 0100 | 0 | 0111 | 1111 | 1111 | 1000 | 00 | 0000 | 0101 | 0 | 0111 | 1111 | 1111 | 0010 | 00 | 0000 | 0110 | 0 | 0111 | 1111 | 1110 | 1110 | 00 | 0000 | 0111 | 0 | 0111 | 1111 | 1110 | 0110 | 00 | 0000 | 1000 | 0 | 0111 | 1111 | 1110 | 0000 | 00 | 0000 | 1001 | 0 | 0111 | 1111 | 1101 | 0110 | 00 | 0000 | 1010 | 0 | 0111 | 1111 | 1100 | 1110 | 00 | 0000 | 1011 | 0 | 0111 | 1111 | 1100 | 0010 |
|
|