tum-ei-eda / etiss

Extendable Translating Instruction Set Simulator
https://tum-ei-eda.github.io/etiss/
Other
29 stars 36 forks source link

Add architecture generated from CoreDSL 2 models #109

Closed wysiwyng closed 2 years ago

wysiwyng commented 2 years ago

This is a draft for a RV32IMACFD + Zicsr + Zifencei architecture model generated from CoreDSL 2 files at https://github.com/tum-ei-eda/etiss_arch_riscv.

The LR.W and SC.W instructions from the RV32A extension are implemented to pass the corresponding RISC-V test cases. They might still be unsuitable for an actual implementation.

In dhrystone, performance improvements of about 2x can be observed with this model.

The architecture is tested with the RISC-V test cases and this python tool to run them on ETISS.

Current compliance results:

TODO:

PhilippvK commented 2 years ago

I think it would be a good idea to also update our Encoding.h to the latest spec: https://github.com/riscv/riscv-opcodes/blob/master/encoding.h