Ever wish to play with an FPGA, however don’t have the {hardware}? Now, when you have a kind of ever-abundant Pi Picos, you’ll be able to get started enjoying with Verilog with out getting an FPGA board. The FakePGA challenge via [tvlad1234], according to the Verilator toolkit, will provide you with a solution to bring together Verilog into C++ for the RP2040. FakePGA even integrates RP2040 GPIOs in order that they paintings as virtual pins for the simulated GPIOs, making it a vital step up from computer-aided FPGA code simulation
[tvlad1234] supplies directions for atmosphere this up with Linux – Home windows, although untested, may just theoretically run this via WSL. Most clock velocity is 5KHz – no longer a lot, however method higher than no longer having any {hardware} to check with. The whole lot you’d need is within the GitHub repo – setup directions, Verilog code necessities, and a couple of configuration caveats to remember.
We quilt numerous tasks the place FPGAs are used to emulate {hardware} of more than a few sorts, from ISA playing cards to a whole Recreation Boy. CPU emulation on FPGAs is principally the norm — it’s simply one thing simple to do with the type of energy that an FPGA supplies. Having emulation in the wrong way is abnormal, although, we’ve observed FPGAs being emulated with FPGAs, so possibly it was once inevitable in any case. In fact, when you have neither a Pico nor an FPGA, there’s all the time browser primarily based emulators.
We thank [Randy Glenn] for sharing this with us!