
My project is a small FPGA/CPLD-like device which I am calling the SR-GA1 (GA = gate array). It consists of a 8x4 grid of configurable logic blocks (CLBs) as well as some clock routing logic and very basic IO control.
Data is shifted in via fixed input 0 whilst being clocked with the system clock. The FPGA configuration shift register has no resets (to save space) so configuration is required every time it is powered up. The reset pin is used to reset the CLB's single data register and it is synchronous to the relevant CLB column clock.
First use my FPGA programming software to create a design and then export the generated bitstream. Copy that bitstream to the RP2040 and use my programmer script to setup the FPGA for use. Then drive the IO as you wish.
You will need a computer which can run my FPGA programming software (see my main SR-GA1 Github) to create the bitstream which can then be shifted into the FPGA. Beyond that, nothing is needed.
| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | FPGA programming interface data in | FPGA programming interface data out (for testing shift path) | Fabric input 7 |
| 1 | Fabric input 0 | Fabric output 0 | Fabric input 8 |
| 2 | Fabric input 1 | Fabric output 1 | Fabric input 9 |
| 3 | Fabric input 2 | Fabric output 2 | Fabric output 7 |
| 4 | Fabric input 3 | Fabric output 3 | Fabric output 8 |
| 5 | Fabric input 4 | Fabric output 4 | Fabric output 9 |
| 6 | Fabric input 5 | Fabric output 5 | Fabric DDIO 0 |
| 7 | Fabric input 6 | Fabric output 6 | Fabric DDIO 1 |