riscv-software-src / riscv-isac

BSD 3-Clause "New" or "Revised" License
31 stars 55 forks source link

Decoder plugin using libopcodes library. #25

Open pawks opened 2 years ago

pawks commented 2 years ago

Summary

The libopcodes library is generated as an aritifact of gcc build. The library supports API calls which decode a given instruction encoding. A python plugin(which implements the pluggy decoder plugin specification as defined here) can be interfaced with the C library using python bindings. This would greatly reduce developmental and maintenance overheads for new extensions. A sample decode plugin can be found here.

rgrupesh commented 2 years ago

Hello @pawks,

I would like to work on this issue. Any pointers to get started?