4 ms·
You could use Verilator to stimulate a processor, and SDL to give you a graphical output, if so desired. If you detest Verilator, Modelsim DE or above comes wit
by analognoise 8y ago
You could use Verilator to stimulate a processor, and SDL to give you a graphical output, if so desired. If you detest Verilator, Modelsim DE or above comes with TCL embedded, you could use Tk to build a graphical interface.
- twtw 8y agoSorry if this is too unrelated to the original post. I just recently discovered verilator, and it seems pretty awesome. I'm curious if there are some drawbacks that you are aware of that make people dislike it?
- analognoise 8y agoIt will never be able to simulate encrypted RTL - so any design using vendor IP is out (so lots of Xilinx cores, for example). It is a cycle simulator (not a delta time simulator), so no back annotated timing is possible. It does not support mixed language simulation (I know, it is a Verilog simulator, but you don't always get to choose what language a vendor supplies IP in). So that's just to start. Writing C++ to toggle clocks then force the simulator to re-evaluate everything is terrible (opinion). The primary tutorials I've found are Dan Gisselquest's (ZipCpu) and (iirc) he recommends running your testbench in a delta simulator as well, to make sure it's giving you what you expect. So it isn't much of a "standalone" tool. All that said, it seems like it could be useful - it wasn't in my case, but ymmv.
- twtw 8y agoThanks!