upscale-project/sqed-generator

Comments on current version

Closed this issue · 0 comments

Hi Mario!

Thank you for your recent progress on this project!

I compiled some comments on the current version (commit 906274c)

instruction length parameter

  • make the instruction length a parameter in the format file RV32M-ridecore_format.txt. The RISC-V specification in general allows instructions to be longer than 32 bits. The instruction length can then be treated as a parameter in the generator scripts.

file constraint_generator.py

We wanted to avoid SystemVerilog as much as possible but we need to constrain the instructions to be only valid ones from the ISA. Yosys, which we are using with our model checker CoSA, can handle these constraints.

file modify_generator.py

file decoder_generator.py

file qed_generator.py