hneemann / Digital

A digital logic designer and circuit simulator.
GNU General Public License v3.0
4.31k stars 436 forks source link

Running Simulator Headless? #1246

Closed nametable closed 8 months ago

nametable commented 8 months ago

Hello, I recently was taking a look at Digital and saw that it had a CLI entry point that includes test, svg, and stats. I was thinking though that it would be nice if it were possible to run a simulation headless without a GUI. This could be useful when running with IO that is external (Telnet, MIDI, etc).

How difficult would this be to implement? Any pointers on what changes/additions would have to be made to make this possible @hneemann ? I may be interested in trying to implement this if its not too drastic.

hneemann commented 8 months ago

This is an interesting idea. The simulation engine is already implemented in a way that it runs headless. It only took 30 minutes to implement that. :-)