BrunoLevy / learn-fpga

Learning FPGA, yosys, nextpnr, and RISC-V
BSD 3-Clause "New" or "Revised" License
2.58k stars 246 forks source link

Generic bidirectional GPIO peripheral #31

Open BrunoLevy opened 3 years ago

BrunoLevy commented 3 years ago

Add a new GPIO peripheral, with up to 32 pins, two registers, one (W) to configure direction, and one (RW) to read/write values.