riscv-software-src / riscv-isac

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Decoder plugin using encodings from riscv-opcodes repository

pawks opened this issue · comments

Summary

The riscv-opcodes repository enumerates the instruction encodings of RISCV and contains scripts to convert them to several formats. These can be used to automatically decode the instruction encodings with minimal effort. A python plugin (which implements the pluggy decoder plugin specification as defined here) can leverage the same to ease overheads for new extensions. A sample decode plugin can be found here.