Compiling Verilog into SW Emulators

This is an archive of a topic from NESdev BBS, taken in mid-October 2019 before a server upgrade.
View original topic
Compiling Verilog into SW Emulators
by on (#216318)
Hi All!

With FPGA consoles and new SD2SNES co-processor cores being all the rage these days I feel like verilog and retro FPGA HW development is starting to heat up. For those interested in playing around with verilog I created a neat example of compiling a verilog model into C++ (using Verilator) and then linking the C++ into higan (more info described in the repo).

Here is my demo: https://www.youtube.com/watch?v=T88LhuoQ7pg
Here is the source code: https://github.com/defparam/higan-verilog

I was thinking about taking a similar example and porting Redguyyy's GSU verilog implementation into higan to see how well it would work or to compare inputs/outputs against byuu's GSU sw emulation core and try to find hidden bugs. Anyway, if anyone is interested in this co-simulation stuff take a peek!

Best,
defparam
Re: Compiling Verilog into SW Emulators
by on (#216334)
Nice to see a proof of concept about this :)