4. Connect a DE0-Nano FPGA board to a UNO board using two jumper wires
for data transfer and one wire to connect their grounds. Write codes that allow the
microprocessor to use one wire to send a bit over to the FPGA which inverts the bit
and sends it back to the microprocessor using the other wire. The bit value to be sent
out from the UNO should be input from the serial monitor while the bit received by
the UNO (from the FPGA) should be displayed inside the serial monitor window.
5. Modify the previous assignment so that, a bit string of 16 bits is sent from the
UNO to the FPGA using a single data wire plus one or two control wires for
synchronization (which could be either strobing or handshaking). When a pushbutton
on the FPGA board is depressed and released, the FPGA sends a bit string of
16 bits to the UNO for display. Depending on the XOR result on the 16 bits, the bit
string sent from the FPGA is either the same as the received bit string or the 1’s
complement of the received bit string. The data transfer should be as fast as
possible. The original bit string may be hard-coded inside the UNO code or input
from a serial monitor.
i just want to complete 5th question