drfiemost wrote:
Are there any other changes or it's just a language conversion?
Well, there are a lot of little changes. The data structures are bit more compact. It is supposed to be easy to add other netlists, I just didn't have time for that. It should be easy to add other emulated machines. Currently I wrote a tiny Commodore like kernel, and ./testbench can work as a C=64, or VIC20.
Mainly, it should be easy to use it as a standalone library.
drfiemost wrote:
And what about the performance?
The original goal was to make it a lot faster, while also learning some C++. I tried to get things as compact as possible, to see what happens if most stuff fit into L1 cache. As I recall, I managed to get it about 10% faster, then gave up on it.
Also, I'm not familiar with IC design, it is the first netlist I'v seen in my life, so that might be a thing holding it back. It took many weeks to "almost understand" how the simulation works, based on the source codes.