On Jul 27, 2021
A significant improvement to the ROM and EPROM elements would be to allow loading their contents from a file. The basic idea would be to load the ROM or EPROM from an uploaded file.
You could support binary files, where each byte in the file is a cell in the ROM or EPROM, or text-based file formats, like Intel Hexadecimal.
This would be done via a new Load from File option. When selected, CircuitVerse would prompt for the file to be uploaded. Bytes from the uploaded file would be loaded into the ROM or EPROM sequentially, starting at address 0. (Another enhancement would allow loading the file’s data at a different starting address).
If the file contained more data than the size of the ROM or EPROM, CircuitVerse would ignore the remaining bytes in the file and issue a warning. If the file contained more data than the size of the ROM or EPROM, CircuitVerse would zero the remaining bytes in the ROM or EPROM and issue a warning.
This would allow for much larger ROMs (currently only 16 bytes max), and make it much easier to program both ROMs and EPROMs.
As I’m sure you’re aware, LogiSim has this feature.
On Oct 29, 2023
I would like to say that I 100% agree with this. Using EEPROM to make programs one line of machine code at a time is terribly tedious.