I was just wondering the other evening how much work would be involved in modifying the Escape DLX simulator that Jonas et al. contributed a few years ago for RISC-V. https://github.com/jmaebe/ESCAPE
Has anybody come across https://bohr.wlu.ca/nznotinas/cp464/simulators/VSIM%20(2.0)%20CR.pdf ? It appears to be a multi-CPU emulator written using Delphi in the Win-32 era.
MarkMLl
A quite broad question here, so pls forgive that I can not answer in detail. I think the approach depends a bit on what you would like to get as a simulator
* something that could help estimate execution times, or
* a nifty WebUI enhanced tool with a lot of fancy bells & whistles attached
In general both - ESCAPE & VSIM - are quite old, so from my perspective their main advantage seems to be that they are Pascal-based. However CPU tech has advanced tremenduously and beefing one of the above up to handle RISC-V will be a major task, I am quite sure. From the little reading I did on both I would give you better chances on VSIM, as it seems to be prepared for multi-core designs already.
The alternative could be to translate existing top notch simulators to Pascal - e.g. SPIKE -
https://github.com/riscv/riscv-isa-sim which seems to be well maintained.
MathMan