chubby75 icon indicating copy to clipboard operation
chubby75 copied to clipboard

Gateware to determine connections

Open cdwijs opened this issue 2 years ago • 3 comments

I would like to create gateware that shows what ball of the FPGA goes to what point on the headers.

On each pin, I would like to output a train of pulses, that indicate the ball. First a preamble, and then 2 burst indicating the row and column That way I can look at an LED to figure out the connection.

For example: A2: 10101010101010000010000010010000 (and then repeat) G4: 10101010101010000010010010010010010010000010010010010000 C4: 10101010101010000010010010000010010010010000

Has this already been done? What is the best way to proceed?

cdwijs avatar Oct 22 '22 07:10 cdwijs

The more common approach is to assign each IO pin their own UART that outputs a unique l, fixed, number, and to use an oscilloscope or logic analyzer (such as a Saleae or compatible) that has built-in UART decoding functionality.

It’s not very hard to make that yourself. Chances are that you can find such a design somewhere on the web.

Tom

tomverbeure avatar Oct 22 '22 07:10 tomverbeure

Where can I find the file that defines where all the connections are in the FPGA?

cdwijs avatar Oct 22 '22 08:10 cdwijs

Here's the part of LiteX that uses the information from this repository: https://github.com/litex-hub/litex-boards/blob/master/litex_boards/platforms/colorlight_5a_75e.py

cdwijs avatar Oct 22 '22 11:10 cdwijs